DBDB.io The Encyclopedia of Database Systems · Est. 2017
Database of Databases

Database Entry

CouchDB


CouchDB ("cluster of unreliable commodity hardware") is a document-oriented NoSQL DBMS.[04]

Source Code
https://github.com/apache/couchdb[02]
Developer
Country of Origin
US
Start Year
2005 [04]
Project Type
Open Source
Written in
Erlang
Operating Systems
Android, BSD, iOS, Linux, macOS, Solaris, Windows
License
Apache v2

Database Entry

CouchDB


CouchDB ("cluster of unreliable commodity hardware") is a document-oriented NoSQL DBMS.[04]

History[04]


Couch is an acronym for cluster of unreliable commodity hardware. The CouchDB project was created in April 2005 by Damien Katz, former Lotus Notes developer at IBM. He self-funded the project for almost two years and released it as an open source project under the GNU General Public License.

In February 2008, it became an Apache Incubator project and was offered under the Apache License instead.[4] A few months after, it graduated to a top-level project. This led to the first stable version being released in July 2010.

In early 2012, Katz left the project to focus on Couchbase Server.

Since Katz's departure, the Apache CouchDB project has continued, releasing 1.2 in April 2012 and 1.3 in April 2013. In July 2013, the CouchDB community merged the codebase for BigCouch, Cloudant's clustered version of CouchDB, into the Apache project. The BigCouch clustering framework is included in the current release of Apache CouchDB.

Native clustering is supported at version 2.0.0. And the new Mango Query Server provides a simple JSON-based way to perform CouchDB queries without JavaScript or MapReduce.

Concurrency Control[05]


The CouchDB uses MVCC as the concurrency control policy for read operations, each clients sees a consistent snapshot during the read operation.

Data Model[06][07]


The data model in CouchDB is document using JSON format.

Indexes[08][09]


The documents in CouchDB are indexed by their name and sequence id, these index are organized by B-trees.

Query Interface[10]


CouchDB provide RESTful HTTP API for reading and updating database documents.

Storage Architecture[08]


CouchDB will store data on disk and all update are synchronously flushed to disk.

System Architecture[11]


CouchDB is a peer-based distributed database system, each peer can provide same data for user to access. They do not share anything.

Compatible Systems
RxDB RxDB Cloudant Cloudant
Embeddings
Cayley Cayley
Hosted By
Cloudant Cloudant

Citations

12 sources
  1. Apache CouchDB apache.org
  2. GitHub - apache/couchdb: Seamless multi-primary syncing database with an intuitive HTTP/JSON API, designed for reliability · GitHub github.com
  3. http://docs.couchdb.org/en/stable/index.html couchdb.org Dead — Check Archive
  4. Apache CouchDB - Wikipedia wikipedia.org
  5. 1.1. Technical Overview — Apache CouchDB® 3.5 Documentation couchdb.org
  6. 2. JSON Structure Reference — Apache CouchDB® 3.5 Documentation couchdb.org
  7. 1.7. The Core API — Apache CouchDB® 3.5 Documentation couchdb.org
  8. 1.1. Technical Overview — Apache CouchDB® 3.5 Documentation couchdb.org
  9. https://github.com/apache/couchdb/blob/master/src/couch/src/couch_btree.erl github.com Dead — Check Archive
  10. 1.1. Technical Overview — Apache CouchDB® 3.5 Documentation couchdb.org
  11. 1.1. Technical Overview — Apache CouchDB® 3.5 Documentation couchdb.org
  12. Apache CouchDB apache.org
Revision #6 Last Updated: