What is Apache CouchDB?
Apache CouchDB is a non-relational, or NoSQL, database designed to completely capture the web. Data is stored in JSON documents that can be accessed and whose indices are queried via HTTP.
CouchDB is an open source document-oriented database that uses key-value cards to store document fields.
The fields can be simple key / value pairs, cards or lists. Each saved document is given a unique identifier at the document level and a revision number when changes are made to it. CouchDB is able to perform both document transformations and real-time change notifications and simplify the development of web applications.
It specializes in availability and partition tolerance (AP), but with a little work it can be consistent. By comparison, MongoDB is mostly consistency and partition tolerant.
- Fast indexing and retrieval
- Simple replication across multiple server instances
- Multiple libraries for different languages
- JSON-based document format
- REST-like interface for retrieving, deleting, updating and inserting documents
- Data feed updates that can be subscribed to via the change feed