Reputation: 619
I am new bee in HBASE. So could someone please clarify my query on Row level deletes in HBase. Say we have 10 records in a table. So every record will be stored in separate HFile. So if we try to delete any record, it will delete the actual HFile. I understood, this is how row level deletes are handled in HBASE.
But during compaction Smaller HFiles will be converted to large HFile.
So all the data will be stored together in larger HFiles. Now, how row level deletes will be handled if all the data is stored together?
Upvotes: 1
Views: 638
Reputation: 196
Upvotes: 1
Reputation: 3105
Basically it just gets marked for deletion and the actual deletion happens during the next compaction. Please see the Deletion in HBase article for details.
Upvotes: 1