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

Re: Compressed Pristines (Design Doc)

From: Branko Čibej <brane_at_apache.org>
Date: Thu, 22 Mar 2012 17:01:07 +0100

On 22.03.2012 16:50, Daniel Shahaf wrote:
> Branko Čibej wrote on Thu, Mar 22, 2012 at 16:37:24 +0100:
>> It's called SQLite.
> Heh. I wondered whether I should mention that the server uses BDB to
> store pristine files. (yes, the situation there is different in
> several relevant ways)

To clarify: I'm /not/ advocating that we store each and every file into
an SQLite BLOB. Files larger than several block sizes would be better
off on disk as real files (the compressor can, e.g., buffer compressed
contents up to, say, 32k, and if they become larger, spill directly into
a file; otherwise, dump into a BLOB). If we don't care about shared
pristine store, we don't even need a separate database, these blobs can
go into wc.db (which, as Greg points out, also serves as an index).

-- Brane
Received on 2012-03-22 17:01:16 CET

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