My Oracle Support Banner

How to Transfer Histograms or Extended Column Statistics between Databases (Doc ID 2340023.1)

Last updated on NOVEMBER 04, 2019

Applies to:

Oracle Database - Enterprise Edition - Version and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.


This document provides SQL scripts with which you may transfer histograms or extended column statistics from one database to another. These items may have been generated over a period of time during testing on the source database and may improve performance, when transferred to a target database with similar tables and data.

The transfer of SQL plan directives may also be helpful.  This topic is covered in <Note 2064227.1>.



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.