You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Daniel Lidström <da...@sbg.se> on 2006/09/21 08:18:04 UTC

Slow loading into a bdb repository

Hello!

Has anyone else experienced very slow loading of dump files into a bdb
repository?
I have tried both with the latest 1.4 version as well as the 1.3.2 version,
first
creating an empty repository of dbd kind and then loading a dump file. It
seems the
loading takes longer and longer for each revision. WindowsXP.

Hälsningar,
Daniel

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: Slow loading into a bdb repository

Posted by Blair Zajac <bl...@orcaware.com>.
Daniel Lidström wrote:
> Hello!
> 
> Has anyone else experienced very slow loading of dump files into a bdb
> repository?
> I have tried both with the latest 1.4 version as well as the 1.3.2 version,
> first
> creating an empty repository of dbd kind and then loading a dump file. It
> seems the
> loading takes longer and longer for each revision. WindowsXP.

If you're loading a dump into a repository, then you can turn off the syncing 
feature, just for the import, which will greatly speed it up:

1) svnadmin create --fs-type bdb --bdb-txn-nosync repos

2) Do the import.

3) Then turn on syncing by editing repos/db/DB_CONFIG and commenting out the line

set_flags DB_TXN_NOSYNC

4) Then recover the repository:

svnadmin recover repos

Regards,
Blair

-- 
Blair Zajac, Ph.D.
http://www.orcaware.com/svn/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org