Query Analysis
The first step in query optimization is to analyze each table in the query to identify all search arguments (SARGs), OR
clauses, and join clauses. The SARGs, OR
clauses, and join clauses are used in the second step, index selection, to select useful indexes to satisfy a query.
Get Microsoft® SQL Server 2008 R2 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.