← Oracle administration: recovery, performance, and production
06 / 19 · 135 MIN

Tuning and change acceptance

Choose measurable interventions and assess the complete workload.

Concept and mechanism

Many blocked sessions can result from one transaction. Identify the chain, owner, and work in progress before terminating sessions or restarting services. Rollback can take time and retries can add pressure.

For slow queries, an index can improve reads and penalize writes; assess the combined SLAs. SQL plan baselines manage accepted plans, while profiles help correct estimates without necessarily fixing one plan. They are distinct mechanisms with their own usage requirements.

Database In-Memory maintains a complementary columnar representation for certain access patterns; it is neither an archive of every result nor a replacement for persistence, redo, or backup. Capacity and population still need planning.

Guided application

In a fictional upgrade project, prepare a representative workload for an isolated environment. Database Replay and SQL Performance Analyzer study different effects, subject to licensing and data-protection requirements. Compare functional results, throughput, errors, and duration distributions.

If several parameters change together, observed improvement does not establish which caused the effect. A controlled intervention supports attribution and return. Resource Manager can redistribute capacity across services, but an overall deficit requires managing demand, resources, or deadlines.

Committee reporting should show payment and reporting impact, risks, rehearsal evidence, and the proposed decision rather than reducing everything to average CPU percentage. Record remaining limits and the owner of post-change monitoring.

Progress is not acceptance

V$SESSION_LONGOPS observes certain long-running operations rather than providing a universal percentage for the entire service. SOFAR and TOTALWORK belong to the operation identified by OPNAME and use UNITS. With SOFAR=720 and TOTALWORK=900, 80% of those units is complete.

That does not establish 80% of total time, migration or project. Check LAST_UPDATE_TIME and treat TIME_REMAINING as an estimate. When TOTALWORK=0, do not invent a denominator to display progress; show observed work and unknown total.

The PM needs to distinguish an almost-finished stage from application validation that has not started.

Locate the work area

A work area can consume memory and temporary space during sort or hash join. V$SQL_WORKAREA_ACTIVE is a snapshot of active areas; a row disappearing later does not prove no spill ever occurred. Record SQL execution, OPERATION_ID, memory, temporary space and NUMBER_PASSES.

Zero passes corresponds to optimal mode; two passes do not mean parallel degree two. In parallel execution, QCINST_ID together with QCSID identifies the coordinator. Correlate the operation with the executed plan and business stage before proposing more memory.

Several small concurrent areas can also pressure the total even if none looks huge alone.

Aggregate PGA and incident window

PGA_AGGREGATE_TARGET is not memory reserved exclusively for each work area. V$PGASTAT distinguishes aggregate target, work-area auto target and other consumers including PL/SQL and Java. If auto target is small, identify what uses remaining memory before increasing configuration.

Cumulative counters begin at startup: over allocation count of eight in two samples means a zero delta in that window, not eight new occurrences or absence of historical events. Cumulative cache hit percentage likewise does not describe a recent spike alone.

Retain unit, container, instance and time origin to compare values correctly. To test a memory hypothesis, hold the query, dataset and rehearsal concurrency constant. Collect the plan, work areas and consumer time before and after, changing one variable at a time where possible.

Define an error limit and overall resource limit that require stopping before starting the experiment. Reduced TEMP without deadline improvement may be insufficient; a faster query that deprives other services of memory may also be unacceptable.

Record the cost to neighboring consumers and the steps for restoring configuration. Acceptance must relate the intervention to observed service outcomes, not merely to a more attractive memory metric.

Worked exercise: closing report

In a fictional exercise, the scan stage is at 720/900 blocks, functional validation has not started, and one work area has NUMBER_PASSES=2. Overallocation count stayed at eight for ten minutes. The supported conclusion is: scan at 80% of known units, validation pending, additional work-area passes observed and no new overallocation increment in the window.

Neither a single cause nor a guaranteed completion time is established. Request two further samples at the correct scope and connect impact to the deadline. Increasing memory can be a mitigation hypothesis but requires reviewing concurrency and total resources.

These snapshots were created for teaching and were not collected from an Oracle database executed in this block.

Prepare a 120-minute session

Choose one of the three mocks after studying the five domains. Each form has 65 items: 13 on multitenant, 13 on recovery, 16 on performance, ten on deployment and 13 on new features. These counts round public weights; they do not reproduce Oracle exam selection or difficulty.

Questions are original and reused from lessons and practice without overlap between the three forms. If you already know items, record that when interpreting results. Arrange an uninterrupted setting and separate first-answer time from review.

One personal plan is 95 minutes for the first pass and 25 for uncertainty; this is not an Oracle rule. For multiple-response items, select the complete requested set. Local scoring gives one point only for an exact match and zero for incomplete, incorrect or blank answers.

Turn the result into review work

The debrief should identify the failed decision. In a fictional example, 46 correct answers out of 65 gives approximately 70.8% local accuracy. That does not award an Oracle pass even when the official exam has a public passing score.

If recovery scored 6/13 and new features 12/13, first revisit the chain, recovery time target and import conditions behind recovery errors. For each mistake write the ignored fact, assumed hypothesis, reason to reject the chosen alternative and evidence that would change the decision.

Return to the lesson and solve an example with different values or context before repeating. A second result on the same form is influenced by memory. The 14-group mock map is internal teaching organization, not official identifiers or exhaustive coverage of every subobjective. Independent specialist review remains pending.

SYNTHETIC REPORT
Scan: SOFAR=720; TOTALWORK=900; UNITS=blocks
Functional validation: not started
Work area: NUMBER_PASSES=2
PGA over allocation count: 14:00=8; 14:10=8; no restart

Calculations: 720/900=0.8; 8-8=0
Limits: stage percentage; cause and ETA unproven.
IN PRACTICE

An index saves five reporting minutes but adds twelve to the critical batch: acceptance depends on the combined effect.

Common pitfalls

Kill without transaction context; index as universal benefit; profile as fixed plan; priority as new capacity.

Related topics: Containers, services, and resources · PDB lifecycle and isolation · Backup and recovery evidence

Take this idea with you

Connect progress, memory and timings to observed scope and service acceptance criteria.

Create account

References

Oracle® is a registered trademark of Oracle and/or its affiliates. bigsavant.com is an independent preparation platform and is not affiliated with, associated with, sponsored, authorised or endorsed by Oracle. Content and questions are original, are not official exam questions, and completing our tests does not award or guarantee any certification. Names are used only to identify the subject. All other trademarks belong to their respective owners.