My Oracle Support Banner

Data Pump Export Or Import Throws ORA-31623 When Using LOGTIME Parameter (Doc ID 1936319.1)

Last updated on OCTOBER 14, 2022

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.1 and later
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Gen 1 Exadata Cloud at Customer (Oracle Exadata Database Cloud Machine) - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Information in this document applies to any platform.

Symptoms

Attempting to use expdp with LOGTIME parameter, e.g. using parameters:

JOB_NAME=<JOB_NAME>
DIRECTORY=<DIRECTORY_NAME>
FULL=Y
DUMPFILE=<DUMP_NAME>_%U.dmp
LOGFILE=<LOG_NAME>_full.log
PARALLEL=2
METRICS=y
LOGTIME=all
EXCLUDE=statistics
FLASHBACK_TIME=systimestamp

the following errors occur:

UDE-31623: operation generated ORACLE error 31623
ORA-31623: a job is not attached to this session via the specified handle
ORA-06512: at "SYS.DBMS_DATAPUMP", line 3905
ORA-06512: at "SYS.DBMS_DATAPUMP", line 5203
ORA-06512: at line 1

 Same errors are received at impdp using LOGTIME parameter.

Changes

Parameter LOGTIME is being used.

This parameter specifies that messages displayed during export/import operations be timestamped. You can use the timestamps to figure out the elapsed time between different phases of a Data Pump operation. Such information can be helpful in diagnosing performance problems and estimating the timing of future similar operations.

The parameter as such is not essential for performing an export/import.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.