Table of Contents

Search

  1. Preface
  2. Introduction to PostgreSQL Connector
  3. Connections for PostgreSQL
  4. Mappings and mapping tasks with PostgreSQL Connector
  5. PostgreSQL objects in mapping tasks
  6. Lookup transformation
  7. SQL transformation
  8. Migrating a mapping
  9. PostgreSQL SQL ELT optimization
  10. Data type reference

PostgreSQL Connector

PostgreSQL Connector

Configuring cross-schema SQL ELT optimization for PostgreSQL mapping

Configuring cross-schema
SQL ELT optimization
for PostgreSQL mapping

Create two PostgreSQL mappings. For example, perform the following steps to configure cross-schema
SQL ELT optimization
for a PostgreSQL
mapping
task:
  1. Create the following two PostgreSQL ODBC connections, each defined with a different schema:
    1. Create an
      psql_odbc1
      PostgreSQL ODBC connection and specify
      PSQL_SCHEMA1
      schema in the connection properties.
    2. Create
      psql_odbc2
      PostgreSQL ODBC connection and specify
      PSQL_SCHEMA2
      schema in the connection properties.
  2. Create a PostgreSQL mapping,
    m_psql_pdo_acrossSchema
    . Perform the following tasks:
    1. Add a Source transformation and include a PostgreSQL source object and connection
      psql_odbc1
      to read data using
      PSQL_SCHEMA1
      .
    2. Add a Target transformation and include a PostgreSQL target object and connection
      psql_odbc2
      to write data using
      PSQL_SCHEMA2
      .
  3. Create a PostgreSQL
    mapping
    task, and perform the following tasks:
    1. Select the configured PostgreSQL mapping,
      m_psql_pdo_acrossSchema
      .
    2. On the
      Runtime Options
      tab, in the
      SQL ELT Optimization
      section, set the
      SQL ELT optimization
      value to
      Full
      .
    3. In the
      Advanced Session Properties
      section, select the
      Enable cross-schema SQL ELT optimization
      check box.
    4. Save the task and click
      Finish
      .
    When you run the
    mapping
    task, the Secure Agent reads data from the PostgreSQL source object associated with the
    PSQL_SCHEMA1
    schema and writes data to the PostgreSQL target object associated with
    PSQL_SCHEMA2
    schema.

0 COMMENTS

We’d like to hear from you!