~/talk

Getting Details on Outstanding SQL Requests

Talkat Laracon EU Online 2021 · 2021-01-18..01-22· [databases]
name:Blackfire
links:none on file
slides:none on file

Blackfire profiler inspects a page that issues 50 SQL requests and shows an aggregate of ~20 ms total with a 1.4 ms DB connect and 240 KB result bandwidth, surfaces an N+1 issue through ORM entity counts, and explains why column names and parameters are missing: PDO anonymizes parameters. Enabling the debug add-on disables pruning and anonymization and captures full queries and pruned fast calls so the exact call graph node that triggers each execute is visible for targeted fixes.

AI-written summary · about

  1. 0:00SQL request debugging intro
  2. 1:16Profiling SQL in demo app
  3. 3:06SQL metrics and DB connections
  4. 6:35Slow SQL queries and ORM
  5. 9:49Locating SQL in call graph
  6. 13:30Function call pruning
  7. 16:19Debug add-on for SQL analysis
  8. 20:13Optimizing SQL with DB tools
  9. 22:01Summary
~/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.