Summary: reset db statistics between restarts
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
------- Additional Comments From nhosoi(a)redhat.com 2007-09-25 16:55 EST -------
Created an attachment (id=206121)
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.