Oracle To Google Cloud Storage Operator

The Google Cloud Storage (GCS) service is used to store large data from various applications. This page shows how to copy data from Oracle to GCS.

Prerequisite Tasks

To use these operators, you must do a few things:


OracleToGCSOperator allows you to upload data from Oracle database to GCS.

When you use this operator, you can optionally compress the data being uploaded to gzip format.

Below is an example of using this operator to upload data to GCS.


    upload_oracle_to_gcs = OracleToGCSOperator(
        task_id="oracle_to_gcs", sql=SQL_QUERY, bucket=BUCKET_NAME, filename=FILENAME, export_format="csv"


For further information, look at: * oracledb Documentation * Google Cloud Storage Documentation

Was this entry helpful?