Sqlserver-dba.com

SQL Server Tuning Targets

SQL Server performance tuning has different approaches - such as Ratio-based analysis,Bottleneck analysis & Workload analysis. This section describes an efficient approach to SQL Server tuning  based on current system load. Once the "best" overall optimization is achieved, we drill-down into the specific cases of sub-optimal SQL, and change their execution plans with SQL Indexes.

Despite the complexity of SQL Server tuning , there are general guidelines that  SQL Server DBAs follow to improve the performance of their SQL Server system. The goals of SQL tuning are simple:

- Tune subqueries to eliminate redundancy
- Analyse optimal JOIN techniques
- Replace unnecessary large-table full-table scans with useful indexes.
- Analyse optimal index usage

These goals may seem simple, but  comprise 80 percent of SQL tuning. They do not require an indepth understanding of SQL Server internals.

If required, the SQL can be tuned regularly, but if the optimizer is not fed with the correct SQL statistics, the optimizer may not make the correct decisions.

Before tuning, it is important to ensure that statistics are available and that they are current.Even though you may have the Auto Update Statistics Property set at true , it will only kick in when changes are being made. A simple "sp_updatestats" will do the job.


Author: Jack Vamvas (http://www.sqlserver-dba.com)

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment


sqlserver-dba.com | SQL Server Performance Tuning | SQL Server DBA:Everything | FAQ | Contact