Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Reviewed
-
Description
As we all know, HBase uses BloomFilter(ROW and ROWCOL) to filter unnecessary files to improve read performance. But they only support Get and do not support Scan.
In our company(Tencent), many users need to scan all rows with the same prefix, such as Tencent Game. Game user's some operational record will be written into HBase, each game user will have a lot of records, the rowkey is constructed as userid+'#'+timestamps. So we can scan all records for a given user for a specified period.
For this scenario, we designed the prefix Bloom filter. If the startRow and stopRow of the Scan has a valid common prefix, the scan will be allowed to use BloomFilter to filter files which will enhance the performance of the scan.
Now, this feature has been running on our cluster over a year, and scan performance for this scenario has been improved by more than one times than before.
Attachments
Attachments
Issue Links
- duplicates
-
HBASE-10342 RowKey Prefix Bloom Filter
- Closed
- is related to
-
HBASE-21520 TestMultiColumnScanner cost long time when using ROWCOL bloom type
- Resolved
- relates to
-
HBASE-21678 Port HBASE-20636 (Introduce two bloom filter type ROWPREFIX and ROWPREFIX_DELIMITED) to branch-1
- Resolved
-
HBASE-21922 BloomContext#sanityCheck may failed when use ROWPREFIX_DELIMITED bloom filter
- Resolved
- links to