Export Data as CSV to Cloud Object Storage
Shows the steps to export table data from your Autonomous Database to Cloud Object Storage as CSV data by specifying a query.
This export method supports all the Cloud Object Stores supported by Autonomous Database, and you can use an Oracle Cloud Infrastructure resource principal to access your Oracle Cloud Infrastructure Object Store, Amazon Resource Names (ARNs) to access AWS Simple Storage Service (S3), an Azure service principal to access Azure BLOB storage or Azure Data Lake Storage, or a Google service account to access Google Cloud Platform (GCP) resources.
Notes for exporting with DBMS_CLOUD.EXPORT_DATA
:
-
The
query
parameter that you supply can be an advanced query, if required, such as a query that includes joins or subqueries. -
Specify the
format
parameter with thecompression
option to compress the output files. -
Specify the
format
parameter with theencryption
option to encrypt data while exporting. See Encrypt Data While Exporting to Object Storage for more information. -
When you no longer need the files that you export, use the procedure
DBMS_CLOUD.DELETE_OBJECT
or use native Cloud Object Storage commands to delete the files.
Parent topic: Export Data to Object Store as Text