Open In App

Difference between MongoDB and Amazon DocumentDB

Last Updated : 15 Jul, 2020
Improve
Improve
Like Article
Like
Save
Share
Report

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 :

S.No. MongoDB 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).
8. Programming languages supported by MongoDB are Actionscript, C, C#, C++, Clojure, ColdFusion, D, Dart, Delphi, Erlang, Go, Groovy, Haskell, Java, JavaScript, Lisp, Lua, MatLab, Perl, PHP, PowerShell, Prolog, Python, R, Ruby, Scala, Smalltalk. Programming languages supported by Amazon Redshift are Go, Java, JavaScript (Node.js), PHP, Python.
9. It supports Server-side scripting using JavaScript. It does not support Server-side scripting.
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.

rel=”noopener” target=”_blank”


Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads