Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jun 27, 2025. It is now read-only.

add cache_index_and_filter_blocks#7

Open
lhztop wants to merge 6 commits into
twmht:master from
lhztop:master
Open

add cache_index_and_filter_blocks #7
lhztop wants to merge 6 commits into
twmht:master from
lhztop:master

Conversation

@lhztop

@lhztop lhztop commented Jun 16, 2017

Copy link
Copy Markdown

add cache_index_and_filter_blocks options, which is import when bloom filter

twmht commented Jun 16, 2017

Copy link
Copy Markdown
Owner

@lhztop

thanks for the PR.

it's great.

Can you add some test cases as well?

lhztop commented Jun 19, 2017

Copy link
Copy Markdown
Author

Ok. now it's in test_options.py

gcp commented Feb 15, 2018

Copy link
Copy Markdown

Any reason this hasn't been pulled in?

Looks like it also makes it possible to expose bottommost_compression which would be nice to be able to configure (FB recommends LZ4 top, ZSTD bottom).

twmht commented Feb 15, 2018

Copy link
Copy Markdown
Owner

@gcp

yup. some test cases failed, I am going to verify.

oersted commented Jun 26, 2019
edited
Loading

Copy link
Copy Markdown

Any news on this? According to facebook/rocksdb#3216 this might be a solution to a memory leak issue I have.

twmht commented Jun 27, 2019

Copy link
Copy Markdown
Owner

@oersted

yup. I am currently migrating all of the existing features to pybind11 branch.

twmht commented Jun 27, 2019

Copy link
Copy Markdown
Owner

@oersted

so if we set cache_index_and_filter_blocks to true, then it can solve the memory leak problem?

oersted commented Jun 27, 2019

Copy link
Copy Markdown

@twmht Actually it looks like it was an unrelated garbage collection issue, I was creating too many new small objects in my merge operation that weren't getting collected in time. Thanks anyways.

iFA88 commented Jun 27, 2019
edited
Loading

Copy link
Copy Markdown

Take some attention to https://github.com/facebook/rocksdb/blob/6.3.fb/include/rocksdb/table.h#L61-L71

I have several databases with different sizes: 30gb 250gb 400gb 1.2tb. I doesn't have any memory issue.

twmht commented Jun 27, 2019

Copy link
Copy Markdown
Owner

@oersted

I will add merge operations to pybind11 branch in a few days. after that You can try the branch to test if it has memory leak.

jackrobison pushed a commit to jackrobison/python-rocksdb that referenced this pull request Nov 3, 2021
alexreg pushed a commit to alexreg/python-rocksdb that referenced this pull request Mar 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /