Forum Replies Created

Viewing 15 posts - 8,611 through 8,625 (of 49,552 total)

  • RE: Job fails on first Wednesday of every month

    What statement does it hang on?

    What does that statement do?

    If you run that statement separately, what happens?

    Is it waiting for a file?

    What are the wait types involved?

    What state is that...

    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: Are the posted questions getting worse?

    Oooh, another case for the crystal ball. Or maybe the magic 8-ball...

    http://www.sqlservercentral.com/Forums/Topic1586405-2799-1.aspx

    Magic 8-ball says "unknown"

    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: joining 'sys.dm_exec_query_stats' with other system tables.

    GilaMonster (6/26/2014)


    Ad-hoc queries have neither an object ID or database ID associated with them.

    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: joining 'sys.dm_exec_query_stats' with other system tables.

    cross apply that DMV to sys.dm_exec_sql_text, that DMV has the objectID and database (for procedures), you can join that to sys.objects/sys.procedures.

    Ad-hoc queries have neither an object ID or database ID...

    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: Best way to copy a database to another instance daily

    Backup, copy, restore can work. You can restore as a different name then swap the old and new databases very quickly.

    Log shipping will result in a read-only database at...

    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: Need help on SQL Query

    Please post table definitions, easily usable sample data and expected results, as per http://www.sqlservercentral.com/articles/Best+Practices/61537/

    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: Best forum post ever

    Evil Kraig F (6/25/2014)


    I can't seem to find my favorite image of a crystal ball with the matrix code running down through it, otherwise I'd throw it in.

    If you can...

    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: noncluster index and cluster index

    Take a read through these:

    http://www.sqlservercentral.com/articles/Indexing/68439/

    http://www.sqlservercentral.com/articles/Indexing/68563/

    http://www.sqlservercentral.com/articles/Indexing/68636/

    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: Best forum post ever

    Koen Verbeeck (6/25/2014)


    Sarah Wagner (6/25/2014)


    Thank you Craig Farrell for making my afternoon with "I left my crystal ball in my other pants."

    To be honest, Craig stole it from me when...

    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: Are the posted questions getting worse?

    jcrawf02 (6/25/2014)


    Ed Wagner (6/25/2014)


    Yeah, really. When it gets out of the shop, I'd like to be added to the rotation. I'll even volunteer do the testing to make...

    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: Determine if certain user accessed db/SQL server in the past

    You need either a time machine or some existing, custom auditing for logins to have been in place for a year.

    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: Profiler Trace - 'blocked process threshold'

    GilaMonster (6/25/2014)


    The blocked process threshold is not going to catch deadlocks.

    So, which are you trying to do? Catch long-lasting blocking scenarios (for which the blocked process report will work)...

    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: SQL Server 2008 Ent R2 64bit will not use all available memory

    Please post new questions in a new thread. Thank 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: Profiler Trace - 'blocked process threshold'

    Selects don't block selects, so the queries you ran shouldn't have triggered a blocked process report, they wouldn't have blocked each other.

    What are you trying to do, detect deadlocks 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: batch requests/sec and Compilations/sec

    PearlJammer1 (6/25/2014)


    Would you say they are high given the numbers I mentioned ?

    You're the only one who can say if they're high, because 'high' is a sustained value over what's...

    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 - 8,611 through 8,625 (of 49,552 total)