What is Query Execution Plan? How does it help optimize or
tune a database driven application?

Answers were Sorted based on User's Feedback



What is Query Execution Plan? How does it help optimize or tune a database driven application?..

Answer / arthanari r

When hte SQL statement is executed Oracle designs an
execution plan for it. This execution plan is basically a
step by step instruction for how the statement must be
executed. That is, the order in which tables are read, if
indexes are used, which join methods are used to join
tables and so on. The execution plan for an SQL statement
can be viewed with the explain plan statement. The query
execution plan is elaborated during an SQL statement's
parse phase.

Is This Answer Correct ?    7 Yes 0 No

What is Query Execution Plan? How does it help optimize or tune a database driven application?..

Answer / racing

When the SQL statement is executed Oracle designs an
execution plan for it. This execution plan is basically a
step by step instruction for how the statement must be
executed. That is, the order in which tables are read, if
indexes are used, which join methods are used to join
tables and so on. The execution plan for an SQL statement
can be viewed with the explain plan statement. The query
execution plan is elaborated during an SQL statement's
parse phase.

Is This Answer Correct ?    3 Yes 1 No

Post New Answer

More SQL Server Interview Questions

How to set the current database in ms sql server?

0 Answers  


Mention the differences between substr and charindex in sql server.

0 Answers  


I have a table Events Events containing cardno,time,id,name- -each id has a cardno my requirement is every day each employee swipe the card several times i want to calculate first and last time of each card the output should be name 1 2 6 7 in out in out holiday holiday xxx 09:30 06:30 09:40 06:45 where 1,2...... are dates for example january 1,2, etc. 6 and 7 are saturday and sunday how it is posssible

0 Answers  


I Have Employee table having column name as ID,SALARY how to get second max salary from employee table with id ex ID SALARY 1 20000 7 37000 2 5000

17 Answers   HCL, IBM,


Explain primary key, foreign key and unique key?

0 Answers  






What is scrollable cursor?

0 Answers  


What are the differences between UNION and JOINS?

3 Answers   CarrizalSoft Technologies,


Can we join two tables without primary key?

0 Answers  


what are statistics, under what circumstances they go out of date, how do you update them? : Sql server database administration

0 Answers  


Tell me what is the order in which the sql query is executed?

0 Answers  


How does stuff differ from the replace function?

0 Answers  


Name 3 ways to get an accurate count of the number of records in a table?

0 Answers  


Categories