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

Re: repository GUIDs

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2002-12-12 17:04:24 CET

Branko Čibej <brane@xbc.nu> writes:
> The unique IDs will someday be used as part of the NodeRevision primary
> key -- that's necessary to support distributed repositories. Instead of
> using a GUID explicitly, Bill suggests we hava (repository-specific)
> mapping between GUIDs and RepositoryIDs. The RepositoryID namespace
> would obviously be more compact, and therefore kinder to database
> indexing routines. I suggested that the repo's own GUID would by
> definition map to a Repository ID of 0.

So instead of just using the GUIDs as the RepositoryIDs, we'd
introduce another layer of indirection, in anticipation of db indexing
performance problems due to the random bitstring nature of GUIDs?

I almost think I'd rather have a more comprehensible schema with worse
performance, than the other way around :-). At the very least, we
should have some real data on the performance impact before
introducing this layer of indirection.


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Dec 12 17:44:05 2002

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