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

Re: When to use Berkeley transactions.

From: Branko Čibej <brane_at_xbc.nu>
Date: 2003-02-21 08:02:24 CET

Greg Hudson wrote:

>You're right; given that we use transactions, I'm not sure why we have
>separate representations and strings tables.
>
>
Because we want to isolate node records from deltification. When we
deltify a file's contents, we create a completely new string (with a new
key) and delete the old one, but only modify the representation record
without changing its key. Nodes contain representation keys, and many
nodes can use the same representation. Using a separate table for the
strings means that we don't have to update all the nodes when we deltify
the contents, or indeed even maintain back references from
representations to nodes.

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Feb 21 08:03:05 2003

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.