Data Ingestion and Replication
- Data Ingestion and Replication
- All Products
Option
| Description
|
---|---|
Target Table Name
| Name of the table in Amazon Redshift to which the files are loaded.
|
Schema
| The Amazon Redshift schema name.
Default is the schema that is used while establishing the target connection.
|
Add Parameters
| Create an expression to add it as
Schema and
Target Table Name parameters. For more information, see
Add Parameters.
|
Truncate Target Table
| Truncate the target table before loading data to the table.
|
Analyze Target Table
| The analyze command collects statistics about the contents of tables in the database to help determine the most efficient execution plans for queries.
|
Vacuum Target Table
| You can select to vacuum the target table to recover disk space and sorts rows in a specified table.
Select one of the following recovery options:
|
File Format and Copy Options
| Select the format with which to copy data. Select one of the following options:
|
Property
| Description
|
---|---|
Copy Command
| Amazon Redshift COPY command appends the data to any existing rows in the table.
If the Amazon S3 staging directory and the Amazon Redshift target belongs to different regions, you must specify the region in the COPY command.
For example,
Where
public is the schema and
messages is the table name.
For more information about the COPY command, see the AWS documentation.
|
Property
| Description
|
---|---|
Pre SQL
| SQL command to run before the
file ingestion task runs the COPY command.
|
Post SQL
| SQL command to run after the
file ingestion task runs the COPY command.
|
S3 Staging Directory
| Specify the Amazon S3 staging directory.
You must specify the Amazon S3 staging directory in
<bucket_name/folder_name> format.
The staging directory is deleted after the
file ingestion task runs.
|
Upload to Redshift with no Intermediate Staging
| Upload files from Amazon S3 to Amazon Redshift directly from the Amazon S3 source directory with no additional, intermediate staging.
If you select this option, ensure that the Amazon S3 bucket and the Amazon S3 staging directory belong to the same region.
If you do not select this option, ensure that the Amazon S3 staging directory and Amazon Redshift target belong to the same region.
|
File Compression*
| Determines whether or not files are compressed before they are transferred to the target directory. Select one of the following options:
|
File Encryption Type*
| Type of Amazon S3 file encryption to use during file transfer. Select one of the following options:
Client-side encryption does not apply to tasks where Amazon S3 is the source.
|
S3 Accelerated Transfer*
| Select whether to use Amazon S3 Transfer Acceleration on the S3 bucket. To use Transfer Acceleration, accelerated transfer must be enabled for the bucket. Select one of the following options:
|
Minimum Upload Part Size*
| Minimum upload part size in megabytes when uploading a large file as a set of multiple independent parts. Use this option to tune the file load to Amazon S3.
|
Multipart Upload Threshold*
| Multipart download minimum threshold in megabytes to determine when to upload objects in multiple parts in parallel.
|
*Not applicable when you read data from Amazon S3 to Amazon Redshift V2.
|