~/talk

Top 10 transactional database mistakes, and how to avoid them

Talkat SQLBits 2024 · 2024-03-19..03-23· [databases]
links:none on file
links:none on file
slides:none on file

A concise checklist of ten real failures and fixes: missing relational design and duplication (move tables to third normal form), absent surrogate keys (add identity primary keys), destructive deletes (use soft deletes or change tracking), no created/updated timestamps, lax data types and checks (add constraints), cascades of triggers and bad hierarchies (consider hierarchyid), too many or too few indexes, row-by-row cursors (replace with set operations), and dynamic SQL risks — replace volatile queries with CRUD stored procedures to cache plans and stop SQL injection.

AI-written summary · about

  1. 0:00Introduction
  2. 0:54What are transactional databases
  3. 3:13Normalisation
  4. 5:19Identity
  5. 6:37Hard delete
  6. 8:27Columns
  7. 9:00constraints
  8. 9:58triggers
  9. 10:53hierarchy IDs
  10. 12:12indexes
  11. 12:50curses
  12. 13:41Dynamic SQL
  13. 15:38Summary
~/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.