📌  相关文章
📜  MongoDB和Amazon Redshift之间的区别

📅  最后修改于: 2021-08-25 18:00:10             🧑  作者: Mango

1. MongoDB:
MongoDB是用于大量数据存储的面向文档的开源数据库。它属于NoSQL数据库的分类。 NoSQL工具意味着它不使用通常的行和列。 MongoDB使用BSON(文档存储格式),它是JSON文档的二进制样式。

2. Amazon Redshift:
Amazon Redshift是一种有效的解决方案,用于收集和存储您的所有数据,并使您能够对其进行分析。它是与商业智能工具一起使用的大规模数据仓库服务。 Amazon Redshift的功能–快速,简单,经济高效的数据仓库服务。它构成了更大的云计算平台Amazon Web Services的一部分。

MongoDB和Amazon Redshift之间的区别:

S.No. MongoDB 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.
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.