I am getting this ORA-39171 error during an import:
statement in resumable session 'SYSTEM.SYS_IMPORT_FULL_02.1'
was suspended due to
ORA-01659: unable to allocate
MINEXTENTS beyond 1 in tablespace MY_DATA
How do I fix the ORA-39171 error and
resume my import (impdp) job?
The oerr utility shows this for the ORA-39171 error
ORA- 39171: Job is
experiencing a resumable wait.\n%s"
The Data Pump job is stalled with one or more of
its sessions having a resumable wait. Resumable waits are
typically caused by a non-expandable tablespace running out
of space. The follow-on message describes the nature of the
Action: Correct the condition
causing the wait. This will typically involve adding
datafiles to the tablespace that is full.
The resumable_timeout parameter setting determines the wait
time before the job aborts:
suspended (resumable) statement has timed out
When you have a resumable wait, you can use the following
steps to re-start the import utility:
1: From the impdp windows, use <ctrl> c to stop the
import job. This will result in a prompt like this
2: Next, stop the job without aborting it:
2a. At this point, you can kill the
job if you wish to start over:
3: Next, fix the root cause of the error.
This could be adding a datafile to a tablespace or resizing
a datafile or enabling the "autoextend" option for a
alter datafile 'C:\myfiles\mydata.dbf' AUTOEXTEND ON MAXSIZE
4. Now we re-attach the import job to its session
in the database:
C:\import> impdp scott/tiger parfile
If you omit the attach parameter, Oracle will
assign a default name for the job.
5: Now, we can re-start the import (impdp) job:
Note that at any time during the execution of the import
job you can use <cntl> c and use this command to see the
status of your import job: