Difference between RDBMS and HBase
Relational Database Management System (RDBMS) –
RDBMS is for SQL, and for all modern database systems like MS SQL Server, IBM DB2, Oracle, MySQL, and Microsoft Access. A Relational database management system (RDBMS) is a database management system (DBMS) that is based on the relational model as introduced by E. F. Codd. An RDBMS is a type of DBMS with a row-based table structure that connects related data elements and includes functions that maintain the security, accuracy, integrity and consistency of the data. The most basic RDBMS functions are create, read, update and delete operations.Hbase follows the ACID Properties.
HBase is a column-oriented database management system that runs on top of Hadoop Distributed File System (HDFS). It is well suited for sparse data sets, which are common in many big data use cases. It is an opensource, distributed database developed by Apache software foundations. Initially, it was named Google Big Table, afterwards it was re-named as HBase and is primarily written in Java. It can store massive amount of data from terabytes to petabytes. It is built for low-latency operations and is used extensively for read and write operations. It stores large amount of data in the form of tables.
Difference between RDBMS and HBase:
|It requires SQL (structured query language)||NO SQL|
|It has a fixed schema||No fixed schema|
|It is row oriented||It is column oriented|
|It is not scalable||It is scalable|
|It is static in nature||Dynamic in nature|
|Slower retrieval of data||Faster retrieval of data|
|It follows the ACID (Atomicity, Consistency, Isolation and Durability) property.||It follows CAP (Consistency, Availability,Partition-tolerance) theorem.|
|It can handle structured data||It can handle structured, unstructured as well as semi-structured data|
|It cannot handle sparse data||It can handle sparse data|
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.