[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: Blair Zajac <blair_at_orcaware.com>
Date: Tue, 01 Jun 2010 10:08:03 -0700

On 05/31/2010 11:06 AM, B Smith-Mannschott wrote:
> 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

After changing any of the flags in DB_CONFIG you need to recover the
database using svnadmin recover.

Blair
Received on 2010-06-01 19:08:50 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.