impdp stuck on index import
-
07-10-2020 - |
Вопрос
impdp import is stuck on:
Processing object type SCHEMA_EXPORT/TABLE/INDEX/FUNCTIONAL_INDEX/INDEX
How can you debug this?
Решение
During the impdp process, it doesn't import indexes, in fact it runs number of CREATE INDEX
statements.
There could be various reasons of slow index creations such as inefficient PGA memory allocation and IO performance of underlying storage. Parallel(depending on available server resources-CPU,IO) option could improve performance of index-creation.
How can you debug this?
select * from dba_datapump_jobs;
dba_datapump_sessions
with v$session_wait
to know whether the impdp session is waiting for some resources.
Другие советы
It's not stuck. It just does not print every rebuilded index. You can view status of the process using DBA_RESUMABLE.
select * from dba_resumable;
Не связан с dba.stackexchange