~/talk

What Timescale's Approach to Dropping Chunks Tells Us About Concurrent DDL

Talkat PGCon 2023 · 2023-05-30..06-02· [databases, distributed-systems]
links:none on file
slides:none on file

Timescale implements chunk drops by removing entries from its internal catalog and using custom planner hooks so it takes a lighter lock on the parent (share update) and an access exclusive on the child, letting drops happen without blocking long reads. That works for many analytics workloads but allows theoretical serializable snapshot anomalies. Proposed core-safe changes include an explicit waiting state for DDL and the ability to hand off to a background worker to finalize when the XID horizon advances, plus rethinking create index concurrently and monitoring views.

AI-written summary · about

  1. 0:00Introduction
  2. 1:28What is concurrent DDL
  3. 5:26Partition management pain points
  4. 9:41Detached concurrently explained
  5. 14:13Timescale's chunk dropping approach
  6. 18:57Downsides of Timescale's method
  7. 23:36Why Timescale's trade-offs work
  8. 25:44Real vs fake problems in DDL
  9. 28:16Proposed path forward
  10. 33:35Need for general solutions
  11. 35:00Q&A session
~/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.