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 Redshift :
Amazon Redshift is an efficient solution to collect and store all your data and enables you to analyze it. It is a large scale data warehouse service for use with business intelligence tools. Feature of Amazon Redshift – fast, simple, cost-effective data warehousing service. It forms part of the larger cloud-computing platform Amazon Web Services.
Difference between MongoDB and Amazon Redshift :
|1.||It is developed By MongoDB, Inc in 2009.||It is developed By Amazon in 2012.|
|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 Redshift is hosted.|
|4.||Its Primary database model is a Document store.||Its primary database model is Relational DBMS.|
|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 supports SQL.|
|7.||APIs and other access methods for MongoDB is proprietary protocol using JSON.||APIs and other access methods for Amazon Redshift is JDBC, ODBC.|
|10.||It supports Triggers.||It does not support Triggers.|
|11.||It supports Partitioning methods using Sharding.||It also supports Partitioning methods using Sharding.|
|12.||It does not provide the concept of Referential Integrity. Hence, there is no Foreign Keys.||It provides the concept of Referential Integrity. Hence, there is Foreign Keys.|
|13.||It supports Multi-document ACID Transactions with snapshot isolation.||It supports 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.