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

Re: Compression?

From: Ryan Schmidt <subversion-2008b_at_ryandesign.com>
Date: Thu, 15 May 2008 00:52:10 -0500

On May 14, 2008, at 14:46, Holger Schulz wrote:

> Is there any compression active? I have a repository of 200 MB, a
> dump of that repository is about 270 MB. A working copy has mor
> than 500 MB?

The repository does store revisions compressed, and for each
revision, stores only the differences to a previous revision (though
not necessarily the immediately preceding revision; see the
documentation on the skip-deltas algorithm).

A dump file can contain each revision in full text or as a diff
against the previous version, which can give you greatly different
dump file sizes. I would expect a dumpfile to generally be larger
than the corresponding repository. Different versions of Subversion
have different compression in the repository. Subversion 1.4 and
later has better compression I believe. So if you dump a pre-1.4
repository and load it into Subversion 1.4 or later, the new
repository may be smaller on disk.

A working copy has a "pristine" copy of every file, and some other
administrative data, so it should be a little more than double the
size you might otherwise expect. The working copy has no compression,
though there is a ticket open requesting that this feature be added.
There is another ticket open requesting the possibility to have a
working copy with no pristine copies.

> How save is my data within that repository?

I'm confident that my data is safe in my Subversion repositories. Of
course a good backup plan is essential when using any software.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-05-15 07:52:41 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.