question

yonaeli2004 avatar image
yonaeli2004 asked

where to tune my SQL server

My Sql server 2012 performance is very slow . The CPU usage is 10 to 20%. PageIolach_Sh is the top wait type. Io latency is not bad. Do you have any idea where to tune my server? Thank you
performance-tuning
1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

rvsc49 avatar image rvsc49 commented ·
What is running in Sql Server when performance is very slow?
0 Likes 0 ·

1 Answer

·
Kev Riley avatar image
Kev Riley answered
First of all define "My Sql server 2012 performance is very slow" - is it a particular query or bunch of queries that are "slow" - if so - look at the execution plans to see what is taking the time. If the whole server is "slow" - i..e at the Windows level, then is it physical or virtual? If virtual what else is on the host? What power settings do you have in the OS and in BIOS - balanced or high performance? Looking at the top wait type in isolation can be confusing - there will always be a top one - has this changed? Increased? Typically PAGEIOLATCH_SH indicates that SQL is waiting on IO, but that doesn't mean the IO performance is bad, it might be that every table is accessed via a table scan instead of index seeks? Read Paul Randal's article on troubleshooting this here : https://sqlperformance.com/2014/06/io-subsystem/knee-jerk-waits-pageiolatch-sh There's lots of directions to take this, so try and focus on what you *know*
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.