How do you check the performance of a query and how do you
optimize it?

Answer Posted / guest

WE CAN EVALUATE THE QUERY PERFORMANCE BY RUNNING THE
EXECUTION PLAN OF THE QUERY.IF THE QUERY NEEDS ITS
PERFORMANCE TO BE OPTIMISED THEN WE WILL BE CREATE A VIEW
FOR THE TABLE USING 'WITH SCHEMA BINDING ' OPTION ,THEN
SUBSEQUENTLY CREATE A MATERIALISED VIEW USING INDEX
DEFINITION.FINALLY CHECK FOR THE EXECUTION PLAN (THAT
PREVENTS THE EXPENSE OF I/O READS).

Is This Answer Correct ?    6 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are key, name and value columns of an attribute? : sql server analysis services, ssas

562


How to select all columns of all rows from a table with a select statement in ms sql server?

566


What are the options which must be set to allow the usage of optimistic models?

505


How do users use Report Builder with SQL Server data sources?

119


Explain differentiate between a having clause and a where clause?

507






What is the need for indexing?

490


How do you set a trace flag in sql server?

542


How many types of dimensions are there and what are they? : sql server analysis services, ssas

557


in the physical file layout, where should the transaction log be stored in relation to the data file? : Sql server administration

540


Explain about Views?

597


Explain about sql server login?

585


what is raid and what are different types of raid configurations? : Sql server database administration

535


How can I know what locks are running on which resource?

492


How to declare and use cursor variables?

576


What is database isolation in sql server? : sql server database administration

562