What is the difference between Mongodb and Hadoop

0 votes
Feb 16, 2018 in Big Data Hadoop by satish
• 120 points
12,171 views

10 answers to this question.

+1 vote

MongoDB is a NoSQL database, whereas Hadoop is a framework for storing & processing Big Data in a distributed environment. 

MongoDB

MongoDB is a document oriented NoSQL database. MongoDB stores data in flexible JSON like document format. The fields can vary from document to document, and it gives you the flexibility to change the schema any time. MongoDB is a distributed database, so it provides high availability & horizontal scalability. You can perform real-time aggregations & ad-hoc querying. You can easily map the documents to your applications. 

To know more go through this blog:

https://www.edureka.co/blog/mongodb-the-database-for-big-data-processing/

Hadoop

Hadoop is a collection of software which is used to store & process big data. 

Hadoop Ecosystem - Edureka

Core components of Hadoop are HDFS & YARN. 

HDFS (Hadoop Distributed File System) is the storage part of Hadoop. HDFS file system stores data in a distributed environment, so that data can be processed in a parallel manner. YARN (Yet Another Resource Negotiator) is the resource manager in Hadoop. YARN is the one which allocates resources to various job which are getting submitted to Hadoop. 

On top of YARN, you have multiple tools which can be used to process data. You can either write Mapreduce programs or execute Pig or Hive queries. HBase is again a column oriented NoSQL database which runs on top of Hadoop.  

I would recommend you to go through these Hadoop Tutorial & hadoop ecosystem blog:

https://www.edureka.co/blog/hadoop-tutorial

https://www.edureka.co/blog/hadoop-ecosystem

You can even check out the details of Big Data with the Azure Data Engineer Course.

Hope this will help!

To know more about it, get your Mongodb certification today.

Thanks.

answered Jun 20, 2018 by jenny_code
0 votes
MongoDB is just a Database whereas hadoop is a collection of different tools known as Hadoop Eco-system.
answered Dec 6, 2018 by Tori
0 votes
From a Data-storage perspective, mongodb stores data in collections whereas hadoop stores data in a different file system called HDFS.
answered Dec 6, 2018 by Rohan
0 votes
MongoDB is a database used to provide greate performance for DBMS. Hadoop is used to handle Big Data and is not an optimal choice for Small data
answered Dec 6, 2018 by Corry
0 votes
Hadoop can store any format of data. Be it structured or unstructured. But in case of MongoDB, it supports limited data formats (Json or csv)
answered Dec 6, 2018 by Mrunali
0 votes
MongoDB is just a single Database but Hadoop is a set of Tools. MongoDB is cheap compared to Hadoop setup.
answered Dec 6, 2018 by Guna
0 votes
MongoDB is good for memory handling but it lacks optimization whereas Hadoop can optimize space and utilize it.
answered Dec 6, 2018 by Sushant
0 votes
Hadoop is used to deal with data when the data is being used for analytics purpose. MongoDB is used for real-time data processing/usage
answered Dec 6, 2018 by Rakesh
0 votes
Hadoop is used for Big Data. So, the processing is time is more (mins or maybe hours) but in MongoDB, processing time is in milliseconds so it is more suitable for real-time applications
answered Dec 6, 2018 by Remo
0 votes
Apart from the similarity that they are both used to manage data, they are very different. Hadoop is a framework and MongoDB is a NoSql database
answered Dec 6, 2018 by Deeraj

Related Questions In Big Data Hadoop

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

What is the difference between Hadoop MapReduce and built-in MapReduce?

Differences are as follows: Hadoop's MR can be ...READ MORE

answered Sep 11, 2018 in Big Data Hadoop by Frankie
• 9,830 points
1,618 views
0 votes
1 answer

Hadoop: What is the difference between `hadoop dfs` and `hadoop fs`?

You can find the definition here: $HADOOP_HOME/bin/hadoop ... elif [ ...READ MORE

answered Nov 6, 2018 in Big Data Hadoop by Omkar
• 69,220 points
1,853 views
+1 vote
1 answer

Hadoop Mapreduce word count Program

Firstly you need to understand the concept ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 11,380 points
11,078 views
+2 votes
11 answers

hadoop fs -put command?

Hi, You can create one directory in HDFS ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by nitinrawat895
• 11,380 points
109,076 views
–1 vote
1 answer

Hadoop dfs -ls command?

In your case there is no difference ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by kurt_cobain
• 9,350 points
4,643 views
0 votes
1 answer
0 votes
1 answer

Is it compulsory to have the hadoop user as sudo user?

No, it is not important to have ...READ MORE

answered May 8, 2018 in Big Data Hadoop by Shubham
• 13,490 points
2,379 views
0 votes
1 answer

What is the command to check the number of cores in Spark?

Go to your Spark Web UI & ...READ MORE

answered May 17, 2018 in Big Data Hadoop by Shubham
• 13,490 points
7,057 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP