shlogg ยท Early preview
Florian Engelhardt @realflowcontrol

Proud dad of ๐Ÿ‘ง๐Ÿง’๐Ÿง’๐Ÿง’๐Ÿ‘ง, Coder, Author, Speaker, Geek. Linux ๐Ÿง, Vim, PHP ๐Ÿ˜, Rust ๐Ÿฆ€, OpenSource!

Deadlocks Caused By InnoDB Gap Lock: A REPLACE INTO Gotcha

Deadlocks in MySQL caused by REPLACE INTO statements. Replaced with INSERT ON DUPLICATE KEY UPDATE, solving the issue. Also learned that REPLACE INTO deletes existing records before inserting new ones, triggering delete cascades.