tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY (ADD):dia: 310 Time Stamp
@ 1999-03-24 15:14 Peter.Braack
  0 siblings, 0 replies; only message in thread
From: Peter.Braack @ 1999-03-24 15:14 UTC (permalink / raw)
  To: tru64-unix-managers

After my first summary some days ago I received a clarification from Dr=
. Thomas
Blinn regarding the time stamps.

Tom wrote:

I was mistaken in my belief that the time stamps will cause the log fil=
e
to grow quickly.  In fact, the new stamps over-write the existing ones,=

when the last record in the file is the time stamp.  Here's the way it
really works, as explained by the engineer who implemented it:

------- Forwarded Message

It is true that keep-alive timestamps were added to binlogd, regardless=

of the architecture of the system on which it is running.  However, the=

"eaten disk space" is very small.  On a non-EV6 system that uses the
original binary.errlog headers, a timestamp record adds 64 bytes to the=

file (including the header).  Every ten minutes the binlogd:
a) reads in the last record
b) sees if the last record written was a timestamp
c1) if it was a timestamp (the usual case), it OVERWRITES that record
with a new timestamp, so the binary.errlog file size is exactly the sam=
e
c2) if the last record was NOT a timestamp, it will write a new one and=

add 64 bytes to the size of the file.

Eventually all records will have the new header.  I decided not to
special-case the timestamp by architecture because of the negligible
change in size.

------- End of Forwarded Message

Thanks again to Tom for his tribute to this list.

Regards
Peter
=

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-03-24 15:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-03-24 15:14 SUMMARY (ADD):dia: 310 Time Stamp Peter.Braack

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox