How to Transfer Statistics from one Database to Another
(Doc ID 333742.1)
Last updated on MARCH 03, 2022
Applies to:Oracle Database - Enterprise Edition - Version 22.214.171.124 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Information in this document applies to any platform.
DBAs and Support Engineers.
This document describes the steps required to transfer the table/index statistics from one database to another. Discussion will cover how to accomplish this via table level, schema level, and database level.
To provide Oracle Support Services with statistics for debugging, please refer to the following document:
<Document 242489.1> Transferring Optimizer Statistics to Support
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
|1. Create the STATS table|
|2. Export the statistics to the STATS table|
|3. Export the STATS table using export(exp) or datapump(expdp)|
|4. Transfer the dump file to the destination database|
|5. Import the STATS table to the destination database|
|6. Import the statistics into the data dictionary|
|7. Changing the schema name|
|8. Upgrading statistics table|