~/talk

Harnessing the power of Oracle Database optimizer hints

Talkat Oracle CloudWorld 2022 · 2022-10-17..10-20· [databases]
name:Ron Craig
links:none on file
slides:none on file

Shows when hints truly control plans and when they don’t: hints are always followed only if applicable (example: FULL on a subquery is ignored unless placed in that query block), hash joins require equality predicates, and index/parallel combos must be valid. Demonstrates using DBMS_XPLAN.DISPLAY_CURSOR +ALLSTATS LAST and +alias to see E-Rows/A-Rows and query block names, extracts a full plan with +outline, and recommends SQL Plan Management and the _OPTIMIZER_IGNORE_HINTS debug knob for upgrades.

AI-written summary · about

  1. 0:00Introduction to hints
  2. 0:58What are optimizer hints
  3. 4:43Optimizer hint categories
  4. 8:49Implementing hints correctly
  5. 12:24Managing complex query blocks
  6. 14:46Troubleshooting unused hints
  7. 17:21Achieving plan stability
  8. 21:07Advanced optimizer modes
  9. 26:47Common hint pitfalls quiz
  10. 31:05Final takeaways
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.