Zabbix历史数据清理

发布时间 2023-04-18 15:21:35作者: Alex010

使用truncate命令直接清空数据库,注意:清理数据属于高危操作,请在测试环境中验证后再执行线上操作!!!


truncate table history;
truncate table history_uint;
truncate table history_str;
truncate table history_text;
truncate table trends;
truncate table trends_uint;
truncate table events;