gd*****@libero.it wrote:
On 8 Feb, 21:08, Knut Stolze <sto...@de.ibm.comwrote:
>gdor...@libero.it wrote:
We've got a DB2 installed on AIX server;
now I can't find many records related to a specif table, so my opinion
is that these records have been CANCELLED in a way I don't Know maybe
with some delete instructions..
the question is:
is there a log file where have been registered the DELETE/UPDATE
operations on the tables?
The regular DB2 logs would contain such changes. But I don't think
that's really what you are asking for, is it?
Yes it is....
where I can found it?
You should explain what your goal is. Do you want to restore the deleted
data? Or do you want to figure out who deleted it when?
The DB2 logs can be found in the directory specified in your DB CFG
parameter "Path to log files". Those are binary files and used by DB2 to
ensure the durability and atomicity of transactions (basic DBMS admin
knowledge). You could use the log reader API to access those log file.
However, the API
(
http://publib.boulder.ibm.com/infoce...n/r0001910.htm)
does not explain each and every bit in the log records. The log record can
and does change with new requirements being implemented in DB2.
--
Knut Stolze
DB2 z/OS Utilities Development
IBM Germany