IBM Db2 LUW logo IBM Db2 LUW log reader library changelog

This page tracks the libdb2.so native shared library used by the IBM Db2 LUW CDC agent (GS_SP_LOGMINER). It is separate from the CDC agent changelog.

Download and deployment instructions: Setting up libdb2.so.

Release notes

1.0.15

Released: October 15, 2026

  • Added self-exclusion support and propagated COMMIT authorization ID (GS_SESSION_USER_NAME) across standard and staged replay paths, automatically ignoring internal CDC tables (LOG_MINER_* and CDC target tables).

  • Replaced synthetic LSN:<hash> keys with real log-record identifier keys (LRI:<part1>:<part2>:<op>) in GS_LOG_LRI for deterministic transaction idempotency.

  • Added pre-validation of staged transaction spill files and safe quarantine in LOG_MINER_ERRORS for missing or corrupted payloads, preventing silent failures or broken re-plays.

  • Corrected TIMESTAMP(p) decoding across all fractional-second precisions (0 to 12) based on catalog metadata.

  • Added binary column decoding for BLOB, BINARY, and VARBINARY (hex-decoded and bound via SQL_C_BINARY).

  • Tablespace resolution enhanced for 32K-page tablespaces using (TBSPACEID, TABLEID) pairs.

  • Values exceeding FL_MAX_VALUE_LEN are now emitted as NULL instead of empty strings, with diagnostic visibility counters (big=) logged in LOG_MINER_ERRORS.

  • Improved row migration and overflow handling using log record row-image flags (0x3C), correctly pairing overflow INSERTs with forwarding-pointer UPDATEs and discarding pointer-cleanup DELETE stubs.

  • Added loss-visibility diagnostic counters (ovfu=, big=, binf=) and error reporting in LOG_MINER_ERRORS.

1.0.14

Released: September 16, 2026

  • Corrected nullable DECIMAL storage and trailing null-indicator byte consumption in transaction log decoding, preventing a 1-byte offset shift on subsequent nullable columns (such as SMALLINT and BIGINT).

1.0.13

Released: September 4, 2026

  • Compatibility baseline updated to IBM Db2 for LUW 11.5.8.0+ (and 12.1+) to prevent db2sysc engine-side memory leak during db2ReadLog calls.

  • Corrected DECIMAL nullable column offset decoding in transaction log records.

  • Corrected trailing null flag handling for nullable types in DCC DELETE before-images.

  • Optimized staging and chunked commits for large transactions.

1.0.8

Released: August 26, 2026

  • Tagged library used by the IBM Db2 LUW CDC agent.