~/talk

Crash-safe DDL of InnoDB Tables in MariaDB 10.6

Talkat MariaDB Server Fest 2021 · 2021-10-05..10-06· [databases]
links:none on file
slides:none on file

MariaDB 10.6 makes DDL crash-safe by adding one new file, ddl_recovery.log, and tighter locking: consistent metadata lock (MDL) use and exclusive InnoDB table lock for DDL. Recovery guarantees multipart operations (partitioned RENAME/CREATE/DROP) either complete or roll back; file renames and deletions are logged and fsynced before filesystem changes. Background DROP queue and dict_sys.mutex are removed, #sql-ib temporary files are used for safe deletes, and the implementation is deployed in 10.6.x and actively working.

AI-written summary · about

  1. 0:00Introduction to crash-safe DDL
  2. 0:43Problem with old DDL operations
  3. 3:19DDL not transactional yet
  4. 6:35Removing unused system tables
  5. 8:04Metadata lock in DDL
  6. 11:47Old DDL recovery issues
  7. 16:31Background DROP TABLE queue
  8. 19:10Problems with statistics tables
  9. 19:32ACID principles in DML
  10. 23:40Applying ACID to DDL
  11. 26:42Making DDL atomic
  12. 29:02How DDL recovery works
  13. 31:02File deletion with #sql-ib
  14. 32:12Fixes for statistics tables
  15. 33:18FOREIGN KEY metadata storage
  16. 35:05Future of transactional DDL
  17. 37:21Long-term improvements
  18. 38:02Q&A
~/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.