Difference Between RDBMS and HBase
3K views
Oct 24, 2024
Difference Between RDBMS and HBase Watch more Videos at https://www.tutorialspoint.com/videotutorials/index.htm Lecture By: Mr. Arnab Chakraborty, Tutorials Point India Private Limited
View Video Transcript
0:00
In this video we are discussing the difference between RDBMS and HBAS
0:06
So let us go for one comparison table for the better understanding
0:10
So here the first column is denoting the features of HBS and the second column is denoting
0:15
the features of RDBMS. So this is column oriented. We know that HBIS is column oriented, no SQL, non-relational distributed database
0:26
So it is a column-oriented database. in case of ADBMS, it is row-oriented. In case of H-base, we can add columns easily as when
0:35
required, so it is less restrictive. But in case of ADBMS, restriction is very high while
0:41
adding columns because the schema is more restrictive and schema is static. When we need more
0:49
processing power and dig space, we can add more hardware with a cluster without upgrading
0:55
the present one. So, here we can add more processing power. commodity hardwares, so the storing cost will be lesser, the hardware cost will be lesser
1:03
in that case, and in this way we can have more processing power
1:07
But in case of ADBMS, when we need more processing power and Dix base, we need to upgrade
1:13
the same server, not adding other commodity hardwares. HBass is good for with the sparse table, that means whenever we are having multiple null values
1:25
So for those sparse tables, HBES is very much. efficient but RDBMAS is not optimized for the sparse tables
1:36
Next point is that the size of data depends on number of machines and here the size
1:41
of data depends on the dick size of the server. So here the data will get replicated will be distributed onto multiple different nodes So that why the size of the data depends upon the number of machines not on the dig space of the server It this supports the structured and unstructured
2:01
data. We know that structured data means our database. You can consider a database as an example
2:07
of structured data. And in case of unstructured data, it might be a text file, might be a PDF
2:13
might be one image, or your videos. So it supports both structural
2:18
structured and unstructured data. But on the other hand, in case of RDBMS, this supports the structured data only
2:27
So, here you can find that this is no transaction guarantee and there is no transaction guarantee in case of HBS and it guarantees the transaction integrity
2:39
So this transaction integrity is guaranteed for ADBMS, but there is no guarantee for transaction integrity in case of HBMS
2:48
So, that's why HBs is not suitable for those applications where frequent and huge number
2:54
of transactions are going to take place. So, there is no building support for referential integrity and it supports the referential integrity
3:03
We know that referential integrity means there is a foreign key, that means prime attribute
3:08
in one table, if it is a non-prime attribute in another table, then in the second table where
3:13
it is non-prime, there it will be called as a foreign key. So that conception was there in case of RDB
3:18
So, in the respective foreign key column, we cannot put any value which is not belonging
3:23
to the primary key column of the other table. So, that is known as the differential integrity
3:29
So, DBMS supports a referential integrity, but that is no built in support for
3:35
a referential integrity in case of edge base. So in this way, we have discussed that what are the differences between the RDBMS and
3:43
the H base. Thanks for watching this video
#Computers & Electronics
#Data Management
#Programming