~/talk

Entity Framework debugging using SQL Server: A Detective Story

Talkat NDC Oslo 2019 · 2019-06-17..06-21· [databases]
slides:none on file

Shows how to find slow EF Core LINQ by reading SQL Server: use execution plans to spot a missing index (plan even gives the CREATE INDEX), enable Query Tags (TagWith strings flow as comments so Extended Events link SQL back to the source method), use Query Store for time-series hotspots (enable briefly — ~4% overhead), and apply EF Core 2.2 features: raw interpolated SQL, compiled queries (measured 25–30% faster) and DbContext pooling (~20% faster) for a combined ~35–40% speedup.

AI-written summary · about

  1. 0:00Start
  2. 14:11QUERY TAGS
  3. 17:03EXTENDED EVENTS
  4. 23:39SHOW HOW TO ENABLE QUERY STORE
  5. 31:59STRING INTERPOLATION IN RAW SOL METHODS
  6. 36:29EXPLICITLY COMPILED QUERIES
  7. 43:12DBCONTEXT POOLING
~/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.