Skip to content
Related Articles

Related Articles

Improve Article
Difference between MongoDB and Amazon Redshift
  • Last Updated : 15 Jul, 2020

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 :

S.No.MongoDBAmazon 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.
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 languages supporting JDBC/ODBC.
9.It supports Server-side scripting using JavaScript.It supports Server-side scripting using user defined functions.
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.


My Personal Notes arrow_drop_up
Recommended Articles
Page :