High Load Issue in TiKV

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: tikv负载高问题

| username: Jolyne

[TiDB Usage Environment] Production Environment / Testing / Poc
[TiDB Version]
5.2.1
[Encountered Problem]
From the monitoring, the memory usage of tikv is always high, even though there are no background tasks and only a few SQL executions.
[Reproduction Path] Operations performed that led to the problem
[Problem Phenomenon and Impact]


[Attachment]

Please provide the version information of each component, such as cdc/tikv, which can be obtained by executing cdc version/tikv-server --version.

| username: hey-hoho | Original post link

High usage is due to the block-cache, which is normal. Check your storage.block-cache.capacity setting. If it is close to the value seen in the monitoring, then there is no issue.

| username: OnTheRoad | Original post link

Memory is pre-allocated, so high usage is normal. By default, block-cache.capacity is 45% of the physical memory.

| username: Jolyne | Original post link

Is it normal for 32G to monitor over 50G?

| username: wuxiangdong | Original post link

Memory is normal, CPU is a bit high.

| username: hey-hoho | Original post link

Please post the complete configuration so we can take a look. The screenshot you provided only shows the rocksdb section.