BLOCKING & PERFORMANCE ISSUES IN SQL SERVER 2012

  • Hi ,

    Last week we increased RAM and processors. now ,In our environment we have 2 processors,6 cores and hyper threading present ,so a total of 24 processors (6*2*2) available with 48GB RAM. I gave 28gb for sql as max server memory. in event viewer after a day i got insufficient memory to run the query. There are lot of blockings so that application gets hanged and nothing is working fine. Could anyone suggest me in which aspect i should check the performance of sql.

    Now i have increased as 38 gb out of total of 48 gb for sql server.

    Server:sql server 2012 enterprise

    OS:Windows server 2012 standard

    In our applications we have long running threads with many joins ,but before there was no issues like blocking .....we face once we increased RAM and processors ...Need to resolve blockings and run apps fastly .

    Any one please help me !!!!

  • vishalsurya50 (6/11/2013)


    Hi ,

    Last week we increased RAM and processors. now ,In our environment we have 2 processors,6 cores and hyper threading present ,so a total of 24 processors (6*2*2) available with 48GB RAM. I gave 28gb for sql as max server memory. in event viewer after a day i got insufficient memory to run the query. There are lot of blockings so that application gets hanged and nothing is working fine. Could anyone suggest me in which aspect i should check the performance of sql.

    Now i have increased as 38 gb out of total of 48 gb for sql server.

    Server:sql server 2012 enterprise

    OS:Windows server 2012 standard

    In our applications we have long running threads with many joins ,but before there was no issues like blocking .....we face once we increased RAM and processors ...Need to resolve blockings and run apps fastly .

    Any one please help me !!!!

    1) If you want your system fixed NOW, hire a performance tuning consultant. To do anything else is to fail in your primary objective

    2) Did you also add in SSDs by any chance?

    3) There are MANY things that could be at play here. But I would start with FileIO stall analysis, wait stats analysis and sp_whoisactive

    4) Re-read #1 above!!!

    Best,
    Kevin G. Boles
    SQL Server Consultant
    SQL MVP 2007-2012
    TheSQLGuru on googles mail service

  • Inefficient queries + more CPUs = more blocking. Seen that more than once.

    Tune the queries, tune the indexes.

    http://www.simple-talk.com/sql/performance/finding-the-causes-of-poor-performance-in-sql-server,-part-1/

    http://www.simple-talk.com/sql/performance/finding-the-causes-of-poor-performance-in-sql-server,-part-2/

    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
  • Yeah, I'm with everyone else. Really sounds like query tuning needs to happen immediately. Sometimes throwing hardware at a problem doesn't make it better. In addition to Gail's articles, check out the books listed below.

    "The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
    - Theodore Roosevelt

    Author of:
    SQL Server Execution Plans
    SQL Server Query Performance Tuning

Viewing 4 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply