[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: Gert Kello <gert.kello_at_gmail.com>
Date: Thu, 28 Jan 2016 21:43:18 +0200

On 28 January 2016 at 14:37, Philip Martin <philip.martin_at_wandisco.com>
wrote:

> > 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.
>
> 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?
>
> the db/revpops are about the same, 23.7 MB in 1.9 and 23.8 MB in 1.8
rep-cache.db files are different, 39.7 MB in 1.9 and 58.4 MB in 1.8
The main difference is in sizes of db/revs folders

> 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.
>
>
That gives identical results for both. Text file (with --full-paths) size
is 272 MB.

> 1.9 provides
>
> svnfsfs stats path/to/repo
>
> which you can run on both the 1.8 and 1.9 repositories.
>
>
I'm using TortoiseSvn binaries, seems like this is not part of that
distribution. I'll look at it later (tomorrow).

Gert
Received on 2016-01-28 20:43:28 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.