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 binary style of JSON documents.
2. Amazon DocumentDB :
Amazon DocumentDB is a commercial licensed database that has the following feature as it is a fast, scalable, highly available, and fully managed document database service that supports MongoDB workloads. It is currently available in California, Oregon, North Virginia and Ireland regions of AWS. It implements the Apache 2.0 open source MongoDB 3.6 API by emulating the responses.
Difference between MongoDB and Amazon DocumentDB :
|1.||It is developed By MongoDB, Inc in 2009.||It is developed By Amazon in 2019.|
|2.||It is Open Source.||It is commercial.|
|3.||Server operating systems for MongoDB is Linux, OS X, Solaris, Windows.||Server operating systems for Amazon DocumentDB is hosted.|
|4.||Its Primary database model is a Document store.||Its primary database model is also Document store.|
|5.||It has predefined data type such as date or float.||It also has predefined data type such as date or float.|
|6.||It supports read-only SQL queries via the MongoDB Connector for BI.||It does not support SQL.|
|7.||APIs and other access methods for MongoDB is proprietary protocol using JSON.||APIs and other access methods for Amazon DocumentDB is proprietary protocol using JSON (MongoDB compatible).|
|10.||It supports Triggers.||It does not supports Triggers.|
|11.||It supports Partitioning methods using Sharding.||It has none Partitioning methods.|
|12.||It does not provide the concept of Referential Integrity. Hence, there is no Foreign Keys.||It also does not provides the concept of Referential Integrity. Hence, there is no Foreign Keys.|
|13.||It supports Multi-document ACID Transactions with snapshot isolation.||It supports Atomic single-document operations.|
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.