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

Re: Repository shrinkage on conversion 1.5 -> 1.6?

From: John Beranek <john_at_redux.org.uk>
Date: Wed, 28 Jul 2010 11:44:13 +0100

On 28/07/10 10:50, B Smith-Mannschott wrote:
> On Wed, Jul 28, 2010 at 11:01, John Beranek <john_at_redux.org.uk> wrote:
>>
>> I maintain a 76000 revision Subversion 1.5 repository that add up to a
>> 101GiB FSFS db.
>>
>> I'm looking to upgrade to 1.6, so did a dump and load cycle. The
>> resulting dump file was 173GiB (I use --deltas). What surprised me is
>> that the restored repository came out as 71GB - 30GiB smaller!
>>
>> Is this unusual? Does it suggest some data has gone missing, or what?
>> Nothing I saw in the release notes suggest repository efficiencies of
>> this order - I have _not_ packed the repository.
>>
>
> Hi John,
>
> It looks like representation sharing works particularly well for your
> repository.
>
> http://subversion.apache.org/docs/release-notes/1.6.html#rep-sharing

Ah, now that's something I must've overlooked!

> The 30% reduction you're seeing is a pretty nice space savings. Do you
> do a lot of branching? Do you have the identical files comitted
> separately to different parts of the repository?

I believe we do have a lot of traditional ttb branching, plus
additionally some copying from "common" directories to project directories.

Thanks for your quick answer, it reassures me somewhat that data hasn't
gone missing. ;)

Cheers,

John.

-- 
John Beranek                         To generalise is to be an idiot.
http://redux.org.uk/                                 -- William Blake
Received on 2010-07-28 12:44:58 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.