Replicating Transactions on Db2 Columnar Tables

 View Only

Replicating Transactions on Db2 Columnar Tables 

Mon July 24, 2023 02:24 PM

This whitepaper provides a step-by-step tutorial on how to use Db2 Q Replication technology to replicate transactions that include changes to Columnar Data Engine (CDE) tables in a source Db2 system. It demonstrates how to set up replication in both directions between two Db2 database systems that are configured with the Db2 Database Partitioning Feature (DPF) and how to do a site switch.

 The instructions provided can be easily adapted for any Db2 configuration, including row-organized tables and non-DPF databases.We explain the Q Replication design and expand on the considerations and operations that are specific to replicating database transactions that include changes on Db2 CDE tables.Users of integrated systems such as Db2 Warehouse and IBM Integrated Analytics System (IAS), where the Q Replication function is available via the system console, will also benefit from reading this paper, by understanding what's going on “under-the-hood”.

Executing the steps described in this paper should require about 60 minutes of your time, if you skip the optional tasks. More time will be required to fully read all explanations and considerations for different use-cases.

Statistics

0 Favorited
24 Views
1 Files
0 Shares
6 Downloads
Attachment(s)
pdf file
replicate_transactions_on_db2_col_tables.pdf   4.16 MB   1 version
Uploaded - Mon July 24, 2023

Comments

Tue February 20, 2024 09:07 AM

Hi, I read log entries directly from the DB log using the db2ReadLog API (DB2 Warehouse). While log entries for row-organized tables are read correctly, no log entries are found for columnar tables. 
Is it possible to read columnar tables log entries directly, without enablong the full Q Replication in DB2 Warehouse?
Thanks