You work for an organization that stores large amount of purchase order details, such as customer ID, item codes, and item quantity in Amazon S3. You need to port the data from Amazon S3 to another cloud-based environment to quickly analyze the purchase order details and to increase future revenues.
Create a mapping that runs in advanced mode to achieve faster performance when you read all the purchase records from Amazon S3 and write the records to an Amazon Redshift target.
In Data Integration, click
New
Mappings
Mapping
.
In the Mapping Designer, click
Switch to Advanced
.
The following image shows the
Switch to Advanced
button in the Mapping Designer.
In the
Switch to Advanced
dialog box, click
Switch to Advanced
.
The Mapping Designer updates the mapping canvas to display the transformations and functions that are available in advanced mode.
Enter a name, location, and description for the mapping.
Add a Source transformation, and specify a name and description in the general properties.
On the
Source
tab, perform the following steps to provide the source details to read data from the Amazon S3 source:
In the
Connection
field, select the Amazon S3 V2 source connection.
In the
Source Type
field, select the type of the source.
In the
Object
field, select the required object.
In the
Advanced Properties
section, provide the appropriate values.
On the
Fields
tab, map the Amazon S3 source fields to the target fields.
On the Target transformation, specify a name and description in the general properties.
On the
Target
tab, perform the following steps to provide the target details to write data to the Amazon Redshift target:
In the
Connection
field, select the Amazon Redshift V2 target connection.
In the
Target Type
field, select the type of the target.
In the
Object
field, select the required object.
In the
Operation
field, select the required operation.
In the
Advanced Properties
section, provide appropriate values for the advanced target properties.
Map the Amazon S3 source and the Amazon Redshift target.
Click
Save
Run
to validate the mapping.
In Monitor, you can monitor the status of the logs after you run the task.