Skip to content

Portrait of Josue Garcia

I keep databases fast, replicated and recoverable. I learn by running the real thing: this site, its database and the pipelines behind it all live on a server in my home, wired together with the same tools teams use in production. When something breaks, and I break it on purpose, I write down what happened, what it cost and how I fixed it.

Does
Database administration: MySQL, Postgres, replication, failover
Learning
Data engineering: Airflow, Kafka, dbt
Runs on
One server at home, three MySQL nodes
Open to
Database administration and data engineering roles

  1. Now

    Database administration

    MySQL replication with automatic failover, ProxySQL routing, CDC into Postgres, monitoring and alerting. Run on my own server, documented as I go.

  2. Next

    Python and Airflow

    Scheduled pipelines that land raw data, transform it and check its quality before anyone queries it.

  3. Then

    Kafka and dbt

    Streaming changes instead of nightly batches, and transformations as tested, versioned SQL.

  4. Later

    Snowflake and Databricks

    The same ideas on managed cloud platforms, with a certification to show for it.

MySQL 8.4, PostgreSQL, ProxySQL, Orchestrator, Debezium, Kafka, Airflow, MinIO, Grafana, Prometheus, Docker, Tailscale.

Labelled fibre cables plugged into a network switch
SHOW REPLICA STATUS\G
Replica_SQL_Running: No
Last_SQL_Error: Errno 1049 "Unknown database"

SHOW DATABASES;
analytics, bookstack_db, budget_db, metabase_app,
movielens, portfolio, project1_jobs, project3_perf,
sandbox_db, todo_db

The replica stopped on a database it never had

The primary's binlog carries every database on the server, and real app traffic hit one the replica was missing. The fix was to replicate the whole server, which is what a failover needs anyway.

How the replication was built and broken