SQL Analyzer tools&Database MaintenanceHans Schellingerhoudt16 februari 2011Presentation is createdforNspyre Technologie Group .Net
ProgramSQL Query Analyzer
Introduction
Execution plan
Column Statistics
Analyzer
Query tuning
Optimization
User Statistics
Demo
Other analyzer tools
Introduction Profiler
Tuning advisor
Demo
Database Maintenance
Introduction
Maintenance tasks
Demo
Questions2
SQL Query Analyzer3
IntroductionIntroduction “Query Analyzer”SQL Query Analyzer no longer exist as single “tool” (since SQL Server 2005/2008).
Integrated in Management Studio.
Visualizes execution plan / statistics information
A query execution plan outlines how the SQL Server query optimizer actually ran (or will run).
An execution plan, simply put, is the result of the query optimizer's attempt to calculate the most efficient way to imple­ment the request represented by the T-SQL query you sub­mitted.
You can use the execution plan to identify the exact piece of SQL code that is causing the problem4
Execution planFacts about the SQL Query AnalyzerSQL Query Analyzer has number of steps, one of them is the query optimizer.
Optimizer uses the statistics to calculate the cost-based plan, the optimal way to execute the query. It calculates a number of plans.
Statistics exists for relevant columns and indexes.
Estimated execution plan is the output of the optimizer.
Actual execution plan is the output of the actual query execution

Sql query analyzer & maintenance