~/talk

Entity Framework Core Unchained Getting the Best Performance from Your ORM

Talkat NDC Melbourne 2022 · 2022-06-20..06-24· [databases]
links:none on file
slides:none on file

Entity Framework Core defaults cause surprises but can be tuned: enable retry on failure for cloud or serverless Azure SQL, avoid default tracking and use no tracking for read APIs to save roughly 30% memory/CPU, EF Core uses a merge for bulk inserts (efficient up to ~500 rows) and max batch size controls it, code‑first hides SQL types and indexes, complex joins and ETL perform poorly so prefer stored procedures or dapper for the absolute fastest SQL and use views/indexes designed for your access patterns.

AI-written summary · about

  1. 0:00Start
  2. 0:25Configuration
  3. 8:26Lazy and Eager Loading
  4. 8:44Eager Loading
  5. 9:06Suggested Configuration
  6. 9:31Enable Retry on Failure
  7. 11:06Query Tracking
  8. 11:38Detailed Errors
  9. 13:18Core Events
  10. 14:23Relational Event Ids
  11. 16:47Crud
  12. 19:46Max Batch Size
  13. 24:32Updates and Deletes
  14. 27:24The Fastest Query You Can Run
  15. 33:50Sql Server Indexing
  16. 34:51String Indexes
  17. 36:40Database Design
  18. 37:49General Guidance
  19. 41:51Code First Tools
  20. 46:10Table Partitioning
  21. 48:50Parameter Issues
  22. 50:43Guiding Words
~/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.