[Fedora-directory-devel] Please review: [Bug 241089] reset db statistics between restarts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Summary: reset db statistics between restarts

https://bugzilla.redhat.com/show_bug.cgi?id=241089

Since DS 7.x retains the db region files between restarts, the database
statistics are not reset.  Although the cache region contains pages that were
cached before the restart, I think it still makes sense to expect stats like
dbcachehits to be calculated from startup to match the entrycache monitor. Maybe we can call db->memp_stat() with the DB_STAT_CLEAR when we shut down or
start up?

------- Additional Comments From nhosoi@xxxxxxxxxx  2007-09-25 16:55 EST -------
Created an attachment (id=206121)
--> (https://bugzilla.redhat.com/attachment.cgi?id=206121&action=view)
cvs diff (back-ldbm)


Thanks to Ulf for reporting the problem and the suggestion to fix it.  The
proposed diff cleans up the db stats when the server is shutdown.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

--
Fedora-directory-devel mailing list
Fedora-directory-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-devel

[Index of Archives]     [Fedora Directory Announce]     [Fedora Users]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Review]     [Fedora Art]     [Fedora Music]     [Fedora Packaging]     [CentOS]     [Fedora SELinux]     [Big List of Linux Books]     [KDE Users]     [Fedora Art]     [Fedora Docs]

  Powered by Linux