5 Jobs for the Db2 log
Auditing, undo of erroneous changes, undrop of deleted objects, data propagation, and activity reporting.
UBS HAINER LOG ANALYSIS
Auditing, undo of erroneous changes, undrop of deleted objects, data propagation, and activity reporting.
A log analyzer for Db2 on z/OS that simplifies most tasks related to the Db2 log, from a single tool with an online interface.
Database administrators, application developers, auditors, and data centers running Db2 for z/OS.
Reconstruct who changed a table, when, and what exactly changed, then populate auditing tables. Filter by user name, plan name, or column contents, and add meta columns such as change timestamp and correlation ID.
Generate SQL that reverts one specific change, or one transaction that touched several tables, at a given point in time. Filter by various criteria to control the repair, and review the statements in an external dataset before running them.
Recreate accidentally dropped databases, tablespaces, tables, and indexes from the log and existing image copies, including foreign keys, check constraints, and table privileges — with no point-in-time recovery of the Db2 catalog.
Execute the same INSERT, UPDATE, and DELETE statements against target tables, or write them to external datasets. Adapt the generated syntax for Oracle, Microsoft SQL Server, or another DBMS when the target sits off-platform.
Use the log to examine how applications actually commit — commit frequencies and idle times — when transaction design, locking, or restart behavior is under review.
Summarize INSERT, UPDATE, and DELETE activity by unit of recovery, user name, or plan name, and produce detailed reports showing each row exactly as it looked before and after every update.
CHOOSE THE RIGHT APPROACH
Each of these has a conventional answer that costs more — in build effort, in data you did not mean to lose, or in how tightly you are tied to a schedule. Working from the log changes the trade-off.
Building a mechanism that continuously extracts and supervises all data changes is costly. For the tables in question, ongoing log analysis is often the better solution.
Db2 can recover an object to any point in time, but that discards every change made after it. Generated undo SQL removes only the change you meant to remove.
Propagation does not have to run continuously to stay seamless. You choose the cadence that suits the target — once a day, or every couple of minutes for near real-time.
DB2 ON Z/OS · DBAS AND DEVELOPERS
Database administrators and application developers use ULT4Db2 to repair the result of an incorrect program or job execution, or a user error — from a mistaken update to an object dropped in production.
DB2 ON Z/OS · AUDIT AND COMPLIANCE
Auditors and administrators use ULT4Db2 to determine which tables were changed and by whom, with the answer assembled from the log rather than from instrumentation added to the applications.
DB2 ON Z/OS · DATA CENTERS
Data centers replace expensive data propagation tools with ULT4Db2 because it consumes less CPU and is affordable, while still keeping target tables in step — on Db2, or on Oracle, Microsoft SQL Server, or another DBMS.
Tell us which tables matter and what the log needs to prove, and we will walk through how ULT4Db2 would run in your environment.
Talk to a Db2 log analysis expertLOG ANALYSIS FAQS