[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Logs files, Check points and recovery... oh my...

From: <pkahn_at_connected.com>
Date: 2004-09-05 05:10:26 CEST

Hi, I recently went through a recovery and it took about 8 hours (and
perhaps several years off of my life). In my repository I have about 2.5 GB
of unused log files and it appears that no one has used the BerkeleyDB
utility db_checkpoint to make a fall back point. Do any of you make
checkpoints? I see by looking at the trail code that svn should be doing
this on its own, but I wonder if there isn't a difference between this and
the utilitiy...

According to the BerkeleyDB pages:

> Performing checkpoints is necessary for two reasons. First, you can remove

> the Berkeley DB log files from your system only after a checkpoint.
> the frequency of your checkpoints is inversely proportional to the amount
of time
> it takes to run database recovery after a system or application failure.

Does anyone know if a repository administrator should be using the
db_checkpoint utility

Also, I want to test wedging the db and recovery to prove to myself which
checkpoint method is the best for my repository. What's the best way to
wedge a db? Make a large commit and kill the serving process in the midst
of it?

Thanks for the help....
Received on Sun Sep 5 05:12:09 2004

This is an archived mail posted to the Subversion Users mailing list.