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 :
Difference between MongoDB and 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.