This document summarizes tools that can be used to analyze query performance in SQL Server. It discusses the query optimizer, SQL Trace, SQL Server Profiler, Extended Events, SET session options, dynamic management objects, and execution plans. The query optimizer uses cost-based optimization and cardinality estimation. SQL Trace and Profiler are easy to use but produce overhead. Extended Events provide a more efficient alternative. Dynamic management objects and SET options provide insight into query execution. Execution plans show the optimizer's estimated plan and the actual plan used.