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

Re: Trial Import of RCS to SVN - success, and statistics, and questions

From: Jonathan Leffler <jleffler_at_us.ibm.com>
Date: 2004-02-17 21:36:00 CET

Ben Collins-Sussman <sussman@collab.net> asked:
>On Tue, 2004-02-17 at 14:03, Jonathan Leffler wrote:
>
>> The original RCS files occupy 2179 KB on disk. The SVN hierarchy where
>> I imported them occupies 12913 KB. That's a roughly 6-fold expansion
>> in the storage requirement. Is that typical?
>
>Did you remove all the unused logfiles?
>
> http://subversion.tigris.org/project_faq.html#bdblogs

No - but I am using SVN 0.37.0 with Berkeley DB 4.2.52 (on Solaris 8), so
according to the FAQ, I should not need to do much.

Checking, svnadmin lists just one unused log file, size 1046646 bytes.
There's just one other log file, size currently about 900 KB.
With the unused log file removed, the total repository is now 11881 KB,
slightly under 5.5 times the size of the RCS system.
Discounting the still-in-use log file, SVN is using just about 5 times the
disk space of the RCS system.

$ cd /work/jleffler/svn/trial.1/db
$ du -ka
2 ./DB_CONFIG
8 ./__db.001
272 ./__db.002
88 ./__db.003
584 ./__db.004
16 ./__db.005
912 ./log.0000000036
328 ./changes
680 ./nodes
40 ./revisions
384 ./transactions
16 ./copies
808 ./representations
7704 ./strings
16 ./uuids
11859 .
$

Clearly, the majority of the space is in the strings file - nothing else is
as big.

--
Jonathan Leffler (jleffler@us.ibm.com)
STSM, Informix Database Engineering, IBM Data Management
4100 Bohannon Drive, Menlo Park, CA 94025
Tel: +1 650-926-6921   Tie-Line: 630-6921
      "I don't suffer from insanity; I enjoy every minute of it!"
Received on Tue Feb 17 21:36:35 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.