~/talk

Time Series with SQL Server 2022

Talkat SQLBits 2022 · 2022-03-08..03-12· [data-engineering]
links:none on file
slides:none on file

SQL Server 2022 can store and query time series but needs manual work: a 15‑day, 82M‑row performance dataset compresses from ~28GB (clustered index) to ~400MB with clustered columnstore and to ~231MB with archive compression, while InfluxDB v1 stores the same in ~91MB. Retention isn’t built in (data deletion policy from Edge is missing), so use partition switching to drop old data or jobs to emulate continuous queries and do downsampling. New helpers like date_bucket and generate_series ease time‑grouping and gap‑filling.

AI-written summary · about

  1. 0:00Introduction to time series
  2. 2:33Defining time series data
  3. 7:07Relational vs time series
  4. 10:45The importance of time series
  5. 12:30SQL Server for time series
  6. 15:00Introduction to InfluxDB
  7. 20:17InfluxDB design principles
  8. 26:19Storage optimization in SQL
  9. 33:54Retention and partitioning
  10. 40:23Partitioning demonstration
  11. 42:11Querying time series data
  12. 48:33Conclusion and Q&A
~/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.