Karim
08/28/2025, 7:21 AMRetention Period
to 1 hour
yesterday, but the old data is still here.
How can I clean the traces/logs/metrics fro the ClickHouse database completely, please?Karim
08/28/2025, 7:22 AMdocker exec -it clickhouse bash
clickhouse-client -u default --password
then:
TRUNCATE TABLE signoz_traces.signoz_index_v2;
TRUNCATE TABLE signoz_traces.signoz_spans;
TRUNCATE TABLE signoz_logs.signoz_logs;
TRUNCATE TABLE signoz_logs.signoz_log_attributes;
Nagesh Bansal
08/29/2025, 1:32 AMWhen retention settings are updated, the changes apply only to newly ingested data. Existing data retains the previous retention settings, as updating retention for existing data is a resource-intensive process.
Nagesh Bansal
08/29/2025, 1:35 AMKarim
08/29/2025, 2:02 PM