Difference between HBase and MongoDB

1. HBase :
This model is used to provide random access to large amount of structured data. It build on the top of the hadoop file system and column-oriented in nature. It used to store the data in HDFS. It is open source database that provide the data replication.

2. MongoDB :
MongoDB is document oriented and does not need the row and column format of data. It give high performance and is dynamic in nature where we don’t need to predefined a schema like in conventional RDBMS. MongoDB stores data in JSON format which allows you to send the data in any form you want. It is the cross platform database which works with almost every plafrom like windows, linux etc.



Difference between HBase and MongoDB :

HBase MongoDB
It is column oriented. It is document oriented.
It is written in JAVA. It is written in C, C++ and Javascript.
Developed by Apache software foundation. Developed by MongoBD Inc.
It has triggers. It also has triggers.
It has no secondary indexes. It has secondary indexes.
Uses a selectable replication factor. Uses a master-slave replication factor.
Data are stored in form of key/value pair. Data are not stored in form of key/value pair.
HBase has high latency operations. MongoDB has low latency operations.
HBase is used to store structured data. MongoDB is used to store any kind of data.
It has distributed database. It has decentralized database.
HBase is less complex than MongoDB. It is more complex than HBase.

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.

My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.


Article Tags :
Practice Tags :


Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.