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”.

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 »

Flashback Data Archive: Recreating History, After The Fact

Introduction As an IT professional, especially one working closely with data, surely, almost definitely, you have been asked a question from the users along the lines of “Can we know what the value was of col1 in the table t1 at 25:00 on Thursday, the 30th of February 8000 years ago?” (Silly, but that’s really

Flashback Data Archive: Recreating History, After The Fact Read More »

About Schema-Only Accounts

Background Story time When I just started working as a DBA, the Senior Database Administrator was taking me through the environment and how everything was set up, including all the servers, databases, applications, and more. He was talking about one of the purchased applications that runs in production, and then explained that the vendor had

About Schema-Only Accounts Read More »