~/talk

The SQL inside the ORM/Builder box | Claudio Zizza

Talkat phpday 2023 · 2023-05-18..05-19· [databases]
slides:none on file

Argues that hiding SQL behind an ORM doubles your problems, with concrete examples: a Microsoft Access site that needs nightly repairs then migrates to MySQL; Doctrine behavior where SQL happens on flush and the unit of work caches entities so lazy/eager loading and clear change results; execution-plan costs drop 15387 → 8 → 4.62 then rise to 26 when a column/index change occurs; shows window functions, CTEs, JSON dialects, and recommends reviewing generated SQL and using raw SQL for heavy queries.

AI-written summary · about

  1. 0:00SQL and ORM concepts
  2. 4:43SQL variations and history
  3. 9:00SQL real-world quirks
  4. 12:57Doctrine ORM basics
  5. 15:27ORM limitations and SQL power
  6. 16:30SQL execution in Doctrine
  7. 20:49Entity manager behavior
  8. 22:56Lazy vs eager loading
  9. 26:10SQL query structure importance
  10. 29:04Hidden SQL changes impact
  11. 31:58ORM vs raw SQL
  12. 33:25Advanced SQL features
  13. 38:25Common Table Expressions
  14. 41:41SQL performance review
  15. 44:06SQL query analysis tools
  16. 44:51SQL learning resources
  17. 45:14Q&A
~/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.