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

Re: SVN database is a lot bigger than PVCS database

From: Jeremy Whitlock <jcscoobyrs_at_gmail.com>
Date: Wed, 22 Jul 2009 10:51:42 -0600

> We're using VisualSVN 1.7.1
>
> We've been using it for the last 6 months. So we can't "dump" it.

"dump" is a term used to create a backup of the Subversion repository
data in a way that you can reuse this data on any Subversion server no
matter the version or how it was built. No one is suggesting you stop
using VisualSVN.

>> That all said, disk space is pretty cheap these days.
>
> Yes, I know, but there're a few reasons why I need to look into this
> matter. 1) Performance as I stated earlier. 2) Backup: the bigger
> the database, the longer it takes to backup. BTW, we have no idea
> if there's any official way of backing up the DB. We're just
> thinking of copying everything to another server through network.
> Estimated time to transfer 27GB is about an hour. And we're
> supposed to do so everyday. 3) I'm going to move SVN into a virtual
> machine. Then again, it's nicer to have a smaller database as big
> virtual disk would mean lesser performance.

As it's being pointed out, your problems are due to the importer tool
and possibly not using the importer tool properly. Going from 4.5GB
to 27GB when going from PVCS to Subversion is definitely an importer
issue. As I stated earlier, Subversion is efficient on disk, much
more so than PVCS, so if things were migrated from PVCS to Subversion
properly, the database size should had gone down.

Oh...and for an official way to backup repositories, there is a lot of
information online, especially in the Subversion book: http://svnbook.red-bean.com/nightly/en/svn.reposadmin.maint.html#svn.reposadmin.maint.backup
   Subversion repositories are just a directory structure that can be
moved/copied/archived however you'd do the same to ordinary files/
folders to perform a backup. (That last statement might not be
applicable if you've used the bdb data store for your repository,
which is not the default.)

--
Jeremy Whitlock
http://www.thoughtspark.org
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2374496
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-07-22 18:53:12 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.