The IBM Db2 source allows you to sync data from Db2. It supports both Full Refresh and Incremental syncs. You can choose if this connector will copy only the new or updated data, or all rows in the tables and columns you set up for replication, every time a sync is run.
This IBM Db2 source connector is built on top of the IBM Data Server Driver for JDBC and SQLJ. It is a pure-Java driver (Type 4) that supports the JDBC 4 specification as described in IBM Db2 documentation.
The IBM Db2 source does not alter the schema present in your warehouse. Depending on the destination connected to this source, however, the result schema may be altered. See the destination's documentation for more details.
Full Refresh Sync
Incremental - Append Sync
You'll need the following information to configure the IBM Db2 source:
Create a dedicated read-only Airbyte user and role with access to all schemas needed for replication.
This step is optional but highly recommended allowing for better permission control and auditing. Alternatively, you can use Airbyte with an existing user in your database.
Please create a dedicated database user and run the following commands against your database:
-- create Airbyte roleCREATE ROLE 'AIRBYTE_ROLE';-- grant Airbyte database accessGRANT CONNECT ON 'DATABASE' TO ROLE 'AIRBYTE_ROLE'GRANT ROLE 'AIRBYTE_ROLE' TO USER 'AIRBYTE_USER'
Your database user should now be ready for use with Airbyte.