• Oracle

    The Good, the Bad and The Ugly

    Two weeks ago, after a new mart had performed excellent for 24hrs, a sudden and detrimental decline in performance was seen. I’d been trying to track this issue for almost two months, but had only seen it in two or three processes total and never to this level. I had some history from previous DBA’s, but they didn’t know what was causing it and when a mart has a limited lifespan before you are dropping and recreating it from a 6TB warehouse- any DBA knows, this is not going to be easy. The main goal of the mart is to…

  • Oracle

    Recovering from “DBA Stupid Trick, #8006”

    …also known as follow up post on “dropping unused columns…” In my last post I discussed how to drop unused columns on a compressed, partitioned table. The reason I had come across this task, as I had listed in the post, was that a developer had a huge update that would have taken over 24 hrs that we could have done in 70 seconds if we utilized an exchange partition option. This update on the two partitions needed to be performed BEFORE I could get the maintenance window I needed to drop the unused columns. Being the “too smart for…

  • Oracle

    ORA-14097: column type or size mismatch in ALTER TABLE EXCHANGE PARTITION

    A developer needed to do some serious data changes to a partition. I thought I’d be a helpful DBA and suggested he do a CTAS of the one partition, make the change and we’d exchange the partition. He was thrilled when the update statement that I’d killed after 24 hrs of no successful runs was cut down to 70 seconds with the CTAS and then all we needed to do was have me exchange it back in- ALTER TABLE TAB1 EXCHANGE PARTITION P4706 WITH TABLE TAB_CPY_4706; ERROR at line 1: ORA-14097: column type or size mismatch in ALTER TABLE EXCHANGE…

  • DBA Life

    The Makings of a Great DBA Team

    As I’ve spent two “tours of duty” as a Lead DBA in my career, I often keep in mind what makes a great DBA team, noting both when companies realize what it takes and when they don’t. I’ve watched great DBA’s walk out the door because during the interview process someone decided the candidate didn’t have the EXACT skills of another DBA or they just weren’t sure what they were looking for due to the fact that the DBA role can have such a wide range of skill demands when the manager really needed to look at what skill were…