Skip to content
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

block-cache-size is deprecated since v6.6.0 #19728

Open
choudharypankaj opened this issue Dec 18, 2024 · 0 comments
Open

block-cache-size is deprecated since v6.6.0 #19728

choudharypankaj opened this issue Dec 18, 2024 · 0 comments

Comments

@choudharypankaj
Copy link

File: /release-8.1/tune-tikv-memory-performance.md

It looks like the block-cache-size is deprecated since v6.6.0.
https://docs.pingcap.com/tidb/stable/tikv-configuration-file#block-cache-size

Can we remove the config listed on the document:
`## Size of the shared block cache. Normally it should be tuned to 30%-50% of system's total memory.

When the config is not set, it is decided by the sum of the following fields or their default

value:

* rocksdb.defaultcf.block-cache-size or 25% of system's total memory

* rocksdb.writecf.block-cache-size or 15% of system's total memory

* rocksdb.lockcf.block-cache-size or 2% of system's total memory

* raftdb.defaultcf.block-cache-size or 2% of system's total memory`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant