You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Blair Zajac <bl...@orcaware.com> on 2010/06/01 17:08:03 UTC

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

On 05/31/2010 11:06 AM, B Smith-Mannschott wrote:
> On Mon, May 31, 2010 at 02:52, Mark Phippard<ma...@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