Link to home
Start Free TrialLog in
Avatar of jcob_l
jcob_l

asked on

explain plan

Here which sql query is planned
I am mean analyzed Can you specifiy?


Explain plan for Query :

alter session set current_schema=<schema_name>;

select * from table(dbms_xplan.display);

select * from table(dbms_xplan.display_cursor);

select /*+ gather_plan_statistics */ count(*) from hist_test where id1>1000000;

select * from table(dbms_xplan.display_cursor(null,null,'ALLSTATS LAST'));

select distinct sql_id, PLAN_HASH_VALUE,TIMESTAMP from dba_hist_sql_plan where sql_id='&sql_id';
Avatar of slightwv (䄆 Netminder)
slightwv (䄆 Netminder)

I agree.  This looks like an exam question.

Please provide more information about the specific question you are asking.
ASKER CERTIFIED SOLUTION
Avatar of David VanZandt
David VanZandt
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of jcob_l

ASKER

fine