Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How would you go about generating an EXPLAIN plan?

Answers were Sorted based on User's Feedback



How would you go about generating an EXPLAIN plan?..

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

How would you go about generating an EXPLAIN plan?..

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

Post New Answer

More DB Administration Interview Questions

Give the two types of tables involved in producing a star schema and the type of data theyhold.

2 Answers  


WHEN DOWN TIME WHAT CAN U DO?

1 Answers   TCS,


internal architecture

0 Answers   CSC,


What are the different ways you can create databases in sql server? : sql server DBA

0 Answers  


Due to some maintenance being done, the sql server on a failover cluster needs to be brought down. How do you bring the sql server down? : sql server DBA

0 Answers  


How do you tell what your machine name is and what is its IP address?

4 Answers  


What are the ways tablespaces can be managed and how do they differ?

2 Answers   IBM,


who owns the operating system files created by the utl_file package?

0 Answers   Oracle,


How many memory layers are in the shared pool?

3 Answers  


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

0 Answers  


What is the default fill factor value? : sql server DBA

0 Answers  


What are the commands used in dcl? : sql server DBA

0 Answers  


Categories