~/talk

MariaDB Temporal tables

Talkat MariaDB Server Fest 2020 · 2020-09-14..09-20· [databases, data-engineering]
slides:none on file

MariaDB implements both application-time and system-versioned temporal tables (system timing in MariaDB 10, application timing added in 10.4). Creating them uses ALTER TABLE with algorithm=copy and a shared lock so writes block and extra disk space is needed; building application-time tables requires adding temporal columns, defaults, and making row_end part of unique keys so multiple versions coexist. History is pruned with DELETE ... FOR PORTION OF TIME, updates mark logical deletion (example: stored procedure sets valid_to = NOW()), and rename table is atomic so swaps happen without service interruption.

AI-written summary · about

  1. 0:00Introduction to Temporal Tables
  2. 1:52Application Time Tables Overview
  3. 6:30Creating Application Time Tables
  4. 14:41System Versioned Tables
  5. 18:35Querying System Versioned Tables
  6. 23:13Indexing in Temporal Tables
  7. 24:38Bi-Temporal Tables and Best Practices
  8. 30:23Q&A 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.