When Others Then John Doe; —

A few weeks ago, while doing PL/SQL code review, I came across this gem: Of course upon seeing that, my head exploded.  Some things cannot be unseen 🙂 While this is an extreme example, I see plenty of other examples of WHEN OTHERS abuse.  This one would return “John Doe” if you ran out of Read More »

The Importance of DBA_ROLLBACK_SEGS – 2 of 3

Comments Off on The Importance of DBA_ROLLBACK_SEGS – 2 of 3 Yes, the original post title said “The Importance of DBA_ROLLBACK_SEGS -1 of 2”.  The second part was supposed to be where I clobbered my undo tablespace and had to use _CORRUPTED_ROLLBACK_SEGMENTS.  Apparently I can’t even clobber my tablespaces right.  My evil plan was simple: Read More »

Captain Smith’s Log

Everyone knows the story of the Titanic.  She hit an iceberg on her maiden voyage which ruptured 5 of her 16 watertight compartments.  Like a RAID array, her hull was designed with redundancy in mind, and could afford the failure of up to 4 of the compartments.  Unfortunately the collision damaged the 5 forward compartments, Read More »