Scripts de nettoyage des logs Clickhouse & documentation
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
clickhouse-client --user=default --password=F4stCharge --queries-file=/home/yultek/cleanuplogs.sql
|
||||
@@ -0,0 +1,7 @@
|
||||
TRUNCATE TABLE system.part_log;
|
||||
TRUNCATE TABLE system.trace_log;
|
||||
TRUNCATE TABLE system.processors_profile_log;
|
||||
TRUNCATE TABLE system.query_log;
|
||||
TRUNCATE TABLE system.metric_log;
|
||||
TRUNCATE TABLE system.latency_log;
|
||||
TRUNCATE TABLE system.asynchronous_metric_log;
|
||||
Reference in New Issue
Block a user