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 :
Difference between Hive and 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.|
|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.|
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.