My Oracle Support Banner

How to Create A SQL Plan Baseline From A Historical Execution Plan In The Automatic Workload Repository (AWR) [RDBMS Version 12.2 or Higher] (Doc ID 2885167.1)

Last updated on DECEMBER 13, 2023

Applies to:

Oracle Database - Enterprise Edition - Version and later
Oracle Database Cloud Exadata Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Information in this document applies to any platform.


The goal of the document is to provide the steps needed to create a SQL Plan Baseline from a historical execution which exists in the Automatic Workload Repository (AWR) using function DBMS_SPM.LOAD_PLANS_FROM_AWR.


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.