Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

Difference between Hive and MongoDB

  • Last Updated : 25 Jul, 2020

1. Hive :
Hive is a data warehouse software for querying and managing large distributed datasets, built on Hadoop. It is developed by Apache Software Foundation in 2012. It contains two modules, one is MapReduce and another is Hadoop Distributed File System (HDFS). It stores schema in a database and processed data into HDFS. It resides on top of Hadoop to summarize Big Data and makes querying and analyzing easy.

2. MongoDB :
MongoDB is a cross-platform document-oriented and a non relational (NoSQL) database program. It is an open-source document database, that stores the data in the form of key-value pairs. MongoDB is developed by MongoDB Inc. and initially released on 11 February 2009. It is written in C++, Go, JavaScript, Python languages. MongoDB offers high speed, high availability, and high scalability.

Difference between Hive and MongoDB :

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.


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.

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!