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

Shrinking repository

From: Robert Hunter <robert.hunter_at_gen-i.co.nz>
Date: 2004-12-22 02:31:30 CET

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.

Great!

-- 
Robert Hunter
*****************************************************************************
This communication, including any attachments, is confidential.
If you are not the intended recipient, you should not read it
- please contact me immediately, destroy it, and do not copy
or use any part of this communication or disclose anything about it,
Thank you.
Please note that this communication does not designate an information system
for the purposes of the Electronic Transactions Act 2002
******************************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Dec 22 02:35:26 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.