Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

BLOCKING & PERFORMANCE ISSUES IN SQL SERVER 2012 Expand / Collapse
Author
Message
Posted Tuesday, June 11, 2013 1:54 PM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Tuesday, October 21, 2014 6:58 AM
Points: 26, Visits: 513

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 !!!!
Post #1462364
Posted Tuesday, June 11, 2013 2:49 PM


SSCarpal Tunnel

SSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal Tunnel

Group: General Forum Members
Last Login: Yesterday @ 5:46 PM
Points: 4,410, Visits: 6,283
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 at GMail
Post #1462381
Posted Tuesday, June 11, 2013 4:12 PM


SSC-Forever

SSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-Forever

Group: General Forum Members
Last Login: Yesterday @ 6:05 AM
Points: 40,258, Visits: 36,681
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 2008, MVP
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

Post #1462412
Posted Friday, June 14, 2013 2:41 AM


SSChampion

SSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampionSSChampion

Group: General Forum Members
Last Login: Today @ 5:48 AM
Points: 13,925, Visits: 28,319
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
The Scary DBA
Author of: SQL Server Query Performance Tuning
SQL Server 2012 Query Performance Tuning
SQL Server 2008 Query Performance Tuning Distilled
and
SQL Server Execution Plans

Product Evangelist for Red Gate Software
Post #1463426
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse