subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Blair Zajac <bl...@orcaware.com>
Subject Re: svnadmin load to fsfs 9 times faster than bdb!?
Date Tue, 01 Jun 2010 17:08:03 GMT
On 05/31/2010 11:06 AM, B Smith-Mannschott wrote:
> On Mon, May 31, 2010 at 02:52, Mark Phippard<markphip@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

Mime
View raw message