Skip to content
ADHDecode
  1. Home
  2. Articles
  3. Mariadb

Mariadb Articles

48 articles

MariaDB InnoDB vs Aria: Choose the Right Storage Engine

MariaDB's storage engines, InnoDB and Aria, are fundamentally different beasts, and picking the wrong one can tank your performance or, worse, lead to d.

3 min read

MariaDB JSON vs Dynamic Columns: Choose Correctly

MariaDB's JSON data type isn't just a blob of text; it's a first-class citizen with indexing and querying capabilities that rival traditional relational.

3 min read

MariaDB on Kubernetes: Deploy with Operator

The MariaDB Operator on Kubernetes doesn't just deploy MariaDB; it actively manages its lifecycle, acting as a self-healing, version-upgrading, and back.

3 min read

MariaDB MaxScale: Load Balancer and Read-Write Split

MaxScale's read-write split functionality is often misunderstood as a simple request router, but its true power lies in its ability to dynamically recon.

2 min read

MariaDB Memory Engine: Fast In-Memory Table Storage

MariaDB Memory Engine: Fast In-Memory Table Storage — practical guide covering mariadb setup, configuration, and troubleshooting with real-world examples.

2 min read

Fix MariaDB High Memory Usage: Diagnose and Tune

Fix MariaDB High Memory Usage: Diagnose and Tune — practical guide covering mariadb setup, configuration, and troubleshooting with real-world examples.

3 min read

MariaDB Prometheus Monitoring: Export and Alert

Prometheus can tell you if your MariaDB is alive, but it can't tell you why it's struggling unless you tell it what to look for.

3 min read

MariaDB Multi-Source Replication: Aggregate Multiple Masters

MariaDB's multi-source replication lets a single replica pull data from multiple masters simultaneously, effectively acting as a central aggregation poi.

2 min read

MariaDB Optimizer Trace: Debug Query Plan Decisions

The MariaDB optimizer trace is not just a log; it's a real-time, step-by-step breakdown of how MariaDB decides to execute your SQL queries.

3 min read

MariaDB Parallel Replication: Speed Up Replica Lag

MariaDB replication is notoriously single-threaded, meaning a replica can only apply transactions one at a time, which quickly becomes a bottleneck when.

3 min read

MariaDB Partitioning: Prune Queries to Fewer Partitions

MariaDB partitioning isn't just about splitting tables; it's a powerful tool for optimizing query performance by allowing the database to intelligently .

3 min read

MariaDB Password Validation: Enforce Strong Passwords

MariaDB's default password validation is alarmingly weak, allowing trivial passwords like "123456" and even empty strings.

3 min read

MariaDB Point-in-Time Recovery: Restore from Binary Logs

MariaDB's point-in-time recovery PITR using binary logs is your safety net when a data-altering mistake happens, allowing you to rewind your database to.

4 min read

MariaDB Query Response Time Plugin: Find Slow Queries

The MariaDB Query Response Time plugin doesn't actually find slow queries; it measures the time queries take to respond, and that's a fundamentally diff.

3 min read

MariaDB Read-Write Split: Route Reads to Replicas

MariaDB's read-write split, where you route read queries to replicas, is a surprisingly blunt instrument for scaling, often over-engineered when a simpl.

3 min read

MariaDB GTID Replication: Configure Global Transaction IDs

MariaDB's Global Transaction IDs GTIDs are actually a backward compatibility layer designed to make replication easier, not a fundamental shift in how t.

2 min read

MariaDB RocksDB: MyRocks Engine for Write-Heavy Workloads

MyRocks is a storage engine for MariaDB that uses Facebook's RocksDB library as its foundation, making it a compelling choice for write-heavy workloads.

3 min read

MariaDB Semi-Synchronous Replication: Prevent Data Loss

Semi-synchronous replication in MariaDB is a way to guarantee that committed transactions are actually written to at least one replica before the primar.

3 min read

MariaDB Sequence Engine: Generate Number Sequences

The MariaDB Sequence Engine is a virtual table engine that generates sequences of numbers, useful for creating unique IDs or stepping through ranges.

2 min read

MariaDB Slow Query Log: Find and Fix Slow Queries

The MariaDB slow query log is more of a diagnostic tool for performance bottlenecks than a simple record of "slow" queries.

4 min read

MariaDB Spatial Indexes: Query Geographic Data

MariaDB spatial indexes let you query geographic data incredibly fast, but they work by turning your latitude/longitude points into a grid of integers, .

3 min read

MariaDB Spider Engine: Horizontal Sharding Across Nodes

The MariaDB Spider engine can distribute data across multiple database servers, but it doesn't magically balance the load or prevent hotspots; you have .

3 min read

MariaDB SQL Mode: Enforce Strict Data Validation

MariaDB's SQL modes are a surprisingly powerful, yet often overlooked, mechanism for enforcing data integrity and predictability across your database.

4 min read

MariaDB Replication: Row-Based vs Statement-Based

Statement-based replication is the default and can lead to data inconsistencies when statements have non-deterministic outcomes.

2 min read

MariaDB Temporal Tables: Query Historical Data

MariaDB temporal tables let you see data as it was at any point in time, but the real magic is how they achieve this without dramatically impacting perf.

2 min read

MariaDB Table Compression: Reduce Storage Footprint

