Difference between MongoDB and CouchDB

1. MongoDB :
MongoDB is an open-source document-oriented database used for high volume data storage. It falls under classification of NoSQL database. NoSQL tool means that it doesn’t utilize usual rows and columns. MongoDB uses BSON (document storage format), which is a binary style of JSON documents.

2. CouchDB :
Apache CouchDB is an open-source document-oriented NoSQL database that uses multiple formats and protocols to store, transfer, and process its data, it uses JSON to store data, JavaScript as its query language using MapReduce, and HTTP for an API. It was developed by Apache Software Foundation and initially released in 2005. It is written in Erlang.



Difference between MongoDB and CouchDB :

S.NO. MONGODB COUCHDB
1. Developed By MongoDB, Inc on 2009. Developed by Apache Software Foundation and initially released in 2005.
2. MongoDB is written in C++. CouchDB is written in Erlang.
3. It is one of the most popular document stores available both as a fully managed cloud service and for deployment on self-managed infrastructure. It is native JSON – document store inspired by Lotus Notes, scalable from globally distributed server-clusters down to mobile phones.
4. The primary database model for MongoDB is Document store. The primary database model for CouchDB is Document Store.
5. There is no Secondary database models. It has Document store as Secondary database models.
6. Server operating systems for MongoDB are Linux, OS X, Solaris and Windows. Server operating systems for CouchDB are Android, BSD, Linux, OS X, Solaris and Windows.
7. It supports predefined data types such as string, integer, double, decimal, boolean or date. It does not supports predefined data types.
8. It supports read-only SQL queries via the MongoDB Connector for BI. It does not supports SQL query language.
9. It support only one replication methods – Master-master replication. It support two replication methods – Master-master replication and Master-slave replication.
10. It supports In-memory capabilities. It does not supports In-memory capabilities.
11. It support multi-document ACID Transactions with snapshot isolation. It does not support to ensure data integrity after non-atomic manipulations of data.

Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.

My Personal Notes arrow_drop_up

Small things always make you to think big

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.


Article Tags :
Practice Tags :


Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.