Error
ORA-31634: job already exists
ORA-31664: unable to construct unique job name when defaulted
This error normally occurs when you do not specify a unique JOB_NAME for the DataPump job and for some reason that JOB_NAME already exists in the database, or else if you are running many jobs at the same time (more than 99 jobs) and DataPump cannot create a new job.
Solution
To fix this issue you have to cleanup the orphaned datapump jobs. You can obtain which has to drop tables with below query. After you can execute result set to drop tables.
SQL> SELECT ‘DROP TABLE ‘ || o.OWNER || ‘.’ || o.OBJECT_NAME || ‘ PURGE;’
FROM dba_objects o, dba_datapump_jobs j
WHERE o.owner=j.owner_name
AND o.object_name=j.job_name
AND j.state=’NOT RUNNING’;And execute result set.
1,352 total views, 15 views today