Remix.run Logo
▲ kettlecrisp99 an hour 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.

▲vira28 23 minutes ago | parent [-]

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