Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: is index better option here
Robert Klemme wrote:
> On 13.12.2006 09:14, peter wrote:
>> before index output of explain is >> >> SQL> @?\rdbms\admin\utlxplp.sql >> >> PLAN_TABLE_OUTPUT >> -------------------------------------------------------------------- >> >> -------------------------------------------------------------------- >> | Id | Operation | Name | Rows | Bytes | Cost | >> -------------------------------------------------------------------- >> | 0 | SELECT STATEMENT | | 1 | 40 | 5 | >> |* 1 | TABLE ACCESS FULL | N | 1 | 40 | 5 | >> |* 2 | TABLE ACCESS FULL | N | 1 | 15 | 5 | >> |* 3 | TABLE ACCESS FULL | N | 1 | 15 | 5 | >> -------------------------------------------------------------------- >> ******************************************************************** >> >> after index output of explain is >> >> SQL> @?\rdbms\admin\utlxplp.sql >> >> PLAN_TABLE_OUTPUT >> ---------------------------------------------------------------------------- >> >> >> ---------------------------------------------------------------------------- >> >> | Id | Operation | Name | Rows | Bytes | >> Cost | >> ---------------------------------------------------------------------------- >> >> | 0 | SELECT STATEMENT | | 1 | 40 | >> 5 | >> |* 1 | TABLE ACCESS FULL | N | 1 | 40 | >> 5 | >> |* 2 | TABLE ACCESS BY INDEX ROWID| N | 1 | 15 | >> 27 | >> |* 3 | INDEX RANGE SCAN | IND_N_CC | 144 | | >> 1 | >> |* 4 | TABLE ACCESS BY INDEX ROWID| N | 1 | 15 | >> 27 | >> |* 5 | INDEX RANGE SCAN | IND_N_CC | 144 | | >> 1 | >> ---------------------------------------------------------------------------- >> >>
utlxplp.sql contains the following in 10gR2:
select * from table(dbms_xplan.display());
So, it would seem, this is an older version of Oracle.
-- Daniel A. Morgan University of Washington damorgan_at_x.washington.edu (replace x with u to respond) Puget Sound Oracle Users Group www.psoug.orgReceived on Wed Dec 13 2006 - 11:22:39 CST