Dynamic tracing of MariaDB on Linux Q&A
summary
Recommends perf as the go-to for DBAs because it runs on all Linux versions, exposes structure members and gives detailed stack profiles; advises moving to bpftrace/ebpf for lightweight, low-overhead production tracing on newer kernels; recounts diagnosing a thread-pool hang under tens of thousands of concurrent connections using perf stack traces, which leads to fixes landed in MariaDB 10.5; uses ftrace when no extra tooling is allowed and chooses gdb only for true hangs.
AI-written summary · about
