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

Re: One Repository or Multiple?

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2002-09-28 16:04:08 CEST

On Sat, 2002-09-28 at 03:19, Jeff Stuart wrote:
> Is there any benefits (besides the obvious that if one gets corrupted, the
> other ones won't) to having multiple repositories vs one single monolithic
> one? IE speed benefits for large repositories? etc..

Right now there are a bunch of operations, like cp, which only work
within a repository. If they ever work between repsitories, they still
won't be as efficient. So a big repository gets a speed benefit if (and
only if) you copy or move files around within the components.

You also get atomic commits between components, so if you make changes
to one component which depend on changes to another component, you can
rule out the possibility of someone doing a checkout and getting skewed
versions.

The benefits of multiple repositories, that I can think of:

  * Version numbers stay lower. (But if you're worried about this
you're probably doing something wrong.)

  * Can be moved independently if components want to be re-hosted
elsewhere.

  * Can be backed up independently, which may lead to less backup media
usage or more easily compartmentalized backups.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Sep 28 16:04:58 2002

This is an archived mail posted to the Subversion Dev mailing list.