|
Not to deprive you of yet another chance to deride Db2 but are you already
using many of the capabilities of Db2 which may help you with this?
Are you using Temporal Table support?
Are you using the audit colums such as
ALTER TABLE ...
ADD COLUMN audit_user VARCHAR(128) GENERATED ALWAYS AS (SESSION_USER)
ADD COLUMN audit_op CHAR(1) GENERATED ALWAYS AS (DATA CHANGE OPERATION);
Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1
Group Dekko
Dept 1600
Mail to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com
From: Matt Olson <Matt.Olson@xxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Date: 08/31/2017 03:01 PM
Subject: RE: Read all about it - 8 IBM RFE's entered. Vote now!
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>
Sounds good, but I'm guessing I am looking for something more built into
the database by default.
Microsoft SQL Server has this. It's called change data capture (CDC), and
exposes the journal data for easy querying.
Say you have a table called IV00101 in SQL Server. Once you activate CDC
on a table a new system view shows up right away that you can query by
doing a "select * from cdc.IV00101" and you will get all the before, after
data in same layout as original table with the extra journal fields at the
beginning. Very powerful, easy to use, and built right into the database
platform. I am hoping DB2 can get there some day.
-----Original Message-----
From: Sam_L [mailto:lennon_s_j@xxxxxxxxxxx]
Sent: Thursday, August 31, 2017 1:14 PM
To: midrange-l@xxxxxxxxxxxx
Subject: Re: Read all about it - 8 IBM RFE's entered. Vote now!
On 8/31/2017 9:52 AM, Dan wrote:
And Thomas Raddatz provides his excellent (and free) EXPJRNE tool:
BTW, in case one would like the extract function but don't need it in
ACS, Carsten Flensburg published the excellent EXTJRNDTA utility.
"The EXPJRNE command exports journal entries of fiels, data areas and data
queues to an output file. The output file has the same layout as the
journalized file plus the journaling information. EXPJRNE makes it really
easy to analyze journal entries by SQL."
http://www.tools400.de/English/Freeware/Utilities/utilities.html
I believe Thomas may be adding something similar to the iSphere RDi
extension.
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.