
- DBMS Tutorial
- DBMS - Home
- DBMS - Overview
- DBMS - Architecture
- DBMS - Data Models
- DBMS - Data Schemas
- DBMS - Data Independence
- Entity Relationship Model
- DBMS - ER Model Basic Concepts
- DBMS - ER Diagram Representation
- DBMS - Generalization, Aggregation
- Relational Model
- DBMS - Codd's Rules
- DBMS - Relational Data Model
- DBMS - Relational Algebra
- DBMS - ER to Relational Model
- DBMS- SQL Overview
- Relational Database Design
- DBMS - Database Normalization
- DBMS - Database Joins
- Storage and File Structure
- DBMS - Storage System
- DBMS - File Structure
- Indexing and Hashing
- DBMS - Indexing
- DBMS - Hashing
- Transaction And Concurrency
- DBMS - Transaction
- DBMS - Concurrency Control
- DBMS - Deadlock
- Backup and Recovery
- DBMS - Data Backup
- DBMS - Data Recovery
- DBMS Useful Resources
- DBMS - Quick Guide
- DBMS - Useful Resources
- DBMS - Discussion
What are the differences between HBase and Cassandra?
Let us understand the concepts of HBase and Cassandra before learning the differences between them.
Cassandra
Cassandra has a different infrastructure. Cassandra uses different DBMS along with their infrastructure. When Cassandra uses different DBMS then time complexity will increase.
Cassandra supports ordered partitioning. This can lead to row size up to 10 megabytes.
In Cassandra, we use seed nodes. These nodes perform inter-cluster communication. Here, we use internal communication. Casandra has lightweight transactions.
Cassandra is based on the Jbury shell. But it has a specific Query language. That is CQL, it is modelled after SQL. It is better than HBase in Documentation. It uses the bloom filters for key lookup
HBase
HBase utilizes Hadoop infrastructure. These have several parts like Zookeeper, data nodes.
HBase doesn't support ordered partitioning. It offers coprocessor capability, and it support triggers. It uses master nodes. These nodes monitor and coordinate the actions of region servers.
HBase we used internode communication. HBase has two transactions, those are ' Check and Put ' and ' Read-Check-Delete '. It is based on the JRuby shell and is not better than Cassandra in documentation.
HBase uses bloom filters as a form of indexing.
Differences
The major differences between HBase and Cassandra are as follows −
HBase | Cassandra |
---|---|
HBase utilize Hadoop infrastructure | Cassandra uses different DBMS along with their infrastructure |
It is based on Bigtable | It is based on DynamoDB |
HBase is written in JAVA | Cassandra is written in JAVA |
HBase has no secondary indexes. | Cassandra has restricted secondary indexes. |
HBase has distributed database | Cassandra has decentralized database |
HBase has triggers | Cassandra does not have triggers |
It provides more consistency | It provide less consistency |
HBase handles up to 1000 nodes | Cassandra handles up to 400 nodes |
It is less complex than Cassandra | It is more complex. |
- Related Articles
- Difference between RDBMS and HBase
- Difference between Hive and HBase
- What are the differences between C++ and Java?
- What are the differences between C and Java?
- What are the differences between holography and photography?
- What are the differences between lodash and underscore?
- What are the differences between IPO and FPO?
- What are the differences between solvency and liquidity?
- What are the differences between Flutter and Xamarin?
- What are the differences between Fiber and Fabric?
- What are the differences between Minerals and Ores?
- What are the differences between fertilization and syngamy?
- What are the differences between coal and petroleum?
- What are the differences between patent and trademark?
- What are the differences between liquidation and bankruptcy?
