~/talk

Atomic DDL in MariaDB

Talkat FOSDEM 2021 · on Saturday, 2021-02-06· at 13:05· D.mariadb· [databases]
slides:none on file

MariaDB 10.6 implements atomic DDL by extending the existing DDL log (see MDEV-17567): operations write phase markers and a unique xid which is synced into the binary log, recovery scans binlog and DDL log to either roll back unfinished renames or finish/drop remaining objects. RENAME and DROP (tables, views, triggers, databases) are already supported; CREATE/ALTER work is next. Cost is modest but real — roughly six fsyncs per table for a full rename sequence.

AI-written summary · about

  1. 0:00Start
  2. 0:26A bit of MariaDB History
  3. 2:32Problems with the "old" design
  4. 4:08Functionality we want to keep
  5. 4:48The solution
  6. 6:21What will be done next
  7. 10:17Implementation details for DROP TABLE Amic drop is depending on the force DROP TABLE code in 10.5
  8. 11:57Implementation details for DROP DATABASE
  9. 15:21Ideas about faster information schema tables
  10. 16:39New data dictionary The idea is to not keep things compatible with how things are before
  11. 18:30Questions?
~/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.