sql server execution plans
TRANSCRIPT
SQL Server 2005 – Reading and Interpreting Query PlansSQL Server 2005 – Reading and Interpreting Query PlansFlorin CardaşimLead developerRomSoft, IAŞI, http://www.rms.ro
Florin CardaşimLead developerRomSoft, IAŞI, http://www.rms.ro
AgendaAgenda
• Graphic, Xml and Text query plans• One-table SELECT • Table Join SELECT• INSERT, UPDATE, DELETE
• Graphic, Xml and Text query plans• One-table SELECT • Table Join SELECT• INSERT, UPDATE, DELETE
http://en.wikipedia.org/wiki/Microsoft_SQL_Server
Sql Server ArchitectureSql Server Architecture
DemoDemo
The tools: Management Studio Server Profiler Tuning Advisor
Execution plans representations: Text (SHOWPLAN_ALL, SHOWPLAN_TEXT,
STATISTICS PROFILE) XML (SHOWPLAN_XML, STATISTICS XML) Graphical
The tools: Management Studio Server Profiler Tuning Advisor
Execution plans representations: Text (SHOWPLAN_ALL, SHOWPLAN_TEXT,
STATISTICS PROFILE) XML (SHOWPLAN_XML, STATISTICS XML) Graphical
Clustered index: stores the data along with the lookup values of the index and sorts the data physically; implemented as B-tree(balanced)
Non-clustered index: sorts the columns included in the index, but it doesn’t sorts the data
Q&AQ&A
Thank you!Thank you!
Florin CardaşimLead developerRomSoft, IAŞI, http://www.rms.ro
Florin CardaşimLead developerRomSoft, IAŞI, http://www.rms.ro