~/talk

Keeping historical data in tables forever – mission (im)possible!

Talkat SQLBits 2019 · 2019-02-27..03-02· [databases]
links:none on file
slides:none on file

Tests on SQL Server use a real emergency-incident schema partitioned by incident_date_created and load 3–4 million rows in demo and anticipate 1–20M operational rows plus 50M logging rows per year. Partitioning achieves partition elimination when every query and every join includes the date key, but Entity Framework generated wide SELECT queries break that. Tried aligned vs non-aligned indexes, columnstore filtered index* for cold data, partition switch-out to archive tables, and Redgate data generator; conclusion: partitioning works for logs but is risky for operational tables unless queries and schema change.

AI-written summary · about

  1. 0:00Start
  2. 2:04Data Management Strategy is needed
  3. 5:52Data usage and data volume
  4. 7:56Obvious solution - Let's Partition!
  5. 10:50Important rules for partitioning
  6. 40:21Operational Analytics Considerations Summary
  7. 42:23Partition Switch OUT
~/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.