dataiotech Labs
Home/Glossary/Cardinality
CardinalityOptimizer & Execution Plans

Cardinality

The estimated (E-Rows) or actual runtime (A-Rows) number of rows returned by each row-source operation in an execution plan. Cardinality is the single most influential input driving CBO choices between index scans and full scans or Nested Loops and Hash Joins. Large divergences between E-Rows (scaled by Starts) and A-Rows in DBMS_XPLAN.DISPLAY_CURSOR (ALLSTATS LAST) pinpoint optimizer misestimation.

Internal Architecture Breakdown

The estimated (E-Rows) or actual runtime (A-Rows) number of rows returned by each row-source operation in an execution plan. Cardinality is the single most influential input driving CBO choices between index scans and full scans or Nested Loops and Hash Joins. Large divergences between E-Rows (scaled by Starts) and A-Rows in DBMS_XPLAN.DISPLAY_CURSOR (ALLSTATS LAST) pinpoint optimizer misestimation.

Applicable Versions: Oracle 19c, 26ai Related Terms: Selectivity, Cost-Based Optimizer, Histogram, Optimizer Statistics, Execution Plan Canonical Glossary ID: ORA-GLOS-09

Production Inspection Queries

Oracle
-- Canonical TRIAD-2026-W49 reference: see /oracle/cheatsheets/oracle-sql-troubleshooting