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 |
Why would you use sql agent? : sql server DBA
How would you configure your networking files to connect to a database by the name of DSS which resides in domain icallinc.com?
how can you find out if a table can be redefined?
Give the reasoning behind using an index.
Which dictionary tables and/or views would you look at to diagnose a locking issue?
what are the differences of where and if in SAS?
wat is global index and local indes
Datapump backup steps?
what is the last version,the release date of that version and fix pack of ibm db2 udb?
Why does Oracle not permit the use of PCTUSED with indexes?
How will u copy the objects of one schema to another schema in datapump & export/import?
Is it possible to update the multiple field values in a single query? If possible then write the actual query.