When TABLE ACCESS FULL Is Healthy
Efficient when retrieving a large fraction (typically >10-20%) of a table or when scanning small lookup tables cached in memory.
When TABLE ACCESS FULL Becomes a Production Bottleneck
Catastrophic inside a NESTED LOOPS inner branch (Starts > 50) or when returning only a handful of rows out of millions due to missing indexes or INTERNAL_FUNCTION implicit type conversions.
DBMS_XPLAN Tuning Checklist
- Check Starts column: high Starts + TABLE ACCESS FULL means repeated full scans.
- Inspect Predicate Information for filter() expressions wrapping columns in TRUNC(), UPPER(), NVL(), or INTERNAL_FUNCTION().
- Compare Buffers against A-Rows: >50 buffers per returned row signals a missing selective composite index.
Before (Slow Pattern)
SELECT * FROM payment_ledger WHERE account_no = 904122;
After (Tuned Pattern)
-- Match VARCHAR2 column type so Oracle uses B-Tree index SELECT * FROM payment_ledger WHERE account_no = '904122';