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

RE: Slow Updates

From: Brummer, Byron <ByronBrummer_at_LiveNation.com>
Date: 2006-12-19 21:32:44 CET

> From: Rick Jenkins [mailto:RICHARD.D.JENKINS@saic.com]
> I really enjoy working with Subversion but have noticed
> updates are taking too long now. The repo I work with
> contains about 900MB of files in about 500 sub-dirs.
> It'll take about 60+ seconds to do an update.
> I use the Berkeley DB. Recently noticed the
> /home/svn/db/strings file is 2.9GB size. Server is RHEL 4.0.
> Any maintenance I should do on Berkely DB?
> Any suggestions on how to make it update/respond faster?

My (albeit short) experience is that SVN is insanely faster and more
reliable using FSFS then BDB. By insanely I'm talking 100 to 1
performance difference (reloading our repo using BDB took over six
*hours*, but less then 15 mins under FSFS).

I'm a huge fan of BDB myself, having used it for ages in all kinds of
projects. I can only guess that SVN's data storage needs (historical)
just don't fit with the way BDB (a file based hash) works.

Converting between BDB and FSFS is trivial:

svnadmin dump /path/to/repo > myrepo.dump
svnadmin create --fs-type fsfs /path/to/temp_fsfs_repo
svnadmin load /path/to/temp_fsfs_repo < myrepo.dump
mv /path/to/repo /path/to/repo.old
mv /path/to/temp_fsfs_repo /path/to/repo


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Dec 19 21:33:27 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.