Gert Kello <gert.ke...@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