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

Re: Minimizing the `revisions' table.

From: Greg Stein <gstein_at_lyra.org>
Date: 2002-06-14 22:49:38 CEST

On Fri, Jun 14, 2002 at 01:10:11PM -0700, Bill Tutt wrote:
> > From: cmpilato@collab.net [mailto:cmpilato@collab.net]
>...
> > Oh, "replace = delete + add", where modify means "text or prop
> > changes". Sorry for the ambiguitiy.
>
> Replace is unnecessary if the primary key of the table is:
> (TxnID, NodeRevisionID)

BDB doesn't do multi-column primary keys. Well, it *can*, but you could not
come along later and ask for all rows related to TxnID.

>...
> Let client applications detect replaces and renames. :)

Yah.

> Otherwise, if the key was (TxnID, Path) we'd need two NodeRevisionIDs in
> the skel. One for the deleted one, and one for the added one. (since
> they have differing NodeIDs)

Might be needed to get what we need, tho.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jun 14 22:48:09 2002

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.