Db2 for LUW as Target - DSS 6 | Data Source Solutions Documentation

Documentation: Db2 for LUW as Target - DSS 6 | Data Source Solutions Documentation

Db2 for LUW as Target

Data Source Solutions DSS supports integrating changes into Db2 for Linux, UNIX and Windows database. This section describes the configuration requirements for integrating changes (using Integrate or Refresh) into Db2 for LUW location. For the list of supported Db2 for LUW versions, into which DSS can integrate changes, see Integrate changes into location in Capabilities.

Grants for Integrate and Refresh

This section lists the grants required for integrating changes into Db2 for LUW.

  • To Integrate or Refresh changes into Db2 for LUW, the DSS database user must be granted the following privileges:

    GRANT SELECT ON <em>tablename</em> TO USER <em>username</em>
    GRANT INSERT ON <em>tablename</em> TO USER <em>username</em>
    GRANT UPDATE ON <em>tablename</em> TO USER <em>username</em>
    GRANT DELETE ON <em>tablename</em> TO USER <em>username</em>
    
  • The DSS database user should have permission to load data:

    GRANT LOAD ON DATABASE TO USER <em>username</em>
    
  • The DSS database user should have permission to create and drop DSS state tables:

    GRANT CREATETAB ON DATABASE TO USER <em>username</em>
    

Integrate into Db2 DPF

In a Db2 DPF environment, transactionality is maintained within individual nodes but not across nodes. Therefore, when performing Integrate, it is crucial to select only one Db2 DPF location to prevent data duplication and potential inconsistencies.

Intermediate Directory

{% partial file="dss6/requirements/source-and-target-requirements/intermediate-directory.template.md" /%}

Intermediate Directory is Local

{% partial file="dss6/requirements/source-and-target-requirements/intermediate-directory-local.template.md" /%}