Skip to Main Content
IBM Power Ideas Portal


This portal is to open public enhancement requests against IBM Power Systems products, including IBM i. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).


Shape the future of IBM!

We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:

Search existing ideas

Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,

Post your ideas
  1. Post an idea.

  2. Get feedback from the IBM team and other customers to refine your idea.

  3. Follow the idea through the IBM Ideas process.


Specific links you will want to bookmark for future use

Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.

ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.

Status Delivered
Workspace IBM i
Categories Db2 for i
Created by Guest
Created on Aug 31, 2017

Implement Change Data Capture Technology in IBM DB2 for i

I would request you add Change Data Capture technology to the IBM i.

Currently IBM i has the ability to journal changes, and there are some basic capabilities for viewing that data. However viewing it via a 5250 screen is very challenging, and often just shows cryptic ascii characters for some data types.

Instead I propose a much more user friendly implementation, modeling off of Microsoft SQL Server's change data capture technology introduced in SQL Server 2012.

How it works in SQL Server is you right click a database, click "Enable change tracking", then set a retention period.

After that is complete you right click a table and say "Activate change tracking".

The moment you hit activate change tracking on a table, some system views get created. The most important being the "cdc.tablename" view.

For instance, if I right click a table called "ItemMaster" and activated change data capture, a corresponding view gets creatd in that database called "cdc.ItemMaster".

I merely need to do a "select * from cdc.ItemMaster where type=1 and changedate between XXX and YYY" to get all inserts between a date range, or type=2 for all update befores, or type=3 for all update afters, or type=4 for all deletes (consult their help manual, may have gotten the type #'s incorrect).

Anyways, the gist of this is you can easily query events that have happened to a table just as easy as you can query a regular table.


Use Case:

Replication scenarios
Data fixing scenarios
Fraud investigation scenarios
Compliance scenarios


Idea priority Medium
  • Guest
    Reply
    |
    Apr 30, 2020

    IBM believes that the request described has been solved with the introduction of temporal tables in the IBM i 7.3 release.