top of page
ORA-00060 Deadlock Detected: Reading the Deadlock Graph and Fixing the Cause for an Azure Application on OCI Base Database Service
After a new release, the order service in Azure reports ORA-00060 several times an hour. The database resolves each deadlock in seconds, but the cause is always in the application or the schema. Find the trace files, read the deadlock graph, tell a row-level deadlock from an unindexed foreign key, identify the code paths involved and fix them. Step by step for Oracle Database 19c, with expected output.
OmerNarman
7 hours ago8 min read
Changing a Column's Data Type While the Application Keeps Writing: Online Table Redefinition on Exadata in Oracle Database@AWS
Dates stored as text in a 62 GB billing table cannot be fixed with ALTER TABLE without a long outage. DBMS_REDEFINITION copies the table into its new shape in the background, keeps it in sync with live changes, and swaps the two in a few seconds. Check the data first, build the interim table, copy dependents, sync, finish and verify. Step by step for Oracle Database 19c, with expected output.
OmerNarman
2 days ago7 min read
Undoing a Bad UPDATE Without a Restore: Flashback Query, Version Query and Flashback Table on Exadata in Oracle Database@Google Cloud
A release script cancels every EU order instead of a few hundred, and deletes a whole table by mistake. Before anyone asks for a point-in-time restore, use the undo data: check how far back it reaches, save the before-image, find the guilty transaction with Flashback Version Query, repair only the damaged rows, and flash back the table nobody else touched. Step by step for Oracle Database 19c, with expected output.
OmerNarman
2 days ago8 min read
ORA-04031 After a Release: Finding the Hard Parse Storm That Eats the Shared Pool on Exadata in Oracle Database@Azure
A new application release starts sending SQL with literal values, every statement is parsed from scratch, the shared pool fragments and sessions fail with ORA-04031. Confirm the error, read the memory resizes and the parse rates, find the statements that differ only in their literals, and stabilise the shared pool while the developers fix the code. Step by step for Oracle Database 19c, with expected output.
OmerNarman
3 days ago8 min read
Faster Reports Without a New Licence: Database In-Memory Base Level on Exadata in Oracle Database@Azure
Since Oracle Database 19.8, up to 16 GB of the In-Memory column store can be used without the Database In-Memory option. Enable Base Level on a RAC database on Exadata in Oracle Database@Azure, choose the tables that fit, watch them populate, confirm that reports scan them in memory, and keep an eye on the space. Step by step, with expected output.
OmerNarman
5 days ago7 min read
Why Is Every Commit Slow? Diagnosing log file sync on Exadata in Oracle Database@Azure
Order entry feels sluggish and AWR puts log file sync at the top of the wait events. The cause can be slow redo writes, a busy log writer, a synchronous standby, or simply an application that commits far too often. Separate them with a few queries, find the sessions that commit most, and fix the real cause. Step by step for Oracle Database 19c, with expected output.
OmerNarman
6 days ago8 min read
Handing Out PDBs Without Handing Out the Server: Lockdown Profiles on a Shared CDB in Oracle Database@Azure
Application teams want their own PDB and administrator, but a PDB administrator can still change instance parameters, open network connections from PL/SQL and reach the operating system. A lockdown profile, defined once in the CDB root, removes those powers and leaves normal administration alone. Step by step for Oracle Database 19c on Exadata in Oracle Database@Azure, with expected output.
OmerNarman
7 days ago7 min read
The Session That Holds a Lock and Does Nothing: Finding and Preventing Idle Blockers Behind Azure Load Balancers
An application pod in Azure is replaced in the middle of a transaction, its connection disappears without a goodbye, and the database session keeps its row locks for hours while every other user waits. Find the blocker across RAC instances, end it, then stop it happening again with dead connection detection below Azure's idle timeout and the MAX_IDLE_BLOCKER_TIME parameter. Step by step for Oracle Database 19c on Exadata in Oracle Database@Azure, with expected output.
OmerNarman
Nov 288 min read
Will the Upgrade Make Any Query Slower? Testing 19c Production SQL on 23ai with SQL Performance Analyzer in Oracle Database@Azure
Before upgrading production to 23ai, find out which statements get faster and which get slower, using production's own SQL. Capture a SQL tuning set on 19c, carry it to a 23ai test database on Exadata Database Service in Oracle Database@Azure, replay each statement with SQL Performance Analyzer and compare buffer gets and elapsed time, then fix the regressions before go-live. Step by step, with expected output.
OmerNarman
Nov 278 min read
Batch Jobs That Follow the Database: Oracle Scheduler with RAC Services Across a Cross-Cloud Data Guard Pair
Nightly jobs that run from cron on one database server stop the day that server is down, and stay behind after a switchover to the standby in another cloud. Move them into Oracle Scheduler, tie them to a role-based RAC service through a job class, and they run on the right instance, move with the service when a node fails, and start on the new primary after a switchover. Step by step for Oracle Database 19c, with expected output.
OmerNarman
Nov 268 min read
Will the Disk Group Survive a Storage Server Failure? Reading ASM Capacity Correctly on Exadata in Oracle Database@Azure
FREE_MB says the DATA disk group is 31 percent free, yet a single storage server failure would leave it unable to rebuild its mirrors. Read ASM capacity the way Exadata needs it: usable file space after reserving room for a failure, space per database, weekly growth, recycle bin leftovers, rebalance progress and a simple alert. Step by step for Oracle Database 19c and Grid Infrastructure 19c, with expected output.
OmerNarman
Nov 257 min read
Catching Silent Corruption Across Clouds: Block Checks, Lost Write Protection and Automatic Block Repair with Data Guard
A storage layer that acknowledges a write it never made, or a block damaged on its way to disk, can go unnoticed for months. With the primary in Oracle Database@Azure and the standby in OCI, Data Guard can detect and repair both. Set block checksums, block checking and lost write protection on both sides, validate the standby, and let Active Data Guard repair corrupt blocks automatically. Step by step for Oracle Database 19c, with expected output.
OmerNarman
Nov 248 min read
Watching a Slow Report While It Runs: Real-Time SQL Monitoring on Exadata in Oracle Database@Azure
A monthly report that used to take four minutes now runs for forty, and AWR only tells you afterwards. Real-Time SQL Monitoring shows the statement while it runs: which plan line is busy, how many rows each step really returns compared with the estimate, and whether Exadata offloads the scan. Find the bad estimate, fix it with extended statistics and prove the result. Step by step for Oracle Database 19c, with expected output.
OmerNarman
Nov 237 min read
Taming Connection Storms from Kubernetes: Database Resident Connection Pooling on Exadata in Oracle Database@Azure
Sixty pods in Azure Kubernetes Service, each with its own connection pool, add up to well over a thousand dedicated server processes on the Exadata cluster, most of them idle. Database Resident Connection Pooling shares a small set of server processes between all of them. Start the pool, size it, point the pods at it with a connection class, and read the pool statistics. Step by step for Oracle Database 19c, with expected output.
OmerNarman
Nov 227 min read
Letting the Database Choose Its Indexes: Automatic Indexing on Exadata in Oracle Database@Azure
After a migration to Exadata Database Service in Azure, the old indexes were tuned for different hardware and a different workload. Automatic Indexing in Oracle Database 19c watches the workload, builds candidate indexes invisibly, tests them against real statements and keeps only those that help. Start in report-only mode, read the activity report, limit it to the right schemas, then let it implement. Step by step, with expected output.
OmerNarman
Nov 217 min read


