Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I wrap all of my production manipulations in a transaction, and commit only if the results are expected. Yes, it may take locks that block customer-facing transactions, so I have selects ready to go in the transaction to minimise this.

15 years and counting since wiping out a large production table and taking a day to restore from backup.



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

Search: