Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

Difference between HBase and MongoDB

  • Last Updated : 07 Jul, 2020

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.

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.


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

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!