MariaDB table compression can drastically reduce your storage footprint, but its primary benefit isn't just saving disk space; it's about improving I/O .

3 min read

MariaDB vs MySQL: Key Differences Engineers Must Know

MariaDB, despite its name, is often the more feature-rich and performance-tuned database for engineers who need to go beyond MySQL's defaults.

3 min read

MariaDB Galera wsrep: Configure Provider Options

The most surprising thing about MariaDB Galera is that it's not a database, but a synchronous multi-master replication plugin that can attach to MariaDB.

3 min read

MariaDB Zero-Downtime Schema Changes: Tools and Techniques

MariaDB's online DDL Data Definition Language operations are a game-changer, but they don't magically make schema changes risk-free; the real magic is i.

2 min read

MariaDB 10.6 to 10.11 Upgrade: Zero-Downtime Migration

MariaDB 10.6 to 10.11 Upgrade: Zero-Downtime Migration — Upgrading MariaDB 10.6 to 10.11 without downtime isn't about a magical "zero-downtime" feature;...

2 min read

MariaDB Aria Engine: Crash-Safe MyISAM Alternative

The Aria engine is MariaDB's attempt to make MyISAM crash-safe, but it's not truly crash-safe in the way you'd expect; it's more about recovering from c.

2 min read

MariaDB Audit Plugin: Track Every Query for Compliance

The MariaDB Audit Plugin doesn't just log queries; it fundamentally changes how you think about database security by making every interaction a traceabl.

3 min read

MariaDB Auto-Increment in Galera: Prevent ID Conflicts

MariaDB Auto-Increment in Galera: Prevent ID Conflicts MariaDB's Galera Cluster, while fantastic for synchronous replication, can trip you up with its a.

4 min read

MariaDB Backup with mariabackup: Hot Backup Guide

MariaDB backups can be tricky, and mariabackup is the go-to tool for hot backups, but understanding its nuances is key to avoiding data loss.

3 min read

MariaDB Binary Log Formats: ROW vs STATEMENT vs MIXED

MariaDB's binary log formats dramatically change how changes are recorded, not just that they are recorded, and the default ROW format is often a perfor.

4 min read

MariaDB Character Sets: Configure UTF8mb4 Correctly

MariaDB's utf8mb4 character set isn't just a "better UTF-8"; it's the only way to store full Unicode, including emojis and many Asian characters, correc.

3 min read

MariaDB ColumnStore: Run Analytical Queries at Scale

MariaDB ColumnStore can run analytical queries at scale by storing data column by column instead of row by row, which dramatically speeds up read operat.

2 min read

MariaDB Thread Pool: Handle Thousands of Connections

MariaDB's thread pool is essentially a sophisticated connection manager that prevents your database from collapsing under the weight of too many simulta.

3 min read

MariaDB in Docker: Production Container Configuration

MariaDB in Docker for production is a lot like building a race car: you can’t just plop the engine in the chassis and expect it to win.

5 min read

MariaDB Encryption at Rest: Encrypt Tables and Logs

MariaDB's encryption at rest isn't about scrambling data as it flies over the network; it's about making sure your data is unreadable even if someone ph.

3 min read

MariaDB Delayed Replication: Recover from Mistakes

MariaDB Delayed Replication: Recover from Mistakes — practical guide covering mariadb setup, configuration, and troubleshooting with real-world examples.

3 min read

MariaDB Event Scheduler: Run Scheduled SQL Jobs

The MariaDB Event Scheduler is often misunderstood as just a cron-like utility for running SQL statements on a schedule, but its true power lies in its .

2 min read

MariaDB EXPLAIN: Analyze Query Plans with JSON Format

MariaDB's EXPLAIN command is your window into how the database actually executes your SQL queries, and the JSON output format is like getting an X-ray w.

3 min read

MariaDB CONNECT Engine: Query External Data Sources

The MariaDB CONNECT engine lets you query external data sources as if they were local tables, but the real magic is how it translates those external que.

2 min read

MariaDB Migration from MySQL: Step-by-Step Guide

MariaDB Migration from MySQL: Step-by-Step Guide — practical guide covering mariadb setup, configuration, and troubleshooting with real-world examples.

2 min read

MariaDB Galera Cluster: Multi-Master HA Setup Guide

A Galera Cluster can write to any node simultaneously, but it's not actually doing "multi-master" writes in the way you might think.

3 min read

MariaDB High Availability: Galera, MaxScale, and Replication

Galera, MaxScale, and replication are three distinct, yet often conflated, approaches to achieving high availability HA in MariaDB environments.

3 min read

MariaDB InnoDB Buffer Pool: Tune for Maximum Performance

The InnoDB buffer pool is the most critical component for MariaDB/MySQL performance, and its size is the single most important tuning parameter.

3 min read
ADHDecode

Complex topics, finally made simple

Courses

  • Networking
  • Databases
  • Linux
  • Distributed Systems
  • Containers & Kubernetes
  • System Design
  • All Courses →

Resources

  • Cheatsheets
  • Debugging
  • Articles
  • About
  • Privacy
  • Sitemap

Connect

  • Twitter (opens in new tab)
  • GitHub (opens in new tab)

Built for curious minds. Free forever.

© 2026 ADHDecode. All content is free.

  • Home
  • Learn
  • Courses
Esc
Start typing to search all courses...
See all results →
↑↓ navigate Enter open Esc close