couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Newson <robert.new...@gmail.com>
Subject db-options
Date Sat, 11 Apr 2009 22:35:20 GMT
Devs,

Following a brief discussion on IRC, I wanted to hear general thoughts
and objections to introducing creation-time database options. That is,
allow couchdb databases to toggle some features on or off on a
per-database basis. Additionally, these options could be changed at
compaction time.

The first concrete example of such an option would be a feature that
introduces single-instance storage of attachments. Namely, the
addition of another btree keyed on the sha1 evaluation of attachments.
The tree would be used to ensure only one copy of any particular
attachment exists in the database file. This option could be added or
removed during compaction also.

Thoughts?

B.

Mime
View raw message