The following comwes from a normal db snapshot. Taking snapshots at
interval, can you make use of this?
Log space available to the database (Bytes)= 20397527
Log space used by the database (Bytes) = 2473
Maximum secondary log space used (Bytes) = 0
Maximum total log space used (Bytes) = 3082
Secondary logs allocated currently = 0
Log pages read = 0
Log read time (sec.ns) = 0.000000004
Log pages written = 1
Log write time (sec.ns) = 0.000000004
Number write log IOs = 1
Number read log IOs = 0
Number partial page log IOs = 1
Number log buffer full = 0
Log data found in buffer = 0
Appl id holding the oldest transaction = 7
Log to be redone for recovery (Bytes) = 2473
Log accounted for by dirty pages (Bytes) = 2473
File number of first active log = 18
File number of last active log = 20
File number of current active log = 18
File number of log being archived = Not applicable
The last entry means the db is in circular logging.
Regars, Pierre.
--
Pierre Saint-Jacques
SES Consultants Inc.
514-737-4515
"Eugene F" <ro********@yahoo.coma écrit dans le message de news:
11*********************@j72g2000cwa.googlegroups.c om...
To make an estimate on the volume of transaction logs generated and the
database activity pattern (distribution) in time. Do you know any
better way? I am thinking to turn on the archival logging to, at
least, be able to use database history for logs for that.
Knut Stolze wrote:
>Eugene F wrote:
Not getting into details whether log files are getting closed or not
after they are full in circular mode, I still want to track the
timestamp when the database starts writing into the next log file in
the circular logging mode.
I don't know if that is possible - besides monitoring activity on the log
files/directory with some external tool.
But still I'm curious: what do you need that for?
--
Knut Stolze
DB2 z/OS Utilities Development
IBM Germany