After DB upgrade from 12cR1 to 19c datapump schema import very slow
We refreshed schema on routine based from PROD --> non-PROD env.
Earlier datapump import while we're on 12cR1 (12.1.0.2), it was taking ~ 8 hours.
After upgrading to 19c (19.7.0) now schema refresh via datapump job taking ~18 hours !!
Based on datapump import log, I can see tables importing generally completed in ~2 hours but things slow down drastically in Indexes creation. Indexes creation along taking ~ 15 hours !!
I don't find any addm findings/recommendation during indexes creation.
I see mostly DIRECT PATH READ event during indexes creation.
No changes to any database parameters when I upgraded from 12c --> 19c.
I/O systems are good, getting < 10 ms response times.