Improvements to showplan

The output for the set showplan command has been improved as follows:

In the following example, there is an index named title_ix on the titles table:

select title_id, price
     from titles
     where title = "Computers and Privacy"

This is the pre-11.0 output from showplan:

STEP 1
 The type of query is SELECT.
 FROM TABLE
 titles
 Nested iteration
 Index : title_ix

This is the release 11.0 output from showplan:

QUERY PLAN FOR STATEMENT 1 (at line 1).
 
 
     STEP 1
         The type of query is SELECT.
 
         FROM TABLE
             titles
         Nested iteration.
         Index : title_ix
         Ascending scan.
         Positioning by key.
         Keys are:
             title
         Using I/O Size 2 Kbytes.
         With LRU Buffer Replacement Strategy.

All showplan messages are documented in Chapter 9, “Understanding Query Plans,” of the Performance and Tuning Guide.