发表于 2021-08-01 17:03:08 by 月小升
服务器记录了一些操作日志经常把空间吃满了
select id,send_email,user_email,from_unixtime(send_time) from email_log order by id desc limit 1;
from_unixtime 转换linux格式为可以阅读的格式
删除ID小于20万的数据
delete from email_log where id < 200000;
optimize table email_log
Your email address will not be published. Required fields are marked *
Comment *
Name *
Email *
站点
验证码 2+8=?