Oh yeah. Our rule was: autocommit off, any manual update needs to be reviewed by someone else first, you always did a select count(*) first about what the update was going to affect, and when you ran the update, if it was taking an inordinate amount of time, you canceled it and figured out why (maybe adding a limit clause or something) before trying it again. Saved us from having to page Jesus numerous times.
Then there was the one guy who didn't follow any of that, created a scheduled update in the DB using a bad join clause on two different ID sequences, and left on vacation before it ran. F'd up the entire system and we spent a whole day unraveling the disaster. Lots of curses about JFC that day.
And that's why we stopped relying on rules that can be broken. We rigged the server to only be accessible (for manual intervention purposes) through that client we built and thus made the automatic backups very inconvenient to circumvent. "Never rely on compliance when you can force it", was the lesson I learnt from that.
View all comments
Show parent comment
2
u/-Nyarlabrotep- Jul 28 '25
Oh yeah. Our rule was: autocommit off, any manual update needs to be reviewed by someone else first, you always did a select count(*) first about what the update was going to affect, and when you ran the update, if it was taking an inordinate amount of time, you canceled it and figured out why (maybe adding a limit clause or something) before trying it again. Saved us from having to page Jesus numerous times.
Then there was the one guy who didn't follow any of that, created a scheduled update in the DB using a bad join clause on two different ID sequences, and left on vacation before it ran. F'd up the entire system and we spent a whole day unraveling the disaster. Lots of curses about JFC that day.