Mysql system optimization commonly used sql (7, mysql timer)

-- mysql check whether the timer is enabled
SHOW VARIABLES LIKE 'event_scheduler';


-- mysql view all timer tasks
SHOW EVENTS;


View the scheduled task
 SELECT * FROM information_schema.events; 

Close the scheduled task
DROP event temp_event;

-- View all stored procedures
-- show procedure status;

Guess you like

Origin blog.csdn.net/u013558123/article/details/131257665