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 SimpleDB :
It is a hosted simple database service by Amazon, with the data stored in the Amazon Cloud. It is Amazon is a web service for running queries on structured data in real-time. This database is written in Erlang by Amazon.com. It has the following features – high availability and flexibility, with little or no administrative burden.
Difference between MongoDB and 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.|
|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.|
Attention reader! Don’t stop learning now. Get hold of all the important CS Theory concepts for SDE interviews with the CS Theory Course at a student-friendly price and become industry ready.