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

Re: Auto-cleaning of log files?

From: Branko ─îibej <brane_at_xbc.nu>
Date: 2003-04-05 03:33:31 CEST

Ben Collins-Sussman wrote:

>Tobias Ringstrom <tori@ringstrom.mine.nu> writes:
>
>
>
>>As I mentioned earlier I use svnadmin dump to perform backups. I do that
>>because I imagine that the dump format is more likely to be readable one
>>year from now, and also becuase the result is actually smaller than a
>>backup of the whole db.
>>
>>
>
>I don't understand how this is possible. The dumpfile format *never*
>expresses textual deltas. If a file changes, the entire file is
>dumped. How can the dumpfile be smaller than the repos, which is
>compressing like crazy?
>
>

It's not, really. We're only doing vdelta compression on successive
versions of files, everything else (especially indexes and directories)
is uncompressed. When you dump the whole contents through bzip2, it has
much more context to look at and I'm sure it can compress the dump better.

What really amazes me, actually, is that the difference is _only_ about
20%. That means that we're doing a quite fantastic job. I wonder what
the difference will be when I finally get Dan Berlin's svndiff patch in...

-- 
Brane ─îibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Apr 5 03:34:20 2003

This is an archived mail posted to the Subversion Dev mailing list.