How to Determine When an Execution Plan was Produced Using DBA_HIST_SQLPLAN (Doc ID 879677.1)

Last updated on MARCH 25, 2015

Applies to:

Oracle Database - Enterprise Edition - Version 10.1.0.2 to 11.2.0.3 [Release 10.1 to 11.2]
Information in this document applies to any platform.
RDBMS 10.1.0.2 TO 11.1.0.7.0


Goal

The Goal of this document is to provide reader a way to find out when a particular execution plan for a particular sql was produced. This can be accomplished by querying the DBA_HIST_SQLSTAT view. To view the plan it must be available in the AWR repository.

Identifying when a particular execution was reproduced may help in troubleshooting why an execution plan changed suddenly.

Solution

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms