Couch DB
Couch DB
CouchDB views:
• CouchDB uses views as the primary tool for running queries and
creating reports from stored document files.
HTTP API:
• CouchDB uses a RESTful API to access the database from anywhere,
with full CRUD (create, read, update, delete) operations flexibility.
• This simple and effective means of database connectivity makes
CouchDB flexible, fast, and powerful to use while remaining highly
accessible.
Built for offline:
• CouchDB enables applications to store collected data locally on
mobile devices and browsers, then synchronizes that data once it is
back online.
Efficient document storage:
• In CouchDB, documents are the primary units of data used in JSON,
composed of various fields and attachments for easy storage.
• There is no limit to the text size or element count of each document, and
data can be accessed and updated from multiple database sources and
across globally distributed server-clusters.
Compatibility:
• CouchDB was written in Erlang (a general-purpose, concurrent, garbage-
collected programming language and runtime system) making it both
reliable and easy to work with for developers.
• Because of its open source capabilities, CouchDB is extremely flexible and
can be installed and run on various operating systems
and virtualization tools. It also compatible with PouchDB, a lightweight
database designed to run in browser of mobile devices.
ACID Properties:
• The CouchDB file layout follows all the features of ACID properties.
Once the data is entered in to the disc, it will not be overwritten.
• Document updates (add, edit, delete) follow Atomicity, i.e., they will
be saved completely or not saved at all.
• The database will not have any partially saved or edited documents.
Almost all of these update are serialized and any number of clients
can read a document without waiting and without being interrupted.
There are four different CouchDB connectivity:
1. Java CouchDB
2. PHP CouchDB
3. Python CouchDB
4. Node.js CouchDB