Export JSON Data to Cloud Object Storage
Shows the steps to export table data from your Autonomous AI Database to Cloud Object Storage as JSON data by specifying a query.
This export method supports all the Cloud Object Stores supported by Autonomous AI 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
queryparameter that you supply can be an advanced query, if required, such as a query that includes joins or subqueries. -
Specify the
formatparameter with thecompressionoption to compress the output files. -
Specify the
formatparameter with theencryptionoption 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_OBJECTor use native Cloud Object Storage commands to delete the files.
Parent topic: Export Data to Object Store as Text