ALTER TABLE commands running multiple times, bogging down site
-
This appears to have started with a recent update. I can’t find the code that is doing it, but there is some bug that keeps trying to upgrade the database over and over again, which locks the tables, and brings the site to a halt.
Can you point me to the place in your code where it runs such commands like:ALTER TABLE wp_tec_occurrences CHANGE COLUMN
start_date
start_date
VARCHAR(19) NOT NULL
I’m not doing anything in the plugin particularly, just normal site visitors (or maybe a cron job?) are triggering this update over and over again (and lots more queries just like it, on lots/every? column.
- The topic ‘ALTER TABLE commands running multiple times, bogging down site’ is closed to new replies.