My Oracle Support Banner

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

Last updated on MAY 19, 2022

Applies to:

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


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.


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.