1. MongoDB:
MongoDB是用于大量数据存储的面向文档的开源数据库。它属于NoSQL数据库的分类。 NoSQL工具意味着它不使用通常的行和列。 MongoDB使用BSON(文档存储格式),它是JSON文档的二进制样式。
2. Amazon SimpleDB:
它是Amazon托管的简单数据库服务,数据存储在Amazon Cloud中。它是Amazon是一项用于实时在结构化数据上运行查询的Web服务。该数据库由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. |