Hi, I have a 3 server cluster. I imported some data but I noticed it uses more disk space than I expected. However, compacting table manually times out.
admin@yb-0:~$ yb-admin -master_addresses $MASTER_ADDRS compact_table ysql.yugabyte xyz
Error running compact_table: Timed out (yb/client/client-internal.cc:146): Unable to compact table yugabyte.xyz: Timed out waiting for FlushTables
Each server is doing about 800 IOPS and uses ~2 CPU cores at the moment, although the /tasks view doesn’t show any active task.
For reference - I imported around 19 GB and 5 GB (uncompressed) into two tables. There are 7 indexes including the primary keys.
The CPU and IOPS load might be caused by the compaction command actually. It disappears after a few minutes and appears again if I try yb-admin compact_table again.
In the /tasks list, there are the “flush” tasks for the three tablets. But they show as failed after the 30s timeout. So it means the operation succeeded but the success just wasn’t reported. Thank you for the explanation.