My Oracle Support Banner

How to Retrieve the Outline Data from a Stored Execution Plan (Doc ID 736529.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle Database - Enterprise Edition - Version and later
Information in this document applies to any platform.


How  to retrieve the stored plan from a past execution that can be used as Outline Data f.

DBA_HIST_SQL_PLAN and V$SQL_PLAN store the Optimizer OutLine Data in a CLOB-column (OTHER_XML).
The below script extracts the information from the column OTHER_XML.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.