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

Re: Slow loading into a bdb repository

From: Blair Zajac <blair_at_orcaware.com>
Date: 2006-09-21 19:46:08 CEST

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
Received on Thu Sep 21 19:47:02 2006

This is an archived mail posted to the Subversion Users mailing list.