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

Re: svnadmin load to fsfs 9 times faster than bdb!?

From: B Smith-Mannschott <bsmith.occs_at_gmail.com>
Date: Mon, 31 May 2010 20:06:14 +0200

On Mon, May 31, 2010 at 02:52, Mark Phippard <markphip_at_gmail.com> wrote:
> You just need to specify --bdb-txn-nosync when running svnadmin
> create. although it is possible that svnadmin load also accepts this
> option. Ā This should make the load times about the same.
>
> There is something you are supposed to change after loading the
> dumpfile to turn this back on.
>

Yup, by creating the repository with --bdb-txn-nosync the time to load
the dump was reduced to about 9 hours (less than double the time of
FSFS).

db/DB_CONFIG is the place to go to get the safer behavior back once
the load has completed:

set_flags DB_TXN_NOSYNC

// Ben
Received on 2010-05-31 20:06:52 CEST

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.