Traditional Culture Encyclopedia - Traditional culture - What is the difference between deleting hbase and deleting relational database?

What is the difference between deleting hbase and deleting relational database?

the deletion of p>hbase is different from the deletion of relational database in different deletion methods and data recovery methods after deletion.

1. There are different deletion methods. In a relational database, we usually DELETE the specified records from the table through a delete statement. In HBase, deletion is mainly divided into logical deletion and physical deletion.

2. There are different ways to recover the deleted data. In the relational database, we can recover the data through backup or recovery. However, in HBase, due to the characteristics of its massive data and the immutability of NoSQL database, once the data is deleted, it is difficult to recover.

HBase stores StructuredData, while traditional relational database stores relational data, so we need to design and implement it differently for different databases.