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 |
What are acid properties of transaction?
Which is better in performance - CONSTRAINT or TRIGGER over a column which restricts say an input of particular value in a column of a table?
Where are full-text indexes stored?
How to get a list of columns using the "sp_help" stored procedure in ms sql server?
What are the steps you should follow to start sql server in single-user mode?
How to retrieve error messages using odbc_errormsg()?
hi ..i am working as a sql dba.....now i want to learn more about t-sql..... is it possible to learn online.... plz refer any site ..thankq
What is recursion? Is it possible for a stored procedure to call itself or recursive stored procedure?
How to test odbc dsn connection settings?
Explain the benefits of user-defined functions?
Which are the important points to note when multilanguage data is stored in a table?
Please tell me some knowledge about Clustering and how to add clustering?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)