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 |
What is clustered vs nonclustered index?
What is the Difference beween sql server 2005 and sql server 2008
Define model database?
How to transfer a table from one schema to another?
How do we know if any query is retrieving a large amount of data or very little data?
What are the operating modes in which database mirroring runs?
How can we solve concurrency problems?
How to loop through the result set with @@fetch_status?
What authentication modes does sql server support?
How to provide default values to stored procedure parameters?
What is key set driven?
Which trace flags are enabled in sql server?