tikv-control#Manual-Compact-Single-TiKV-Data Documentation Error

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

Original topic: tikv-control#手动-compact-单个-tikv-的数据 文档有误

| username: zzw6776

–db cannot be used, it should actually be -d

And the parameter introduction for -c is missing

Additionally,
compact-cluster does not have a specific usage introduction

The actual usage is somewhat different from compact. For compact-cluster, you should specify --pd, while for compact, you specify --host.

| username: h5n1 | Original post link

Has your compact finished running?

| username: zzw6776 | Original post link

Not yet. Out of a total of more than 20,000 execution statements, only over 7,000 have been processed.

cf-write has significantly decreased.

| username: h5n1 | Original post link

A single thread is too slow.

| username: zzw6776 | Original post link

I started 4 threads. One thread takes a long time to execute a single task. The 4 threads together occupy about 40-50% of the I/O, so I don’t dare to add more.

| username: redgame | Original post link

There are also bug finders. Impressive.

| username: Billmay表妹 | Original post link

I would like to provide feedback on the documentation issue.

| username: YuJuncen | Original post link

It looks like tikv-ctl: Migrate clap to structopt by peng1999 · Pull Request #10837 · tikv/tikv · GitHub forgot to include the long opt during the migration It seems that the long opt was not added initially, causing the --db option to be unavailable. I updated the documentation a bit.

| username: Billmay表妹 | Original post link

English PR tikv: fixed some description about `--db` and `compact-cluster` by YuJuncen · Pull Request #14851 · pingcap/docs-cn · GitHub

| username: system | Original post link

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