~/talk

Speeding up slave connect: Binlog GTID indexes (MDEV-4991)

Talkat MariaDB Developers Unconference 2023 · 2023-10-03..10-04· [databases]
links:none on file
slides:none on file

Implements an on-disk B+-Tree that maps GTID to binlog file offsets so slaves no longer serially scan up to ~1.3M transactions to find a start point, replacing the linear scan with index lookups that are effectively position-independent in benchmarks. The index is prefix-compressed sparse index, written asynchronously (configurable flush frequency, e.g. ~every 10 GTIDs), adds only ~3% extra disk and is made crash-safe by rebuilding during normal binlog recovery. Prototype benchmarks show multi-second scans drop to sub-100ms index lookups.

AI-written summary · about

~/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.