📌  相关文章
📜  MongoDB 和 Amazon DocumentDB 之间的区别

📅  最后修改于: 2021-09-13 02:50:03             🧑  作者: Mango

1. MongoDB:
MongoDB 是一个开源的面向文档的数据库,用于大容量数据存储。它属于 NoSQL 数据库的分类。 NoSQL 工具意味着它不使用通常的行和列。 MongoDB 使用 BSON(文档存储格式),它是 JSON 文档的二进制样式。

2. 亚马逊文档数据库:
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” 目标=”_blank”