Hacker News new | past | comments | ask | show | jobs | submit login

Do you know a good resource with these tricks? I often struggle to predict exactly which schema migrations will lock tables aggressively and what the smartest workaround is.



We've had good success with https://github.com/sbdchd/squawk to lint migrations. It tells you if a query is going to lock your table (as long as it's written in SQL, not some ORM DSL)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: