dataiotech Labs
dbaguide.com · Senior DBA & SRE Diagnostic Standard v2.0
Home/Error Library/ORACLE/oracle-perf-ora-cat-12-elapsed-time-spike-with-unchanged-workload-vo
Oracle
Oracle 19c, 26aiSEVERITY: P1 HIGH
6 min read
Elapsed Time Spike with Unchanged Workload Volume [Performance Symptom]

Performance Symptom · Elapsed Time Spike with Unchanged Workload Volume

A sharp multiplication in per-execution wall-clock Elapsed Time for one or more critical SQL statements while transaction/execution volume remains comparable to baseline. This is a symptom—not a confirmed root cause—and can reflect a SQL Plan Regression (new PLAN_HASH_VALUE), same-PHV data or bind skew, lock contention, or storage latency.

Reviewed by:Senior Oracle DBA (dataiotech Labs)

Diagnostic Disambiguation Matrix

When It Occurs

Verified operational error scenario under Oracle 19c, 26ai: A sharp multiplication in per-execution wall-clock Elapsed Time for one or more critical SQL statements while transaction/execution volume remains comparable to baseline. This is a symptom—not a confirmed root cause—and can reflect a SQL Plan Regression (new PLAN_HASH_VALUE), same-PHV data or bind skew, lock contention, or storage latency.

When This Is NOT The Error

Not an error belonging to an external database engine or unrelated subsystem; native to this catalog.

First 60 Seconds Emergency Protocol (Read-Only Safety Rule):

The error string is a symptom, not the root cause. Do not restart database servers blindly! Execute the read-only diagnostic queries below to determine the actual failure mode before attempting session terminations or configuration changes.

NOTE
Entry Type (ORA-CAT-12): Performance Symptom Licensing Requirement: Core Oracle Database (EE & SE2) — no extra pack required. Historical interval diffing via DBA_HIST_SQLSTAT requires Diagnostics Pack (or license-free Statspack/DPA/Foglight). · Required Privileges: SELECT on V$SQLSTATS, V$SQL, V$SQL_PLAN (or SELECT_CATALOG_ROLE)

▸1. Description & Context

A sharp multiplication in per-execution wall-clock Elapsed Time for one or more critical SQL statements while transaction/execution volume remains comparable to baseline. This is a symptom—not a confirmed root cause—and can reflect a SQL Plan Regression (new PLAN_HASH_VALUE), same-PHV data or bind skew, lock contention, or storage latency.

Severity Context: High — Translates directly into P95/P99 Performance SLO breaches and degraded end-user responsiveness.

▸2. Possible Causes (Confirm Root Cause via Evidence)

  • •Possible cause (must be verified): A SQL Plan Regression introducing a worse PLAN_HASH_VALUE.
  • •Possible cause: Same PLAN_HASH_VALUE processing far more rows due to skewed bind values or recent data growth.
  • •Possible cause: Elevated wait times from storage I/O latency, host CPU saturation, or enq: TX row lock contention.
  • •Possible cause: Cold Buffer Cache state or parallel execution queueing.

▸3. Read-Only Diagnostic Steps

  1. 1Compare EXECUTIONS, AVG_ELAPSED_SEC, AVG_CPU_SEC, AVG_BUFFER_GETS, and PLAN_HASH_VALUE in V$SQLSTATS against pre-change baseline values.
  2. 2Decompose Elapsed Time into CPU vs. wait buckets (USER_IO_WAIT_TIME, CONCURRENCY_WAIT_TIME, APPLICATION_WAIT_TIME).
  3. 3If PLAN_HASH_VALUE changed, diff the execution plans via DBMS_XPLAN.DISPLAY_CURSOR; if unchanged, inspect +PEEKED_BINDS and active waits.
sql
-- ORA-CAT-12 | Core Oracle Database (EE & SE2) — no extra pack required. Historical interval diffing via DBA_HIST_SQLSTAT requires Diagnostics Pack (or license-free Statspack/DPA/Foglight). | Syntax-Reviewed (Not Runtime-Tested) -- READ-ONLY | License-free core V$ view SELECT sql_id, plan_hash_value, executions, ROUND(elapsed_time/GREATEST(executions,1)/1e6, 4) AS avg_elap_s, ROUND(cpu_time/GREATEST(executions,1)/1e6, 4) AS avg_cpu_s, ROUND(user_io_wait_time/GREATEST(executions,1)/1e6, 4) AS avg_io_s, ROUND(concurrency_wait_time/GREATEST(executions,1)/1e6, 4) AS avg_conc_s, ROUND(application_wait_time/GREATEST(executions,1)/1e6, 4) AS avg_app_s, ROUND(buffer_gets/GREATEST(executions,1), 1) AS avg_lio FROM v$sqlstats WHERE executions > 0 ORDER BY elapsed_time DESC FETCH FIRST 15 ROWS ONLY;

▸4. Controlled Remediation Options

  • •If telemetry confirms a SQL Plan Regression, enforce the previously verified plan via SQL Plan Baseline or SQL Patch.
  • •If the PHV is unchanged and wait time dominates, address the specific lock, storage, CPU, or bind-skew driver rather than forcing a plan blindly.

▸5. Related Terms & References

NEW CONCEPTENGINEERING MASTERY
Senior Interview Ready

ORACLE Diagnostic Standards, Operational Reliability, and Interview Readiness.

This error is not merely a config typo; it is a lesson in consistency models, concurrency architectures, and capacity planning.

Measurable Learning Objectives:
  • Articulate error symptoms, distinguishing diagnostics, and safe recovery steps.
  • Implement architectural safeguards to permanently eliminate root causes.

What Senior Interviews Ask About This Error?

Q1When this error (Elapsed Time Spike with Unchanged Workload Volume [Performance Symptom]) surfaces in production, what must be inspected within the first 60 seconds?
Mid
Senior Engineer & Architect Response:

Before restarting servers blindly, inspect active sessions, locks, and recent engine logs to identify the true failure mode.

Q2Which metrics should be integrated into alerting to prevent recurrence of this issue?
Senior
Senior Engineer & Architect Response:

Set up early warning metrics targeting connection pools, memory grants, disk headroom, or lock queues with actionable thresholds.

Q3How should applications defensively guard against this database failure?
Junior
Senior Engineer & Architect Response:

Implement idempotent retry loops with backoff, strict query timeouts, verified connection pool bounds, and structured error logging.

Senior DBA & SRE Career Roadmap

Explore database reliability milestones, incident response protocols, and architectural leadership.

View Roadmap

More ORACLE Diagnostic Playbooks

Battle-tested triage guides for production incidents.

View All
dbaguide.com · Performance Symptom: Elapsed Time Spike with Unchanged Workload Volume · Kanıt Odaklı Teşhis Standardı
Last Updated: November 2, 2026 · Format v2.0