shuaiwei588 发表于 2019-1-22 13:56:14

线上zabbix数据库重建表分区

生成分区sql语句脚本:  
# cat partition.sh
  
#!/bin/bash
  
startDate=20150304
  
endDate=20151231
  
startSec=`date -d "$startDate" "+%s"`
  
endSec=`date -d "$endDate" "+%s"`
  
for((i=startSec;i
页: [1]
查看完整版本: 线上zabbix数据库重建表分区