Database Topic Archive

MariaDB Articles

Galera clustering, InnoDB and Aria internals, replication, optimizer behavior, and MariaDB operations notes.

MariaDB Instant ADD COLUMN: Version-by-Version Reality
9 min read

The same ALTER TABLE ADD COLUMN finished in 120 milliseconds on staging and ran for nearly four hours in production. The difference was not the table, the data, or the hardware — it was the MariaDB version and its instant-DDL…

Galera Flow Control on MariaDB: Why One Slow Node Freezes Every Write
11 min read

Every ninety seconds the whole Galera cluster froze for two to four seconds, and the slow query log was empty. wsrep_flow_control_paused was climbing because one node applied writesets slower than the cluster delivered them. Here is the full diagnosis.

MariaDB userstat: Cheap Per-User and Per-Table Observability
6 min read

One SET GLOBAL gives MariaDB per-account, per-client, per-table, and per-index counters — enough to answer 'who is hammering this table' in a single query. Here is what userstat collects, what it costs, and where the unused-index caveats hide.

MariaDB Thread Pool Tuning: Surviving Connection Storms
7 min read

MariaDB ships a real thread pool in the community server — MySQL charges extra for one. Here is how pool-of-threads works, when it saves you under a connection storm, and when it quietly serializes you.