SQL Performance (MOSC)

MOSC Banner

How to restore 11g exported statistics to upgraded 12c database

edited Jul 4, 2017 5:04AM in SQL Performance (MOSC) 1 commentAnswered

After upgrading some 11g databases to 12.1.0.2 (12c), we have found the performance of some of the queries is bad and we suspect something has happened to the table statistics to make the query plans go awry, so we would like to export and expdp the statistics for the next database to be upgraded and then restore that exported file after the database is upgraded.

I have found these instructions which lead up to the restoring of the 11g statistics.

Your attention and helpful advice are appreciated.

Extracting/Backing
up Stats in 11g – and restoring after 12c Upgrade

Extract/Backup
the statistics

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center