ExitAmazon Redshift: bulk loading and unloading1 / 9
Explanation

Two directions for bulk data

How COPY and UNLOAD transfer data between Redshift and S3 using IAM roles, file-format options, and parallel transfers. · associate

COPY loads data from S3 objects into an existing Redshift table. UNLOAD runs a query and writes its results to S3 objects. These commands move data in bulk rather than sending individual rows through a client application.

The diagram shows one workflow: load CSV files, then export query results as Parquet files. The source and export prefixes can be in the same bucket or different buckets. An IAM role authorizes Redshift to access them; the role does not carry the data.

COPY dataAssume roleUNLOAD results
Amazon S3 bucketSource prefix: CSV files
Amazon RedshiftWarehouse: COPY and UNLOAD
AWS Identity and Access Management (IAM)IAM role: source read, export write
Amazon S3 bucketExport prefix: Parquet files

1 / 5 The source S3 prefix contains the CSV objects to load. A prefix can identify several input files.

AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.