~/talk

Write scalable SQL with Oracle Autonomous Database

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

Shows three concrete antipatterns and fixes: concatenating user input causes SQL injection and heavy parsing — switching to bind variables turns 5,000 lookups from ~7s to <0.1s (≈118× faster); putting SQL inside loops wastes network and CPU — moving to PL/SQL FORALL with RETURNING batches 100,000 inserts from ~2.5s down to ~0.5s (≈8×) and cuts an 8.5s ship-loop to 3.5s; querying one table repeatedly becomes N× work — replacing scalar subqueries with analytic OVER ROWS drops a 13.5s run to 0.1s (≈135×) by avoiding 127M-row re-scans.

AI-written summary · about

  1. 0:00Database tuning fundamentals
  2. 4:12Avoiding string concatenation
  3. 9:04Efficient SQL execution
  4. 13:38Eliminating loops in SQL
  5. 18:49Advanced bulk processing
  6. 22:34Optimizing analytical queries
~/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.