Per Lundberg
11/15/2024, 12:56 PMPer Lundberg
11/15/2024, 12:57 PMclickhouse-client
, something like this:
SELECT count(*)
FROM signoz_spans
Query id: c6949b98-39b1-4517-a844-38cf42b9af03
โโโcount()โโ
1. โ 18280880 โ -- 18.28 million
โโโโโโโโโโโโ
1 row in set. Elapsed: 0.003 sec.
clickhouse :) OPTIMIZE TABLE signoz_spans FINAL
OPTIMIZE TABLE signoz_spans FINAL
Query id: 20c96a08-9583-4172-9b78-a44db1aa808d
Ok.
0 rows in set. Elapsed: 213.808 sec.
clickhouse :) select count(*) from signoz_spans
SELECT count(*)
FROM signoz_spans
Query id: 314776ce-3bd3-4c1f-9478-f5b341a74629
โโโcount()โโ
1. โ 17510478 โ -- 17.51 million
โโโโโโโโโโโโ
1 row in set. Elapsed: 0.002 sec.
Per Lundberg
11/15/2024, 12:58 PMOPTIMIZE
command, we could see in the UI that the retention period hade come into effect; old data has been removed now. Why doesn't this happen automatically for us?Per Lundberg
11/15/2024, 12:59 PMnitya-signoz
11/15/2024, 3:04 PMnitya-signoz
11/15/2024, 3:05 PMPer Lundberg
11/20/2024, 6:42 AMPer Lundberg
11/20/2024, 6:43 AMnitya-signoz
11/20/2024, 8:52 AM