Card, PayPal or bank transfer · Morocco and worldwideتعلَّم · مارِس · أتقِن

Catalogue / Infrastructure & systems

Database administration: MariaDB, MySQL and PostgreSQL in production

Install, tune, back up, replicate, monitor and troubleshoot MariaDB, MySQL and PostgreSQL like a production database administrator, all the way to point-in-time recovery and the incidents that wake you up at night.

  • Intermediate to advanced
  • 12 lessons
  • 13 h 55 min
  • Versions MariaDB 10.11, MariaDB 11.4, MariaDB 11.8, MySQL 8.4, PostgreSQL 15, PostgreSQL 16, PostgreSQL 17, PostgreSQL 18, MariaDB 10.11 à 11.8, PostgreSQL 15 à 18, MariaDB Galera 10.11 à 11.8, Patroni 3 / 4, HAProxy 2.8+, PgBouncer 1.2x, postgres_exporter, mysqld_exporter

A MasterLinux course · Original text

What you will learn

  • Install MariaDB, MySQL and PostgreSQL for production and master my.cnf, postgresql.conf, pg_hba.conf and pg_ident.conf
  • Create least-privilege service accounts, encrypt connections with TLS and log activity with audit plugins
  • Write reliable logical backups (mariadb-dump, pg_dump, pg_dumpall) that fail loudly when something goes wrong
  • Take physical backups (mariadb-backup, pg_basebackup) and restore to the exact minute with binlogs and WAL
  • Set up MariaDB replication with GTID and PostgreSQL streaming replication with replication slots
  • Understand and operate a Galera cluster, a Patroni cluster and their HAProxy front end
  • Find costly queries (slow query log, pg_stat_statements, EXPLAIN) and tune memory (buffer pool, shared_buffers, work_mem)
  • Master VACUUM and autovacuum, monitor with Prometheus and prepare a major version upgrade without surprises
  • Solve real incidents - broken replication, disk full of binlogs or WAL, blocking locks, saturated connections

Course content

12 lessons · 13 h 55 min

Requirements

  • The “Fundamentals” course (included) or solid hands-on experience with the Linux command line
  • Able to administer a Debian or Rocky server (packages, services, configuration files)
  • Basic SQL knowledge (SELECT, INSERT, CREATE TABLE); the “SQL” course is a good companion

Who is this course for?

  • System administrators who inherit their company's databases
  • Operations and on-call technicians who want to know how to react to a database incident
  • Back-end developers and DevOps engineers who host MariaDB or PostgreSQL themselves
  • Students aiming for a DBA or production engineer job at an IT services company