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

Re: Breaking up a monolothic repository

From: Trent W. Buck <trentbuck_at_gmail.com>
Date: Tue, 10 Sep 2013 10:49:13 +1000

Thorsten Schöning <tschoening_at_am-soft.de> writes:

> Tell us about the size of your repo
> it's format version and primary data types versioned

(Sorry for not giving this info earlier, and shifting the goal posts --
I personally went rcs->arch->darcs->git and never really used svn, so
I'm feeling pretty noob attacking this problem.)

du reports it is 18GiB. The current revno is 16115.

    $ grep . /home/svn/PI/{format,db/fs-type,db/format}
    /home/svn/PI/format:5
    /home/svn/PI/db/fs-type:fsfs
    /home/svn/PI/db/format:4
    /home/svn/PI/db/format:layout sharded 1000

As to what kind of files are in there -- I'm not actually sure.
Just doing a dumb look at HEAD's list of files,

    $ svn ls -R file:///home/svn/PI | wc -l
    269281

And looking at the most common extensions:

$ svn ls -R file:///home/svn/PI | sed -n 's/.*\.//p' |
  sort | uniq -c | sort -nr | head -20
  36581 h 2438 txt
  21732 patch 2375 sh
  17621 html 2362 i
  15023 c 2121 bmp
   8143 py 1957 mk
   3919 cpp 1932 po
   3559 png 1916 class
   3074 gif 1813 lua
   2950 xml 1742 cs
   2585 properties 1613 hpp

Obviously that's not weighted by size, and completely ignores anything
that's not in HEAD anymore.

                               * * *

It's currently hosted on an Ubuntu 10.04 server, so my server svn is
quite old:

    subversion 1.6.6dfsg-2ubuntu1.3
    apache2 2.2.14-5ubuntu8.12

I believe some of the users have svn 1.7 on their desktops, but not all.

I'm partway through provisioning the replacement Debian 7 server, which
will have

    subversion 1.6.17dfsg-4+deb7u3
    apache2 2.2.22-13

...hm, still 1.6. Is it worth me backporting a newer svn?
Received on 2013-09-10 02:50:07 CEST

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.