Project Oxygen & Ideo-LabIDEO LAB Dashboard 2026

⚡ 9) Parallel execution & TEMP

Le parallel (PQ) est un accélérateur… et parfois une arme de destruction massive : DOP, PX servers, PQ distribution, spill TEMP, saturation UNDO/redo et coexistence avec OLTP. Ici, on apprend à : gagner vite sans tuer le reste du système.

But #1 : SLA global
Accélérer un job sans casser le p95/p99 OLTP.
coexistence
Risque #1 : TEMP
Spill massif (sort/hash) + I/O + temps qui explose.
TEMP spill
Risque #2 : saturation
CPU run queue, I/O queueing, UNDO/redo, contention.
saturation
9.1

PQ 101 : concepts & architecture PX

Query Coordinator, PX servers, granules, distribution, DOP : comprendre pour maîtriser.

QCPXDOP
9.2

DOP : choix “safe” & auto DOP

DOP fixe vs auto, cap, fairness, que regarder avant d’augmenter.

Auto DOPCapFairness
9.3

Gains vs risques : quand PQ aide (vraiment)

Full scans, partitioned tables, ETL/OLAP vs OLTP : critères d’éligibilité.

OLAPETLNot OLTP
9.4

TEMP & spills : comprendre, mesurer, réduire

Sort/hash spills, distribution skew, workareas, symptômes AWR/ASH.

SpillSkewWorkarea
9.5

UNDO/Redo : saturation par parallélisme

PX DML, charge UNDO, commit path, redo contention : le coût “caché”.

UNDORedoLGWR
9.6

Coexistence workloads : protéger l’OLTP

Limiter, scheduler, fenêtres, caps, “resource discipline”, priorités.

ThrottleWindowsProtect
9.7

Diagnostiquer PQ : plans PX & métriques utiles

DBMS_XPLAN, PX stats, repartition, DFO trees, bottlenecks.

PX PLANDFOBottleneck
9.8

Anti-patterns PQ (la liste noire)

PQ sur petites tables, DOP délirant, skew extrême, joins mal designés, OLTP mix.

AntiSkewOLTP
A

Diagrammes (Mermaid-ready)

QC/PX pipeline, TEMP spill loop, coexistence OLTP/PQ.

copiablepédago
B

Runbook : PQ incident (CPU/TEMP)

Incident → preuve → mitigation immédiate → stabilisation → post-mortem.

IncidentMitigateRollback
C

Commandes & vues (PX/TEMP/UNDO)

V$PX_SESSION, V$PX_PROCESS, V$TEMPSEG_USAGE, V$UNDOSTAT, waits, AWR.

PXTEMPUNDO