Forum Replies Created

Viewing 15 posts - 17,431 through 17,445 (of 49,552 total)

  • RE: Synchronous vs Asynchronous backup

    Depends whether you use one job with multiple steps or multiple jobs.

    A single job with multiple steps will be synchronous, each step starts when the previous one ends

    Multiple jobs are...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Correct size of Tempdb

    pooyan_pdm (7/24/2012)


    PFS pages: ('2:1:1','2:1:8089',... for PFS pages it repeats evey 8088 pages )

    GAM pages ('2:1:2','2:1:511234',... for GAM it repeats every 511232 pages for every 4 GB of tempdb...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Timeout error

    Daxesh Patel (7/24/2012)


    Looks like the login account does not have enough permissions (probably "inserts into some table" in trigger).

    Where do you see a permissions related error?

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Timeout error

    What does the login trigger do?

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: strange schema blockings

    The create table is the cause. That takes schema mod locks and those block absolutely everything.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Modifying Column Size

    Yup, add a new nullable column, update in small batches running log backups between the batches to prevent the log from blowing out (that's probably what used all the space).

    Or...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: model database stuck on Restore

    gkuiper (7/24/2012)


    I deleted my Maintenance Plan and only selected the databases that I created and ignore Master, and model for the time being.

    If that's a backup maint plan, you should...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Data File Sizes - Best Practice?

    SQLCrazyCertified (7/23/2012)


    Basically as Jayanath mentioned, the more secondary files the better performance you get. Let me know your thoughts, if you disagree.

    I would disagree.

    It's far from as simple...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: model database stuck on Restore

    How this happened: Someone ran BACKUP LOG model WITH NORECOVERY

    You should see some evidence of this in the log. Find whoever was messing with model and have a stern word...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: how to find a hostname[who runs the query] ??

    There are no DMVs, no logs that will show you who ran a query or where it as run from.

    The query that you posted earlier is correct if what you...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: model database stuck on Restore

    DO NOT restart SQL!

    Look in the SQL error log. Sounds like someone's been fiddling with things they don't understand. Look for any and all messages relating to model.

    p.s. A maintenance...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: model database stuck on Restore

    What exactly happened? (maintenance plans can't restore model)

    What is the exact state of model?

    What is the exact state of the sQL instance?

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: how to find a hostname[who runs the query] ??

    What are you trying to find out? Who ran a query 2 weeks ago? All the people who have run a particular query in the last month and a half?

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: how to find a hostname[who runs the query] ??

    If the query is still running you can join to sys.dm_exec_requests and sys.dm_exec_sessions as Anthony suggests (thought you won't get accurate results). If the query has finished then there is...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Correct size of Tempdb

    No correct size other than the size that your applications require.

    Files per core, lots of contrary information. I like to start at either 1/4 or 1/2 the number of cores...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 15 posts - 17,431 through 17,445 (of 49,552 total)