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

Re: Svn 1.9 repository 20% bigger than svn 1.8 repository

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Thu, 28 Jan 2016 12:37:39 +0000

Gert Kello <gert.kello_at_gmail.com> writes:

> I have a svn 1.9 repository, created with svnsync, that has ~150000
> revisions and size about 45 GB. Due to some issues in svn-all-fast-export I
> wanted to have svn 1.8 version repository so I downgraded it by doing
> svnadmin (v 1.9) dump /svnadmin (v 1.8) load cycle. I was surprised that
> the size of v 1.8 repository is "only" 37.5 GB
> I tried to compare content of db\revs folder: some files are bigger in 1.8
> repo, some in 1.9 repo.
>
> Now I'm wondering:
> 1. Is such size increase expected for 1.9 repository? I read that 1.9 was
> aimed at speed optimizations, but 20% size increase compared to 1.8 sounds
> pretty big...
> 2. Or is my "dumped and reloaded 1.8" broken somehow? How could I verify?
> (dump revisions one by one and compare? Or is there any better way?)

That is not the expected behaviour, 1.9 would normally be smaller. Can
you identify where the difference lies? For example: are the HEAD
revisions the same? Are the db/revprops/ directories about the same
size? Are the db/revs/ directories about the same size? Are the
db/rep-cache.db files about the same size?

You can run

  svnlook tree path/to/repo

to get a listing of all the paths visible in HEAD, you should get the
same list for 1.8 and 1.9.

1.9 provides

  svnfsfs stats path/to/repo

which you can run on both the 1.8 and 1.9 repositories.

-- 
Philip Martin
WANdisco
Received on 2016-01-28 13:37:45 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.