Database Utilities (MOSC)

MOSC Banner

expdp followed by impdp sqlfile=<filename> does not show the statistics in the sqlfile

edited Nov 15, 2019 5:31PM in Database Utilities (MOSC) 2 commentsAnswered ✓

I figure I must be missing something simple. I have an 11g database on which I perform

expdp FULL=Y content=METADATA_ONLY

I then perform

impdp sqlfile=<filename>

The resulting sqlfile contains information on the database statistics.

When I do the exact same steps on a 12cR1 database, the sqlfile contains nothing under the section:

"--  new object type path: DATABASE_EXPORT/SCHEMA/TABLE/STATISTICS/TABLE_STATISTICS"

I've even done a full export without the METADATA_ONLY on the 12cR1 database and the sqlfile import still contains no statistics.

I've verified statistics are being created using the following query:

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