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

Re: Shrinking repository

From: Benjamin Pflugmann <benjamin-svn-usr_at_pflugmann.de>
Date: 2004-12-22 04:03:54 CET

On Wed 2004-12-22 at 14:31:30 +1300, you wrote
> I've just upgraded from an old Subversion (0.32) to a slightly less ancient
> 1.1.1, and
> thought I'd try this new-fangled FSFS back-end.
>
> I was hesitant to perform the regular dump/load cycle due to disk space --
> the repository
> took up a good chunk of the 1.5G partition assigned to it. But I convinced
> myself
> to use another filesystem as "swap" space, and I was amazed at the results.
>
> The on-disk size of the new repository was little more than 130M -- it had
> been reduced
> by a whopping 85%!
>
> Just to be fair, I decided to create a new bdb repository and load the data
> into that.
> It too was smaller, but not by as much.
>
> 897M /srv/svn/original-repos
> 582M /var/lib/svn/new-repos-bdb
> 135M /var/lib/svn/new-repos-fsfs
>
> This means that my new repository and a "svnadmin dump" take up less space
> together
> than my old repository by itself.

Did you account for log files? See

  http://subversion.tigris.org/project_faq.html#bdblogs

Bye,

        Benjamin.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Dec 22 04:06:10 2004

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.