Hi All,
I would like to know how I can check through the log and findout when a
particular table last updated. Please Help us.
Advanced Thanks
Ramesh
↪ replying to VENKATESH
Hi, may try onlog, eg.
$onlog -t tblspace_num -n logid |less
where tblspace_num is the partnum of a table in systables or partn in
sysfragments if the table is fragmented.
logid can be one of uniqid from onstat -l output, the max(uniqid) is the
current log; if log files are backed up to tape, need to use -b option to read
from tape device.
Then search on 'UP' to get the update information, you can find the time info
at BEGIN/COMMIT records around.
Above is based on 7.3, please refer your 'Administrators Guide' for more
details on how to use onlog and interpret logical-log records.
HTH,
Gary Gu