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

Re: dump/load time

From: Troy Curtis Jr <troycurtisjr_at_gmail.com>
Date: Thu, 28 Aug 2008 22:23:38 -0400

On Tue, Aug 5, 2008 at 5:27 AM, Jan Hendrik <list.jan.hendrik_at_gmail.com> wrote:
> Hi all,
>
> upgrading the server to 1.5.1 (from 1.4.6) I did the dump-load-cycle:
>
> dumping took 1.5 hours, loading almost 5 hours, or three times the
> dumping.
>
> Repository in both cases BDB, both on the same machine (P4,
> 1GB RAM, Windows 2K).
>
> Would I have been better off doing the dump with the --delta switch,
> or would this only have inversed the relation, or even just increased
> the time for the dump w/o reducing load time?
>
> Thanks for any insight for probably better handling of this in the
> furture.
>
> Jan Hendrik
> ---------------------------------------
> Freedom quote:
>
> Es ist besser, in Europa arbeitslos zu sein.
> Aber wenn man arbeiten will, dann ist es besser,
> Einwanderer in Amerika zu sein.
> -- Dennis Mueller, Thünen-Vorlesung 2006
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: users-help_at_subversion.tigris.org
>
>

I know this is really late, but I was going through my email tonight
and saw you never got an answer. I'm not sure whether the --deltas
option would have made much difference one way or the other in your
timing, it would make the resulting dump file smaller, but that isn't
want you want.

Actually, as you are using the BDB back-end you long load time are
probably related to the automatic removal of bdb log files and/or log
file fsyncs. The next time you do a load enable
the 'DB_TXN_NOSYNC' option in <repo>/db/DB_CONFIG and also disable
'DB_LOG_AUTOREMOVE'. After you are done you should flip both of these
back though because they are useful, but really slow things down when
you are iterating through a ton of revisions.

-- 
"Beware of spyware. If you can, use the Firefox browser." - USA Today
Download now at http://getfirefox.com
Registered Linux User #354814 ( http://counter.li.org/)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-08-29 04:24:09 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.