mysql 系统优化常用sql(7、mysql定时器)

-- mysql查看是否开启定时器
SHOW VARIABLES LIKE 'event_scheduler';


-- mysql查看所有的定时器任务
SHOW EVENTS;


查看定时任务
 SELECT * FROM information_schema.events; 

关闭定时任务
DROP event temp_event;

-- 查看所有的存储过程
--  show procedure status;

猜你喜欢

转载自blog.csdn.net/u013558123/article/details/131257665