My Oracle Support Banner

How to Create SQL Tuning Sets from Imported AWR Snapshots that have a Different DBID on a Cloned Database (Doc ID 1995352.1)

Last updated on FEBRUARY 03, 2019

Applies to:

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

Goal

After cloning a  database with RMAN, the DBID of the new database is changed, but the AWR contains the snapshots of the old DBID.

When creating Sql Tuning Sets for tuning purposes in the new database from the AWR snapshots, one cannot use the imported or old snapshots with the different DBID than the current database. There is no option to specify DBID with DBMS_SQLTUNE package.

 

Solution

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
Goal
Solution
References


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