Showing posts with label couchdb. Show all posts
Showing posts with label couchdb. Show all posts

Sunday, 2 July 2017

What is Data Model in Couch DB

Data Model

* Database is the outermost data structure/container in CouchDB.

* Each database is a collection of independent documents.

* Each document maintains its own data and self-contained schema.

* Document metadata contains revision information, which makes it possible to merge the differences occurred while the databases were disconnected.

* CouchDB implements multi version concurrency control, to avoid the need to lock the database field during writes.

Advantages of CouchDB for Big Data

Why CouchDB?

* CouchDB have an HTTP-based REST API, which helps to communicate with the database easily. And the simple structure of HTTP resources and methods (GET, PUT, DELETE) are easy to understand and use.

* As we store data in the flexible document-based structure, there is no need to worry about the structure of the data.

* Users are provided with powerful data mapping, which allows querying, combining, and filtering the information.

* CouchDB provides easy-to-use replication, using which you can copy, share, and synchronize the data between databases and machines.

What is CouchDB

What is CouchDB?

* CouchDB is an open source database developed by Apache software foundation. The focus is on the ease of use, embracing the web. It is a NoSQL document store database.

* It uses JSON, to store data (documents), java script as its query language to transform the documents, http protocol for api to access the documents, query the indices with the web browser.