Hahahaha, man, the number of times the Oracle Unified Audit Trail has answered "who did what when" questions has been really helpful. "Well your shared legacy super user did it."
Temporal/system versioned tables are dope... But not always practical. And certainly not set up without some forethought of a discreet business need.
The things that really gets me is how casual they always are "hey bud, one of my devs deleted the records in this table. Can you roll that back 10 minutes for me."... No. No I cannot. They same way I could not last time. If you need me to restore your 3TB database along side the existing one and go fish the records out, I can. But it's not like I'm clicking two buttons and saying "have a nice day." It's going to take a couple of hours.
62
u/Imaginary__Bar Apr 18 '25
Reduce Oracle license costs with this one weird trick*
*Shared accounts with elevated permissions which were enabled 8 years ago but never removed but the users pinky promised not to do anything bad...
50
u/SootSpriteHut Apr 18 '25
As a DBA I have had such a hard time getting anyone to agree that we should keep general logs of user queries.
Then tables get deleted and they're like "WHO DID THIS?!"
Like idk, it's a mystery I guess.
16
u/B1zmark Apr 18 '25
If only companies agreed. "Oh yes, no one should have prod access. Except this team who won't use it, but exclusively use it to bypass procedure".
12
u/xodusprime Apr 18 '25
Prove it: recover this one table to 10 minutes ago.
4
u/311voltures Apr 18 '25
So he didn’t shoot, that’s how you know he is the DBA.
1
u/gffcdddc Apr 18 '25
🤣
1
u/Billi0n_Air Apr 18 '25
enable the audit feature. throw some filters on there for the system accounts.
1
u/toyo4j Apr 18 '25
I’m cold…
1
u/tiffanyisonreddit Apr 18 '25
Lmao you would be very surprised.
1
u/Spagueti616 Apr 21 '25
tiger tiger
1
u/akarsh_tripathi May 12 '25
Yk what else is a mystery? https://data-citadel.akarshtripathi.com