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 are the 3 types of schema?
What is the difference between a local and a global variable?
Define full outer join?
How to add a new column to an existing table with "alter table ... Add" in ms sql server?
Who is the owner of a schema in ms sql server?
Explain what is dbcc?
What is attribute relationships, why we need it? : sql server analysis services, ssas
Call by value and call by reference in procedure and function, with NOCOPY.
WHICH IS THE BEST INSTITUTE IN HYD FOR "ORACLE"?
Mention a few common trace flags used with sql server?
Can a database be shrunk to 0 bytes, if not, why?
What is the difference between having and where clause?
Oracle (3259)
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)