Hacker News new | ask | show | jobs
by kettlecrisp99 69 days ago
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.
1 comments

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