The Size amplification of a store in the TiKV cluster can increase to around 1500

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

Original topic: tikv 集群某个 store 的 Size amplification 会涨到 1500 左右

| username: huanglgnauh

As shown in the figure

The region score fluctuates significantly as well

There is still a lot of available space, with usage not exceeding 1%

What could be causing this, and how can it generally be handled?

| username: h5n1 | Original post link

Have you ever done large-scale data deletion?

| username: huanglgnauh | Original post link

Performed a large number of deletions, but only involved a portion of the regions.

| username: Billmay表妹 | Original post link

You can consider upgrading to version v4.0.16 first~

| username: h5n1 | Original post link

After some time, it should come down after compacting.

| username: huanglgnauh | Original post link

Is it possible to manually trigger compact? I manually executed the following command line, but it had no effect:

tikv-ctl --host 192.168.30.21:20160 compact -d kv
| username: h5n1 | Original post link

Check if your version has the --bottommost parameter, you can set it to force.
tikv-ctl --host 10.xxxx:20161 compact -c write -d kv --bottommost force

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.