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 is the process of normalising?

757


Can you move the resources after pausing the node? : sql server database administration

775


Can we write a distributed query and get some data which is located on other server and oracle database?

956


What are the general features of sql server management studio? : sql server management studio

784


How to configure odbc dsn with different port numbers?

756






How do you check sql server is up and running?

697


What is the difference between Normalization and De-normalization?

785


Is mysql better than sql server?

736


How self join is different from outer join?

793


How to disable a login name in ms sql server?

752


Due to some maintenance being done, the sql server on a failover cluster needs to be brought down. How do you bring the sql server down?

1074


do you know how to configure db2 side of the application? : Sql server database administration

787


What do you understand by physical_only option in dbcc checkdb?

749


Explain what role entity and relationship play in an ER diagram.

789


Where in ms sql server is ’100’ equal to ‘0’?

800