Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The color-coded Index Analysis feature highlights missing indexes as well as shows which indexes are used and which are not used in the default execution path. The Index Analysis feature highlights issues where the database optimizer might not be using the preferred indexes. SQL Query Tuner also lists indexes on the tables that do not have fields in the WHERE clause helping the designer to see if adding an additional predicate in the WHERE clause might make use of an existing index.

Image Modified 

The layout of the Analysis tab shows the SQL text and Visual SQL Tuning (VST) diagram on the top and the indexes on the tables in the query below. 

...

  1. Statement selector, if there are multiple statements in the tuning set. Here you can select the statement and the generated case you want to analyze.
  2. Statement text for selected statement.
  3. Graphical diagram of the SQL statement.
  4. Index analysis, statistics, and settings relating to the SQL statement and referenced elements.
  5. Description of the selected index, including the reasoning behind SQL Query Tuner recommendations.


Info

Tabs are platform-specific. For example, against Oracle data sources, Table Statistics, Column Statistics And Histograms, and Outlines tabs are available. For more information, see Using Platform-Specific Features

Info

The text, diagram, and analysis sections can be resized or expanded to take up the whole page. 

The Analysis tab suggests missing indexes, indicates which indexes are used in the execution path and lists all indexes that exist on all the tables in the query. Indexes on the table are listed on the Analysis tab and color coded as follows: 

Text ColorInterpretation

Image Modified

Index is used in the query 

Image Modified

Index is usable but not used in the current execution path.

Image Modified

This index is missing. SQL Query Tuner recommends that you create this index.

Image Modified

This index exists on the table but not usable in this query as it is written. 

In the Collect and Create Indexes table, orange-highlighted entries indicate missing indexes that SQL Query Tuner recommends be created to improve performance. Clicking on that index, displays text to the right outlining the rationale behind this recommendation. 

For more information on using the Analysis tab, see Using the Analysis Tab.tab.



Scroll Ignore
scroll-pdftrue
scroll-officetrue
scroll-chmtrue
scroll-docbooktrue
scroll-eclipsehelptrue
scroll-epubtrue
scroll-htmltrue
Newtabfooter
aliasIDERA
urlhttp://www.idera.com
 | 
Newtabfooter
aliasProducts
urlhttps://www.idera.com/productssolutions/sqlserver
 
Newtabfooter
aliasPurchase
urlhttps://www.idera.com/buynow/onlinestore
 | 
Newtabfooter
aliasSupport
urlhttps://idera.secure.force.com/
 | 
Newtabfooter
aliasCommunity
urlhttp://community.idera.com
 
|
 
Newtabfooter
aliasResources
urlhttp://www.idera.com/resourcecentral
 | 
Newtabfooter
aliasAbout Us
urlhttp://www.idera.com/about/aboutus
 
Newtabfooter
aliasLegal
urlhttps://www.idera.com/legal/termsofuse