清空分区表里某个分区的数据

例如清空zabbix中 history18年11月份的分区数据。

mysql> alter table history truncate partition p201811050000;

Query OK, 0 rows affected (0.26 sec)

  

posted @ 2019-05-31 11:38  MR__Wang  阅读(2602)  评论(0编辑  收藏  举报