Originally posted by: biggestmuff
I'm not quite sure what you position is over him. If you're his shift supervisor or section lead/head, I'd do the following:
-Pull him aside and tell him how bad he fucked up, only more eloquently
-Have a shift/team meeting telling everyone what happened, but DO NOT single him out; this will provide a 'lessons learned' to your group.
- And, of course, your backup system needs to be re-evaluated.
Originally posted by: KingGheedora
What would you do in this situation? I know enough about the sql inner workings to figure out who ran the query that caused the problem, and when, and i even have the text of the query that updated all the records.
Anyways, one of the main tables we use as part of our operation is not part of our production environment, and we aren't losing any money (this is exactly why we don't allow developers access to our production db) as a result of this mistake. I can even recover >99% of the three columns that were updated because luckily i created a backup of the table last night for some unrelated tests I was running. Our true nightly backup already overwrote the previous night's backup with the fucked up version of the table so that backup is useless. The data in this table is very usefuland we report off of it all the time.
I'm mainly pissed that this happened and the employee didn't fucking tell me he did this. If he had and this had been any other day, I wouldn't have the personal backup, but I would have been able to recover from the nightly backup. His not telling me would have fucked us over and made all the historical data basically useless.
Should I just fix it and send a message directly to him, what would I say in that case? "I noticed that all the records in the table were updated because you ran an update statement last night without a proper where condition. Please be more careful with this in the future."
Should i send a message to the team and not really single him out at all?
Probably either of the above two options would also include an office-politically-correct reprise of paragraph #3 of this post. I plan to let my boss know this happened in a private message.
Originally posted by: kranky
To me, the big issue is that he didn't come forward after making the mistake.
Originally posted by: KingGheedora
I know enough about the sql inner workings to figure out who ran the query that caused the problem, and when, and i even have the text of the query that updated all the records.
Originally posted by: Delita
Fire his bitch ass
Originally posted by: drum
Originally posted by: kranky
To me, the big issue is that he didn't come forward after making the mistake.
again, assuming he realized he made a mistake.
we use EMC Avamar tapeless backup and it is marvelous
Originally posted by: alkemyst
Originally posted by: KingGheedora
I know enough about the sql inner workings to figure out who ran the query that caused the problem, and when, and i even have the text of the query that updated all the records.
Whoever is in charge should handle this. Especially that you have just defined yourself as a non-SQL expert.
Originally posted by: KingGheedora
What would you do in this situation? I know enough about the sql inner workings to figure out who ran the query that caused the problem, and when, and i even have the text of the query that updated all the records.
Anyways, one of the main tables we use as part of our operation is not part of our production environment, and we aren't losing any money (this is exactly why we don't allow developers access to our production db) as a result of this mistake. I can even recover >99% of the three columns that were updated because luckily i created a backup of the table last night for some unrelated tests I was running. Our true nightly backup already overwrote the previous night's backup with the fucked up version of the table so that backup is useless. The data in this table is very usefuland we report off of it all the time.
I'm mainly pissed that this happened and the employee didn't fucking tell me he did this. If he had and this had been any other day, I wouldn't have the personal backup, but I would have been able to recover from the nightly backup. His not telling me would have fucked us over and made all the historical data basically useless.
Should I just fix it and send a message directly to him, what would I say in that case? "I noticed that all the records in the table were updated because you ran an update statement last night without a proper where condition. Please be more careful with this in the future."
Should i send a message to the team and not really single him out at all?
Probably either of the above two options would also include an office-politically-correct reprise of paragraph #3 of this post. I plan to let my boss know this happened in a private message.
Originally posted by: KingGheedora
As i stated in the original post, this is NOT A PRODUCTION DB, and we aren't losing any money with this data being lost. It's operational data that is useful to track but we can start from scratch if need be, without any of it, at any time.
Originally posted by: torpid
Originally posted by: KingGheedora
As i stated in the original post, this is NOT A PRODUCTION DB, and we aren't losing any money with this data being lost. It's operational data that is useful to track but we can start from scratch if need be, without any of it, at any time.
If you are reporting off it then isn't it production data? It might not be customer data but it sounds like production data to me...??
Originally posted by: Atheus
I've done exactly this when working late on a site launch. Something like "UPDATE x SET y=z" with no WHERE...
Luckily it was only a big list of filenames and directories and I was able to rebuild it by writing a program to go through the file system looking for the right files. Took me ages.
Originally posted by: nakedfrog
Originally posted by: Atheus
I've done exactly this when working late on a site launch. Something like "UPDATE x SET y=z" with no WHERE...
Luckily it was only a big list of filenames and directories and I was able to rebuild it by writing a program to go through the file system looking for the right files. Took me ages.
That's a mistake you only ever make once, eh?![]()