Oracle EXPLAIN PLAN FOR


The method described in this section applies to the Oracle database Release 9iR2 and later.

Alternatively you can use the explain functionality of your favourite IDE. However, for several reasons I prefer not to cover all those IDEs here:

  • There are quite some different IDEs available that support explain plans, I can’t cover all of them.

  • There are some aspects—especially the predicate information—that is probably not available in all IDEs.

  • Since Oracle release 9iR2 there is a convenient way to format the execution plan that works in all environments.

    There is, however, one nasty problem with that approach in connection to IDEs; if the IDE doesn’t use a monospaced font, the execution plan will not be formatted properly.

  • The execution plans shown in this book were formatted with the approach described in this section—so you don’t have different pictures.

Recent Questions at Ask.Use-The-Index-Luke.com

0
votes
1
answer
229
views

query regd the CBO decision

Apr 17 at 10:27 Hulda(suspended)
index-choice optimizer
0
votes
3
answers
2.0k
views

Examples for Function Based Indexes?

Mar 25 at 15:52 Castorp 1
function-based
0
votes
1
answer
610
views

Updating multiple rows using a subquery in SQL

Jan 08 at 09:52 Jan 26
subquery update sql