~/talk

SQL Server hates you(?) - what the DBAs never told the developers

Talkat NDC Oslo 2020 · 2020-06-08..06-12· [databases]
slides:none on file

Defaults kill performance: SQL Server standard edition limits the buffer cache to 128GB (64GB on 2012) so always set max server memory to leave RAM for the OS; parallelism defaults (maxdop = 0, cost threshold = 5) lead to massive CXPACKET and parallelism skew — use cost threshold ~50 and maxdop 1/2/4 and aim for ~20–30% parallel plans. Set-based queries beat row loops (example: 100k rows, 1s vs 126s). Avoid scalar or multi-statement TVFs, beware parameter sniffing, and prefer RCSI with fast tempdb storage.

AI-written summary · about

  1. 0:00Start
  2. 4:09Memory
  3. 10:41What Is Parallelism
  4. 17:02Max Dop
  5. 31:29User Defined Functions
  6. 37:24Function Based Index
  7. 41:23Read the Manual
  8. 41:40Summary
  9. 44:51Parameter Sniffing
  10. 48:06Locking Strategies
  11. 49:26Optimistic Locking
  12. 52:37Dirty Reads
  13. 53:55Row Versioning in Tempdb
~/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.