1. MongoDB:
MongoDB是用于大量数据存储的面向文档的开源数据库。它属于NoSQL数据库的分类。 NoSQL工具意味着它不使用通常的行和列。 MongoDB使用BSON(文档存储格式),它是JSON文档的二进制样式。
2. Amazon DocumentDB:
Amazon DocumentDB是商业许可的数据库,具有以下功能,因为它是支持MongoDB工作负载的快速,可扩展,高度可用且完全托管的文档数据库服务。目前在AWS的加利福尼亚州,俄勒冈州,北弗吉尼亚州和爱尔兰地区可用。它通过模拟响应来实现Apache 2.0开源MongoDB 3.6 API。
MongoDB和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”