logoalt Hacker News

kettlecrisp99 • today at 8:58 AM • 2 replies • view on HN

Thing that bit me most wasn't the DDL itself, it was lock queuing. An ADD COLUMN is instant but if it waits behind a long read, every query behind it piles up too. Lock_timeout plus retry saved us more than any clever migration tool.


Replies

vira28 • today at 9:49 AM

Agree. `lock_timeout` will go a long way in terms of damage control.

kcnaragam863 • today at 4:10 PM

[flagged]