Welcome Guest! Log in
Stambia versions 2.x, 3.x, S17, S18, S19 and S20 are reaching End of Support January, 15th, 2024. Please consider upgrading to the supported Semarchy xDI versions. See Global Policy Support and the Semarchy Documentation.

The Stambia User Community is moving to Semarchy! All the applicable resources have already been moved or are currently being moved to their new location. Read more…

Loading data into Redshift via S3 buckets

    When you need to load data from your local databases to Amazon Redshift, Stambia DI lets you design a simple mapping which will take care of the following steps automatically:

    1. Export data from your database to a file

    2. Send the file to an Amazon S3 bucket

    3. Load the S3 file into Redshift

    This article shows how to create the required metadata and how to design the mapping.

     

    Pre-requisites

    Please make sure that you have installed the Amazon components as indicated in this article.

    Creating the Amazon S3 metadata

    Simply create an Amazon S3 metadata object:

    468 01

     

    And right click to add a bucket and a folder. You can configure each node:

    468 02

    Creating the Amazon Redshift metadata

    Select the rdbms.AmazonRedshift metadata model:

    468 03

    Fill in the Jdbc URL and credentials, and reverse your Redshift database schema as you would do with any Postgresql database.

    Once this is done, drag and drop the S3 Folder into the Redshift schema, like this:

    468 04

    And rename this node as "S3_STAGING". The Load templates will need this name to connect to this folder. 

     

    Designing the mapping

    Simply design your mapping as usual, using your Redshift table as a target. And make sure that the "LOAD Rdbms to Redshift SQL (with COPY)" and "INTEGRATION Redshift" template are selected:

    468 05

     

     

    Stambia DI for Amazon Redshift

      Stambia Data Integration allows to work with Amazon Redshift to produce fully customized Integration Processes.

      The Amazon Redshift database structure can be entirely reversed in Metadata and then used in Mappings and Processes to design and adapt the business rules to meet the user's requirements.

      Read more: Stambia DI for Amazon Redshift

      Subcategories

      Articles

      Suggest a new Article!