My Oracle Support Banner

ORA-39142 ORA-39000 when importing AWR Performance Data from 11.2 to earlier release (Doc ID 1359703.1)

Last updated on JANUARY 30, 2022

Applies to:

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

Symptoms

Transfer of Automatic Workload Repository snapshots
It is possible for administrators to transfer Automatic Workload Repository snapshots to other workload repositories for offline analysis. This is accomplished by the administrator specifying a snapshot range and extracting the AWR data to a Data Pump Dumpfile.

The dumpfile is then loaded into a user-specified staging schema in the target repository. To complete the transfer, the data is copied from the staging schema into the target repository's SYS schema. The data in the SYS schema is then used as the source for the ADDM analysis.


Steps to execute

  • Extract AWR snapshot data for a range of snapshots into a Data Pump dump file.
@?/rdbms/admin/awrextr.sql
  • Load AWR snapshot data from a Data Pump dumpfile into target database
@?/rdbms/admin/awrload


ISSUE

  • The following errors are reported when executing awrload.sql to  import AWR snapshots from 11.2. into any earlier release (for example: 10.2/11.1)

Changes

AWR data export:

@?/rdbms/admin/awrextr.sql

AWR data import:

@?/rdbms/admin/awrload.sql

Cause

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
Symptoms
Changes
Cause
Solution


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