Table of Contents

Search

  1. Preface
  2. Introduction to PowerExchange for Amazon Redshift
  3. PowerExchange for Amazon Redshift Configuration
  4. Amazon Redshift Sources and Targets
  5. Amazon Redshift Mappings
  6. Amazon Redshift Pushdown Optimization
  7. Amazon Redshift Sessions
  8. Appendix A: Amazon Redshift Data Type Reference
  9. Appendix B: Troubleshooting

PowerExchange for Amazon Redshift User Guide for PowerCenter

PowerExchange for Amazon Redshift User Guide for PowerCenter

Amazon Redshift Mapping Example

Amazon Redshift Mapping Example

Your e-commerce organization stores sales order details in an Oracle database. Your organization needs to move the data from the Oracle database to an Amazon Redshift target.
The following procedure shows how to move data from the Oracle database to Amazon Redshift:
  1. Import the Oracle source.
  2. Import an Amazon Redshift target.
  3. Create a mapping with a source and an Amazon Redshift target.
    The following image shows the example mapping:
    The following image shows an example of mapping.
  4. Create a session and configure it to write the data to the Amazon Redshift target.
The mapping contains the following objects:
Source Definition
The mapping source definition is a relational Oracle database. In the Source Analyzer, import the Oracle source. The PowerCenter Integration Service reads the sales order details from the Oracle source.
The following table describes the structure of the source definition called Sales_Order_Details:
Field
Data Type
Order_No
Varchar
Item_Codes
Varchar
Item_Quantity
Number
Price
Number (p,s)
Mapping Target
The mapping contains an Amazon Redshift target definition.
In the Target Designer, import an Amazon Redshift target definition.
The following image shows the Amazon Redshift target definition t_Sales_Order_Details:
The following image shows the Amazon Redshift target definition.

0 COMMENTS

We’d like to hear from you!