📜  Hive和MongoDB之间的区别

📅  最后修改于: 2021-08-27 16:48:40             🧑  作者: Mango

1.Hive:
Hive是一个基于Hadoop的用于查询和管理大型分布式数据集的数据仓库软件。它由Apache Software Foundation在2012年开发。它包含两个模块,一个是MapReduce,另一个是Hadoop分布式文件系统(HDFS)。它将模式存储在数据库中,并将处理的数据存储到HDFS中。它驻留在Hadoop之上,以汇总大数据并简化查询和分析。

2. MongoDB:
MongoDB是跨平台的面向文档的非关系(NoSQL)数据库程序。它是一个开放源代码文档数据库,以键值对的形式存储数据。 MongoDB由MongoDB Inc.开发,最初于2009年2月11日发布。它使用C++,Go,JavaScript, Python语言编写。 MongoDB提供高速,高可用性和高可伸缩性。 Hive和MongoDB之间的区别:

S.NO. HIVE MONGODB
1. It was developed by Apache Software Foundation in 2012. It was developed by MongoDB Inc. in 2009.
2. It is an open-source software. It is also an open-source software.
3. Server operating systems for Hive is all OS with a Java VM . Server operating systems for MongoDB are Solaris, Linux, OS X, Windows.
4. The replication method that Hive supports is Selectable Replication Factor. The replication method that MongoDB supports is Master-Slave Replication.
5. It support C++, Java, PHP, Python programming languages. It supports many programming languages like C, C#, Java, JavaScript, PHP, Lau, Python, R, Ruby, etc.
6. It supports Sharding partitioning method. It also supports Sharding partitioning method.
7. The primary database model is Relational DBMS. The primary database model is Document Store.
8. JDBC, ODBC, Thrift are used as APIs and other access methods. Proprietary protocol using JSON is used as APIs and other access methods.
9. It do not support in-memory capabilities. It supports in-memory capabilities.
10. No transaction concepts. ACID properties of transaction is used.