pingcap / pingcap/docs

block-cache-size is deprecated since v6.6.0

Open
#19,728 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
617
Forks
724
Avg merge
2d 10h
Merged PRs (30d)
223

Description

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`

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open release-8.1/tune-tikv-memory-performance.md and compare the block-cache-size section with the referenced TiKV configuration documentation. Confirm that block-cache-size is deprecated since v6.6.0, remove the listed configuration text, and verify the resulting document no longer presents it as an available setting.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.