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. HTH, Paul Davis [1] http://horicky.blogspot.com/2008/10/couchdb-implementation.html On Thu, Sep 23, 2010 at 8:19 AM, chongqing xiao <[email protected]> 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 >
