-
Notifications
You must be signed in to change notification settings - Fork 747
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: enable bloom filter index #6639
feat: enable bloom filter index #6639
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 1 Ignored Deployment
|
cd2b416
to
0f346c0
Compare
561dc0f
to
72a43d7
Compare
aa0c1fd
to
c3415d7
Compare
@youngsofun bloom filter index is not populated for @flaneur2020 filed |
Looks great so far! |
How to set bloom filter false positive? |
it is hard coded as 1% now |
Co-authored-by: Zhyass <mytesla@live.com>
|
I hereby agree to the terms of the CLA available at: https://databend.rs/dev/policies/cla/
Summary
Enable bloom filter at the block level. (thanks @junli1026 !)
for each block, an index file will be generated in the index path (prefixed with
_i/
)Performance
false positive rate set to 1%
number of distinct values is the number of rows of the given block (could be optimised later)
Test scenario
create table t10b as select cast(number as string) as c1, cast(rand() as string) as c2 from numbers(10000000000)
Read:
without bloom filter index
with bloom filter index
without bloom filer index
with bloom filer index
Write:
without bloom filter index
with bloom filter index
Storage:
For this test scenario,
index / data ~= 10%
Fixes #issue