This document is a presentation from Microsoft that discusses techniques for analyzing and improving query performance in SQL Server. It provides tips on identifying slow queries, analyzing execution plans, ensuring proper indexing, and using tools like SQL Server Profiler and dynamic management views. The presentation also covers non-sargable predicates, residual predicate pushdown, live query statistics, and ways to enhance query plan analysis through side-by-side comparisons.
8. Advisor can also recommend the creation of necessary statistics.
6. Are there any data or index hot spots? If you have a large volume of data, do you need to partition it?
Data manageability is the main benefit of partitioning, but if your tables and indexes on them are partitioned
similarly, partitioning can also improve query performance.
Consider using disk striping. Disk striping can be implemented by using RAID (redundant array of independent
disks) level 0, where data is distributed across multiple disk drives.
7. Is the query optimizer provided with the best opportunity to optimize a complex query?
Simplify queries and allow the QO to do its job more efficiently. Perhaps storing intermediate results in temporary
tables that are later on joined in a statement that returns the expected results might produce simpler and more
efficient plans.
9/15/2016 3:00 PM
7