zabbix 由于历史数据过大, 因此导致磁盘空间暴涨, 下面是解决方法步骤: 一.分析数据库: 1. 统计数据库中每个表所占的空间: mysql> SELECT table_name AS "Tables", ), ) "Size in MB" FROM information_schema.TABLES WHERE table_schema = 'zabbixdb' ORDER BY (data_length + index_length) DESC;
CREATE OR REPLACE PROCEDURE APICALL_LOG_INTERFACE_CLEAN ( CLEANDAY IN Number --天数 ) AS v_cleanDay number; --天数 v_errmsg varchar2(2000); --错误信息 v_id varchar2(50); --ID BEGIN v_cleanDay:=NVL(CLEANDAY,0); select sys_guid() into v_id from dual; --随机一个log
1. CentOS 7上启动zabbix-server失败,/var/log/messages中的报错信息如下: Feb :: mysql-server1 systemd: Starting Zabbix Server with MySQL DB... Feb :: mysql-server1 kernel: zabbix_server[]: segfault at ip 00007fce09ca6bd0 sp 00007fffa39b7808 error ] Feb :: mysql-serv