What are the steps you will take to improve performance of
a poor performing query?
Answer / swapna
No indexes, table scans, missing or out of date statistics,
blocking, excess recompilations of stored procedures,
procedures and triggers without SET NOCOUNT ON, poorly
written query with unnecessarily complicated joins, too
much normalization, excess usage of cursors and temporary
tables.
Some of the tools/ways that help you troubleshooting
performance problems are: SET SHOWPLAN_ALL ON, SET
SHOWPLAN_TEXT ON, SET STATISTICS IO ON, SQL Server
Profiler, Windows NT /2000 Performance monitor, Graphical
execution plan in Query Analyzer.
Is This Answer Correct ? | 13 Yes | 1 No |
Explain “@@rowcount” and “@@error” in sql server?
Which institute is best for SQL Server 2005 Training?
What is raid, and how it can influence database performance?
How can you check the version of sql server?
What are the different types of collation sensitivity?
What are different types of schemas?
what is a schema in sql server 2005? Explain how to create a new schema in a database? : Sql server database administration
What are the main differences between #temp tables and @table variables and which one is preferred?
What is function of CUBE ?
What is data block and how to define data block size?
What is the usage of the sign function?
What are the different ways of moving data/databases between servers and databases in SQL Server?