例如删除zabbix中 history18年11月份的分区数据。
mysql> alter table history truncate partition p201811050000;
Query OK, 0 rows affected (0.26 sec)
例如删除zabbix中 history18年11月份的分区数据。
mysql> alter table history truncate partition p201811050000;
Query OK, 0 rows affected (0.26 sec)
转载于:https://www.cnblogs.com/xzlive/p/10954397.html