1. MongoDB:
MongoDB 是一个开源的面向文档的数据库,用于大容量数据存储。它属于 NoSQL 数据库的分类。 NoSQL 工具意味着它不使用通常的行和列。 MongoDB 使用 BSON(文档存储格式),它是 JSON 文档的二进制样式。
2. 亚马逊简单数据库:
它是亚马逊托管的简单数据库服务,数据存储在亚马逊云中。 Amazon 是一项网络服务,用于实时对结构化数据运行查询。这个数据库是由 Amazon.com 用 Erlang 编写的。它具有以下特点——高可用性和灵活性,很少或没有管理负担。
MongoDB 和 Amazon SimpleDB 的区别:
S.NO. | MongoDB | Amazon SimpleDB |
---|---|---|
1. | It is developed By MongoDB, Inc in 2009. | It is developed By Amazon in 2007. |
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 SimpleDB is hosted. |
4. | Its Primary database model is a Document store. | Its primary database model is the Key-value store. |
5. | It has predefined data type such as date or float. | It has has no 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 SimpleDB is RESTful HTTP API. |
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 SimpleDB are .Net, C, C++, Erlang, Java, PHP, Python, Ruby, Scala. |
9. | It supports Server-side scripting using JavaScript. | It does not support Server-side scripting. |
10. | It supports Triggers. | It does not support Triggers. |
11. | It supports Partitioning methods using Sharding. | It does not support Partitioning methods. |
12. | It does not provide the concept of Referential Integrity. Hence, there is no Foreign Keys. | It also does not provide the concept of Referential Integrity. Hence, there is no Foreign Keys. |
13. | It supports Multi-document ACID Transactions with snapshot isolation. | It does not support ACID properties. |