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

RE: svn dump and load - half size repository?

From: Andrew Hardy <andrew.hardy_at_gl-group.com>
Date: Fri, 18 Dec 2009 15:10:52 -0000

Mark,

>-----Original Message-----
>From: Mark Phippard [mailto:markphip_at_gmail.com]
>Sent: 18 December 2009 15:01
>To: Ryan Schmidt
>Cc: Hardy, Andrew; users_at_subversion.tigris.org
>Subject: Re: svn dump and load - half size repository?
>
>On Fri, Dec 18, 2009 at 8:08 AM, Ryan Schmidt
><subversion-2009d_at_ryandesign.com> wrote:
>> On Dec 18, 2009, at 06:52, Andrew Hardy wrote:

>> The behavior you are observing in the revs directory is called
>> sharding and is new for Subversion 1.5, and was improved in
>1.6, and can lead to significant space savings:
>
>Sharding does not specifically bring disk space saving, it
>just helps some filesystem tools that slow down when you get
>too many files in a single folder, like backup scanning or
>browsing tools like Windows Explorer. It may bring some inode
>savings, but I am not sure.
>
>>
>> http://subversion.tigris.org/svn_1.6_releasenotes.html#fsfs-packing
>

>Packing will save a lot of disk space by freeing up all the
>wasted space in unused clusters, and will also greatly reduce
>inode usage.
>However, packing is not something that happens automatically,
>you have to run svnadmin pack.

I might give that a whirl during a quiet period!

>The most likely culprit is the new rep-sharing feature in 1.6. This
>allows duplicate "representations" to be shared. So imagine you
>committed 5 copies of the exact same ISO image. With 1.6,
>only one of those would be "stored" and the other 4 would all
>have pointers to the first. We typically see a 10-20% space
>improvement from this, but it is entirely dependent on how
>much common content there is. I would guess this is where the
>saving came from since this is on by default for a newly
>created repository.

We're still on 1.5.6, but this looks interesting...

Thanks for your help,

-- 
Andy
This e-mail, and any attachments are strictly confidential and intended for the addressee(s) only.  The content may also contain legally privileged information.  If you are not the intended recipient, please notify the sender immediately, by return of email, and then delete the e-mail and any attachments.  You should not disclose, copy or take any action in reliance on this transmission.
Please ensure you have adequate virus protection before you open or detach any documents from this transmission.
GL Industrial Services UK Ltd is a company registered in England and Wales with company No. 3294136 and registered office at Holywell Park, Ashby Road, Loughborough,  Leicestershire, LE11 3GR, United Kingdom.   
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2431508
Please start new threads on the <users_at_subversion.apache.org> mailing list.
To subscribe to the new list, send an empty e-mail to <users-subscribe_at_subversion.apache.org>.
Received on 2009-12-18 16:12:13 CET

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.