Access Log Files for Data Pump Export
The log files for Data Pump Export operations are stored in the directory
you specify with the data pump directory
parameter.
To access the log file you need to move the log file to your Cloud Object Storage
using the procedure DBMS_CLOUD.PUT_OBJECT
. For
example, the following PL/SQL block moves the file export.log
to your
Cloud Object Storage:
BEGIN
DBMS_CLOUD.PUT_OBJECT
(
credential_name => 'DEF_CRED_NAME',
object_uri => 'https://objectstorage.us-ashburn-1.oraclecloud.com/n/namespace-string/b/bucketname/o/import.log',
directory_name => 'DATA_PUMP_DIR',
file_name => 'export.log');
END;
/
In this example, namespace-string
is the Oracle
Cloud Infrastructure object storage namespace and
bucketname
is the bucket
name. See Understanding
Object Storage Namespaces for more
information.
See PUT_OBJECT Procedure for more information.