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 AUGUST 25, 2017

Applies to:

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


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.



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