Runbook: GoldenGate Trail Files Not Purged — Oldest_Chkpt_Seqno 0 and a Stale EXTTRAIL Registration
Diagnosing GoldenGate 19c trail files that are not purged: a stale EXTTRAIL registration at sequence 0, checkpoint analysis, the fix procedure, and verification.
OmerNarman
Nov 99 min read
Signing In to Oracle Database@Azure with Microsoft Entra ID Tokens Instead of Database Passwords
Every DBA and analyst already has a Microsoft Entra ID account, yet each database still keeps its own users and passwords. Oracle Database 19c (19.16 and later) accepts Entra ID OAuth2 access tokens: register the database as an application, map app roles to shared schemas and global roles, fetch a token with the Azure CLI and connect without a database password. Step by step, with expected output.
OmerNarman
Nov 98 min read
Partitioning a Live Table Online and Compressing Its History on Exadata in Oracle Database@Azure
A single 900 GB orders table, still growing, with years of history nobody updates. Convert it to interval partitioning with one ALTER TABLE ... ONLINE while the application keeps writing, check pruning and indexes, then move the old partitions to Hybrid Columnar Compression online and measure the space saved. Step by step for Oracle Database 19c on Exadata Database Service, with expected output.
OmerNarman
Nov 87 min read
Stopping Runaway Queries Before They Start: SQL Quarantine on Exadata in Oracle Database@Azure
Ad hoc reporting users in Azure can send a single query that runs for an hour and takes the Exadata cluster's CPU with it. Resource Manager can cancel such a query, but it runs again tomorrow. SQL Quarantine remembers the bad plan and refuses it before it starts. Step by step for Oracle Database 19c on Exadata Database Service, with expected output.
OmerNarman
Nov 68 min read
Rotating Application Database Passwords Without Downtime: Gradual Password Rollover Across Clouds
When the same database account is used by application servers in OCI, Azure and on premises, changing its password usually means a coordinated outage. Gradual password rollover lets the old and the new password work side by side for a set period, so each cloud can update its secret store and restart its pools in its own time. Step by step for Oracle Database 19c (19.12 and later) and 23ai, with expected output.
OmerNarman
Nov 67 min read
bottom of page