~/talk

Being mindful of query optimizer

Talkat PGConf India 2025 · 2025-03-05..03-07· [databases]
name:Rakesh Ra
links:none on file
name:Puja A
links:none on file
slides:none on file

A migration checklist focused on measurable differences: DB2 compiles PL/SQL with semantic checks and stores executable plan in memory, PostgreSQL often defers semantic errors and replans every run unless you enable auto_explain; DB2 has optimization levels 0–9 while Postgres relies on stats (default_stats_target=100) and analyze/vacuum; use db2 explain table + db2exfmt or pg explain/analyze and visuals like Depesz; watch null behavior—Oracle may do a full table scan while Postgres does an index-only scan; historical failure rate cited ≈75–80% and a 10,000-row demo validates these differences.

AI-written summary · about

  1. 0:00Introduction to query optimizers
  2. 2:55DB2 vs PostgreSQL optimizer differences
  3. 24:26Oracle optimizer explained
  4. 40:19Query optimization in practice
  5. 45:00Q&A session
~/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.