How to Transfer Histograms or Extended Column Statistics between Databases

(Doc ID 2340023.1)

Last updated on DECEMBER 20, 2017

Applies to:

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

Goal

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>.

 

Solution

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