MariaDB 10.5 Tutorial - New Features for Troubleshooting
summary
MariaDB 10.5 actually adds measurable troubleshooting tooling: ~270 new instrumentation points in Performance Schema, parity with many MySQL 5.7 tables plus a change so the schema can allocate more memory after startup, and per-statement and per-transaction timing including prepared-statement and stored-procedure internals. Visibility for the generic thread pool appears as four new INFORMATION_SCHEMA tables showing groups, queues and per-connection waits. Caveats: Performance Schema stays disabled by default, docs are incomplete, and a few instrumentation bugs remain.
AI-written summary · about
chapters (29)
- 0:00Intro
- 3:05What is this session about? • MariaDB 10.5 new features that may help DBAs and application developers to find out what's going on when a problem occurs: Performance Schema updates to match MySQL 5.7
- 5:16Performance Schema: 10.5 vs MySQL 5.7 vs 10.
- 6:25What's new in Performance Schema?
- 7:54P_S Memory Instrumentation: Instruments
- 10:36P_S Memory Instrumentation: Summary Tables
- 12:56P_S Memory Instrumentation: Tables Structure
- 14:57P_S Memory Instrumentation: Example
- 17:37P_S Memory Instrumentation in MariaDB 10.5
- 18:44P_S Memory Instrumentation: Problems
- 22:08Performance Schema: MDL Instrumentation
- 25:15MDL Instrumentation: Problems
- 28:12Performance Schema: PS Instrumentation
- 32:22Status Variables Instrumentation: Example
- 36:06P_S Stored Procedures Instrumentation: Details
- 39:59Performance Schema: SX-locks Instrumentation
- 42:50Performance Schema: Transactions Instrumentation
- 43:34Transactions Instrumentation: Example Lors consider an example (demo) of getting the sequence of statements executed in frames of current active transactions With proper instrumentation and consumers enabled
- 45:12Performance Schema: User Variables Instrumentation
- 46:11P_S User Variables Instrumentation: Example
- 46:41Performance Schema: Replication Instrumentatio
- 47:56Replication Instrumentation: Examples
- 48:35What's new in Thread Pool?
- 51:14Thread Pool Instrumentation: Groups
- 52:32Thread Pool Instrumentation: Queues
- 53:24Thread Pool Instrumentation: Waits
- 54:19What's new in ANALYZE?
- 55:06ANALYZE FORMAT=JSON: Example
- 56:24Thank you! Questions and Answers?
related talks
19mMariaDB Observability
24mMySQL Performance Schema
53mMariaDB Server 10.2: The Complete Guide
29mMySQL Performance Schema : A great insight of running MySQL server
43mUsing MySQL Performance Schema to debug performance issues
27mMySQL 8 Observability
27mState of MariaDB
50mDiagnosing Database Issues With MySQL 8.0’s Performance Schema
