~/talk

Top Database Performance Techniques

Talkat DDD Melbourne 2025 · on Saturday, 2025-02-22· [databases]
links:none on file
slides:none on file

Practical, SQL Server–focused tactics with measurable results: use SET STATISTICS IO and the Stack Overflow 2013 dataset to compare logical reads; archiving 22.5 years of old rows yields ~1000x speedups by restoring cache hit rate; adding targeted indexes cuts a migration from an estimated 36 years to 8.5 hours; avoiding implicit type conversions drops reads from ~192,000 to 20; reversing strings and indexing that column gives ~1000x faster pattern searches with a reversed-string index.

AI-written summary · about

  1. 0:00Introduction and overview
  2. 3:17Measuring query performance
  3. 4:23Reduce table size
  4. 7:13Select only needed columns
  5. 10:24Indexing for performance
  6. 14:16Verify index usage
  7. 16:06Avoid implicit type conversions
  8. 20:21Avoid looping in queries
  9. 23:11Use AND instead of OR
  10. 26:50Avoid leading wildcards
  11. 30:56Prefer JOIN over WHERE
  12. 33:16Use EXISTS over COUNT
  13. 36:10Top performance techniques recap
  14. 39:03Additional optimization tips
  15. 45:25Resources and conclusion
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.