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



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

Answer / 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

More SQL Server Interview Questions

What is a sql join?

0 Answers  


What is b tree index?

0 Answers  


What are triggers in ms sql server?

0 Answers  


what type of indexes physically sort data?

3 Answers  


Which feature in sql server 2008 has surprised you? You can name just one. : sql server database administration

0 Answers  






Do comments need to go in a special place in sql server 2005?

0 Answers  


Explain the steps needed to create a scheduled job?

0 Answers  


What is dbcc?

0 Answers  


What is resource governor?

0 Answers  


How to manipulate data from one table to another table ?

0 Answers   MCN Solutions,


Differentiate between ms sql server reporting services vs crystal reports?

0 Answers  


How to select an exiting database using mssql_select_db()?

0 Answers  


Categories