SHEET 03blog/tag/databases/ REVISED
Writing tagged databases
2026
-
One DATE() call was locking 1.4 million rows every five minutes
How a function call in a WHERE clause and InnoDB's locking reads in INSERT ... SELECT turned a five-minute cron into a table-wide lock, and the two-line fix.