📜  Hive和 MongoDB 的区别

📅  最后修改于: 2021-09-08 16:21:23             🧑  作者: 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.