SQL permformance

Soldato
Joined
3 Jan 2003
Posts
3,718
Can anyone recommend a tool for alerting/monitor me regarding SQL performance issues and bottlenecks?
thinking of trying Database Performance Analyzer for SQL Server from Solarwinds.

The SQL server isn't memory or CPU bound and the ISCSI disks to the SAN are reporting less than 10 iops..

cheers
 
We use Idera Diagnostic Manager at work which shows millisecond delays etc and you can get a free trial. There are also many SQL DMV's that will show you disk performance which google will help you find. 10 iops is a serious issue and I'd ask your networking/SAN guys for assistance asap. You can also run the Microsoft SQL stress testing tool which simulates disk activity https://support.microsoft.com/en-us/kb/231619
Good luck.
 
We use Idera Diagnostic Manager at work which shows millisecond delays etc and you can get a free trial. There are also many SQL DMV's that will show you disk performance which google will help you find. 10 iops is a serious issue and I'd ask your networking/SAN guys for assistance asap. You can also run the Microsoft SQL stress testing tool which simulates disk activity https://support.microsoft.com/en-us/kb/231619
Good luck.

I mean the database is only using 10 iops.. the SAN is running fine ;-)
 
To do it on the cheap setup 'Performance Monitoring' with event triggers and monitor the following:

1 Page life expectancy (PLE) < 300 (or 5 minutes) suggests lack of buffer memory, so will be hammering the storage. I like to see >1000 on my systems.

2 SQLServer: Buffer Manager: Buffer cache hit ratio, you may have to export the data from the 'Performance Monitoring' to do the calculation. If get <90% then you need more buffer memory.

In a lot of cases poorly configured SQL instances or poorly written SQL code is a major cause of poor performance.
'the SAN are reporting less than 10 iops' could suggest that SQL is stalling, waiting for the SQL scheduler to make available CPU threads. Depending on the CPU cores you have, you could perhaps try setting the SQL instances 'Max Degree of parallelism' to 50% of the cores or less. This stops one SQL task hogging all the CPU threads. Some SQL tasks can take many milliseconds if not seconds to run and then appear as low Disk I/O issue!

Also set the SQL instance Max memory to 'System Memory -4Gbytes' otherwise SQL will grab and keep every bit of memory it can get and cause the OS to start paging.
 
Sorry I thought you were saying you was getting poor SAN performance.
How big is your database/s compared to memory and ha sit just started?
Also, which version of SQL server and OS?
 
Back
Top Bottom