couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Davis <>
Subject Re: documentation about database file format
Date Thu, 23 Sep 2010 13:48:38 GMT
There's nothing particular to the db file format. There is a blog post
that [1] that covers some of the semantics of writing and what not.
Other than that, its probably easiest to ask questions here or on IRC.

The source files you'd be interested in are, couch_db_updater.erl,
couch_stream.erl, couch_btree.erl, couch_file.erl. I tend to read code
from the bottom up, so I'd go through those files in roughly reverse
order. The btree code can be scary at first, but if you ignore
anything that deals with reduce it should be readable.

Paul Davis


On Thu, Sep 23, 2010 at 8:19 AM, chongqing xiao <> wrote:
> Hi,
> Is there a documentation for the database file?
> I am new to Erlang and couchdb and it will help a lot for me to
> understand both Erlang and couchdb if there is a documenation
> explaining the database file format.
> Thanks
> Chong

View raw message