Import Data with Oracle Data Pump Latest Version or an Older Version
The steps to import data to Autonomous Database with Oracle Data Pump differ depending on the Oracle Data Pump version.
- Import Data Using Oracle Data Pump Version 18.3 or Later
Oracle recommends using the latest Oracle Data Pump version for importing data from Data Pump files into your Autonomous Database, as it contains enhancements and fixes for a better experience. - Import Data Using Oracle Data Pump Version 18.3 or Later with OCI Resource Principal
Oracle Data Pump supports importing data pump files into your Autonomous Database using an Oracle Cloud Infrastructure resource principal as a credential object. - Import Data Using Oracle Data Pump Version 12.2 and Earlier
You can import data from Data Pump files into your Autonomous Database using Data Pump client versions 12.2.0.1 and earlier by setting thedefault_credential
parameter. - Oracle Data Pump Import with a Pre-Authenticated URL
Provides the steps to use a pre-authenticated URL (PAR URL) with Oracle Data Pump Import.
Import Data Using Oracle Data Pump Version 18.3 or Later
Oracle recommends using the latest Oracle Data Pump version for importing data from Data Pump files into your Autonomous Database, as it contains enhancements and fixes for a better experience.
Download the latest version of Oracle Instant Client, which includes Oracle Data Pump, for your platform from Oracle Instant Client Downloads. See the installation instructions on the platform install download page for the installation steps required after you download Oracle Instant Client.
In Oracle Data Pump version 18.3 and later, the credential
argument
authenticates Data Pump to the Cloud Object Storage service you are using for your source
files. The dumpfile
argument is a comma delimited list of URLs for your
Data Pump files.
In Oracle Data Pump, if your source files reside on Oracle Cloud Infrastructure Object Storage you can use Oracle Cloud Infrastructure native URIs or Swift URIs. See DBMS_CLOUD URI Formats for details on these file URI formats.
To load an Oracle Data Pump dumpfile from Cloud Object Storage, run Oracle Data Pump Import
and include the credential
parameter:
Import Data Using Oracle Data Pump Version 18.3 or Later with OCI Resource Principal
Oracle Data Pump supports importing data pump files into your Autonomous Database using an Oracle Cloud Infrastructure resource principal as a credential object.
If you use Oracle Data Pump expdp
to export directly to Object
Store then you must use the same credential that was used to export when you import with
impdp
. In this case, Oracle Data Pump import does not support Oracle Cloud
Infrastructure resource principal credentials. Other methods for uploading are supported for using
impdp
using resource principal credentials. For example, if you upload
Oracle Data Pump files on Object Store using DBMS_CLOUD.PUT_OBJECT
, you can import the files using Oracle Data
pump impdp
using resource principal credentials. Likewise, when you use the
Oracle Cloud
Infrastructure Console to upload data pump files to Object Store, you can use resource principal
credentials to import into an Autonomous Database
instance with Oracle Data pump impdp
.
In Oracle Data Pump, if your source files reside on Oracle Cloud Infrastructure Object Storage you can use Oracle Cloud Infrastructure native URIs or Swift URIs. See DBMS_CLOUD URI Formats for details on these file URI formats.
Import Data Using Oracle Data Pump Version 12.2 and Earlier
You can import data from
Data Pump files into your Autonomous Database
using Data Pump client versions 12.2.0.1 and earlier by setting the
default_credential
parameter.
Data Pump Import versions 12.2.0.1 and earlier do not have the credential parameter. If you are using an older version of Data Pump Import you need to define a default credential property for Autonomous Database and use the default_credential
keyword in the dumpfile
parameter.
In Oracle Data Pump, if your source files reside on Oracle Cloud Infrastructure Object Storage you can use the Oracle Cloud Infrastructure native URIs, or Swift URIs. See DBMS_CLOUD URI Formats for details on these file URI formats.
Importing with Older Oracle Data Pump Versions and Setting default_credential
Note:
To perform a full import or to import objects that are owned by other users, you need theDATAPUMP_CLOUD_IMP
role.
For information on disallowed objects in Autonomous Database, see SQL Commands.
See Notes for Importing with Oracle Data Pump for additional notes for using Oracle Data Pump Import.
See Oracle Data Pump Import and Table Compression for details on table compression using Oracle Data Pump import on Autonomous Database.
For detailed information on Oracle Data Pump Import parameters see Oracle Database Utilities.