Daily DBA Stuff

Step into my daily life as a DBA from routine tasks to the awkward gotchas to all of the really cool things that make the oracle database “AMAZING”.

Bad table design reflected using Severely damaged urban buildings after a landslide in Mocoa, Colombia, showcasing destruction

Bad vs Good Table design

Introduction As a DBA, data modeling is part of the job; working with developers, reviewing table design, implementing proper constraints and much more. In an earlier post about performance tuning, I talk about some practical steps that can be taken to fix performance problems. However, sometimes those problems could be “self-inflicted” and I ended that

Bad vs Good Table design Read More »

Autoupgrade patching

Autoupgrade Patching: Cycling Between Oracle Homes

It’s patching season once again, and as a good oracle technologists I patch my environments to ensure security, fix bugs and enjoy new features. Additionally, Oracle provides us the autoupgrade utility which helps simplify the patching process. In my earlier post about using autoupgrade for my very first time, I downloaded autoupgrade and used it

Autoupgrade Patching: Cycling Between Oracle Homes Read More »

Monochrome image of three vintage alarm clocks highlighting the passage of time.

DML WAIT[NOWAIT] in Oracle AI Database 26ai

Introduction DML WAIT[NOWAIT], introduced in 23.26.2.0.0, helps to specify how long a DML statement should wait to acquire a lock before rolling back the DML statement and returning session control to the user. The general syntax is: You can specify whether to wait forever, not at all or for n seconds, milliseconds or microseconds. The

DML WAIT[NOWAIT] in Oracle AI Database 26ai Read More »

note box, index box, index, index cards, filing, office, archive, drawer, wardrobe

Importance of Indexing Foreign Key Columns

Introduction In a relational database, defining constraints can help ensure data integrity, improve data consistency, enhance SQL query performance, and, in the case of foreign keys, ensure referential integrity. I talk a lot more about constraints in a previous post about database constraints. In a separate post, I also talk about locks and transaction concurrency

Importance of Indexing Foreign Key Columns Read More »

Conceptual image of two linked chains in black and orange, symbolizing connection and strength.

About Database Constraints

Most data problems don’t come from bad SQL — they come from bad assumptions. And the worst one is believing that constraints can be “handled in the application.” They can’t. They never could. The moment data is touched by an ETL job, a script, an integration, a migration, or a future rewrite, every application‑level rule evaporates. The database is the only place where integrity actually persists. Datatypes, keys, foreign keys, checks, and assertions aren’t optional features — they’re the backbone of reliable systems. If the data matters, the constraints belong in the database. Full stop.

About Database Constraints Read More »