How would you go about generating an EXPLAIN plan?
Answers were Sorted based on User's Feedback
Answer / daid kumar
The EXPLAIN PLAN statement displays execution plans chosen
by the Oracle optimizer for SELECT, UPDATE, INSERT, and
DELETE statements.
Run This Script To create Plan Table
$ORACLE_HOME/rdbms/admin/UTLXPLAN.SQL
Then Write like this
SQL> EXPLAIN PLAN FOR
SELECT name FROM emp;
Now to see O/P u can select * from "plan_table"
| Is This Answer Correct ? | 9 Yes | 1 No |
Answer / bharath
explain plan for select * from t1 where num_col = '1';
select * from table(dbms_xplan.display);
| Is This Answer Correct ? | 2 Yes | 1 No |
Hot backup procedure?
1)how to Take Backup in sql server 2005 from Flash Drive
What spfile/init.ora file parameter exists to force the CBO to make the execution path of a given statement use an index, even if the index scan may appear to be calculated as more costly?
What is dcl? : sql server DBA
If you are given access to a sql server, how do you find if the sql instance is a named instance or a default instance? : sql server DBA
What are the commands you'd issue to show the explain plan for "select * from dual"?
Is it possible to run 32 bit sql server 2000 on64bit windows platform.if how much memory is available to sql server?
As a part of your job, what are the DBCC commands that you commonly use for database maintenance?
When setting replication, can you have distributor on sql server 2005, publisher on sql server 2008? : sql server DBA
what is the differnce between process and thread ?
What is the difference between LMT & DLT?
how can you generate profile of pl/sql applications to identify performance bottlenecks?
Oracle (3253)
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)