Forum Replies Created

Viewing 15 posts - 29,221 through 29,235 (of 49,552 total)

  • RE: Help with SQL SCRIPT Causing Deadlock

    MysteryJimbo (11/23/2010)


    Surely for this to deadlock there needs to be another process for it to deadlock with?

    Yup. Just as one hand can't clap, one session can't deadlock.

    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: Column Order in an Index

    Franky Leeuwerck (11/23/2010)


    Previous link can be found here :

    http://sqlserverpedia.com/wiki/Index_Selectivity_and_Column_Order

    The wiki article was adapted (with my permission) from my two blog posts on index column order, the one on equality 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: Column Order in an Index

    cengland0 (11/23/2010)


    Wilfred van Dijk (11/23/2010)


    aha, the never-ending question about multicolumn or single column indexes!

    Again, check Gail's excellent articles about indexes:

    http://sqlinthewild.co.za/index.php/2010/09/14/one-wide-index-or-multiple-narrow-indexes/

    Thanks for the link but I get "404 - File 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: Restore from 2008 R2 TRM to 2005 SP2 - is it possible?

    You can't set compatibility mode to 100 in SQL 2005. The highest is 90. 100 requires SQL Server 2008.

    If you meant something else, please be clear.

    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: Help with SQL SCRIPT Causing Deadlock

    What's the question?

    If it's deadlocking, we need to see what it's deadlocking with and on what resources.

    Enable traceflag 1222. That will write the output of the deadlock graph into the...

    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?

    Grant Fritchey (11/23/2010)


    I see how you consultants keep making money though. Seems like these shops are mushrooms. They're springing up all over the place.

    There are stories I could tell, but...

    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: Work around for SQL server performance issue

    Brandie Tarvin (11/23/2010)


    Only ever use Dynamic SQL when you absolutely have to because dynamic SQL can't cache any execution plans for re-use later, which is a performance hit (I hope...

    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: Work around for SQL server performance issue

    grahamc (11/23/2010)


    hence saying get a professional.

    Agreed. Often just a few days from someone who really knows their way around tuning procs can make all the difference. Plus there's the...

    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: MCTS 70-432

    pavan_srirangam (11/22/2010)


    If any one recently wrote and passed the exam please post the dump here .

    Dumps are cheating! They are actual questions copied from the exam and posted in violation...

    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: DBCC CHECKDB - System databases

    It's essential that the system databases (other than tempDB) be regularly checked. Otherwise how will you know if there's corruption? Finding corruption when master goes suspect is a really bad...

    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?

    Grant Fritchey (11/23/2010)


    I see how you consultants keep making money though.

    Yup, but a lot of the 'get it done now, we don't care' companies won't call in competent consultants...

    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 to add local system account to the perform volume maintenance tasks user rights to turn on instant file initialization

    Bumping your post after less than an hour is unnecessary. This is a forum, not a chat room. We're all volunteers here with our own work and problems.

    Be patient.

    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?

    Paul White NZ (11/23/2010)


    I would help, but am temporarily (I hope) blind having glanced at the stored procedure in question.

    Same here. Plus I neither have the time nor the inclination...

    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?

    Jeff Moden (11/22/2010)


    Hmmm... reminds me... why did I work 71 hours last week? :blink:

    I've been wondering much the same recently...

    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?

    Anyone up for a challenge?

    http://www.sqlservercentral.com/Forums/Topic1024140-360-1.aspx

    I suspect the developer who said those can't be optimised doesn't know the meaning of the word. Dynamic SQL and lots of NOLOCK to start with.

    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 - 29,221 through 29,235 (of 49,552 total)