---
title: "Posts"
description: "Engineering blog posts from companies, open source projects, research labs and engineers, each with a summary, topics and a difficulty level."
url: "https://swe.quest/?difficulty=medium&tag=mysql"
---

# Posts

Filtered by topics: MySQL, difficulty: medium.

Posts 1–24 of 38, page 1 of 2, newest first.

## 2026-11-19

- [Building PlanetScale with Insights Agent](https://swe.quest/articles/building-planetscale-with-insights-agent-b70b35e12242702e.md): PlanetScale · 2026-11-19 · Medium · 5 min read · MySQL, Performance engineering, AI agents, Ruby, Databases
  PlanetScale ran its Insights Agent, which finds costly queries via Query Insights and opens fix PRs, against its own Rails API on MySQL.

## 2026-11-18

- [How United Airlines streams database changes to Apache Iceberg with Amazon Data Firehose](https://swe.quest/articles/how-united-airlines-streams-database-changes-to-apache-iceberg-with-amazon-data-7135675271dc704f.md): AWS Architecture Blog · 2026-11-18 · Medium · 24 min read · Event-driven architecture, Data pipelines, Cloud platforms, Analytics & OLAP, MySQL
  United Airlines replicates frequently changing reference data from Aurora MySQL into Apache Iceberg tables on S3 in near-real-time using AWS DMS CDC, Kinesis Data Streams, a Lambda transform and Amazon Data Firehose, which applies inserts, updates and deletes via merge-on-read and commits Iceberg snapshots to the Glue Data Catalog.

## 2026-10-22

- [Security Disclosure Recommendation: Rotate MySQL Database Credentials](https://swe.quest/articles/security-disclosure-recommendation-rotate-mysql-database-credentials-79450d4ad1284c9e.md): Railway · 2026-10-22 · Medium · 3 min read · MySQL, Security, Incidents & postmortems, Identity & auth
  Railway MySQL users whose password or MYSQL\_URL may have been exposed should rotate the credential with the Regenerate button in the Database View.

## 2026-10-06

- [Beyond synthetic testing: Capturing and replaying real database workloads at Airbnb](https://swe.quest/articles/beyond-synthetic-testing-capturing-and-replaying-real-database-workloads-at-ad8d4a3a0c1cef6e.md): Airbnb Engineering · 2026-10-06 · Medium · 11 min read · MySQL, Testing, Capacity planning, Performance engineering, Databases
  Airbnb replaced fragmented per-language client-side query logging with a client-agnostic capture point in ProxySQL, so real production MySQL traffic can be replayed offline.

## 2026-09-10

- [Loading Parquet data into MySQL with ClickHouse](https://swe.quest/articles/loading-parquet-data-into-mysql-with-clickhouse-e9a6bbccc1c8e2b3.md): ClickHouse · 2026-09-10 · Medium · 6 min read · MySQL, Data pipelines, SQL
  MySQL has no native Parquet import, but clickhouse-local can read a Parquet file over HTTP with the \`url\` table function and write it straight into a MySQL table via \`INSERT INTO FUNCTION mysql(...)\`.

## 2026-09-02

- [5 Billion Records, 10 Terabytes, Four Weeks: A Real Data Migration Playbook](https://swe.quest/articles/5-billion-records-10-terabytes-four-weeks-a-real-data-migration-playbook-ba6d0d87ec973dae.md): Wix Engineering · 2026-09-02 · Medium · 9 min read · Schema migrations, Data pipelines, Queues & messaging, MySQL, Testing
  Wix's large live-system migrations dropped from months or years to weeks mainly by tackling recurring problems before the migration starts, not through new tooling.

## 2026-08-12

- [Migrating from PostgreSQL/MySQL to SQLite: When and How to Make the Switch](https://swe.quest/articles/migrating-from-postgresql-mysql-to-sqlite-when-and-how-to-make-the-switch-9d0f845128cffdd6.md): Turso · 2026-08-12 · Medium · 9 min read · SQLite, Schema migrations, PostgreSQL, MySQL, Databases
  SQLite, especially via Turso Cloud, can replace PostgreSQL or MySQL for read-heavy, moderate-write workloads, trading complex-JOIN optimization, stored procedures, rich types and native replication for simpler operations, lower cost and local reads.

## 2026-08-04

- [From Batch Snapshots to Near-Real-Time Data](https://swe.quest/articles/from-batch-snapshots-to-near-real-time-data-66d4723d1d45278d.md): Doximity Technology · 2026-08-04 · Medium · 13 min read · Event-driven architecture, Data pipelines, MySQL, Analytics & OLAP, Replication
  Doximity added a Debezium/Kafka/Snowflake CDC pipeline alongside its existing Aurora point-in-time batch snapshots, bringing 95% of sampled events to a queryable layer within eight minutes.

## 2026-05-12

- [We replaced Redis with MySQL for inventory reservations—and it scaled](https://swe.quest/articles/we-replaced-redis-with-mysql-for-inventory-reservations-and-it-scaled-2f8fab4ab3565f02.md): Shopify Engineering · 2026-05-12 · Medium · 10 min read · MySQL, E-commerce, Concurrency, Scaling, Performance engineering
  Shopify moved checkout inventory reservations from Redis to MySQL by modeling one row per sellable unit and using SELECT ...
- [Migrating Data Ingestion Systems at Meta Scale](https://swe.quest/articles/migrating-data-ingestion-systems-at-meta-scale-338df596ae05796f.md): Meta Engineering · 2026-05-12 · Medium · 9 min read · Data pipelines, Event-driven architecture, MySQL, Refactoring & migrations, Deployment
  Meta migrated tens of thousands of MySQL-to-warehouse change data capture (CDC) ingestion jobs, together moving several petabytes daily, from customer-owned pipelines to a self-managed warehouse service, and fully retired the legacy system.

## 2026-03-26

- [How we standardized MariaDB in our Integration Server](https://swe.quest/articles/how-we-standardized-mariadb-in-our-integration-server-e747f0ce7836dd7f.md): Wealthfront Engineering · 2026-03-26 · Medium · 7 min read · Testing, MySQL, Containers, CI/CD, Java & JVM
  Wealthfront replaced the embedded HSQLDB in its Integration Server, a self-contained production mirror used for integration tests, local end-to-end debugging and Jenkins gating, with MariaDB to match production.

## 2026-03-19

- [Migrating Etsy’s database sharding to Vitess](https://swe.quest/articles/migrating-etsy-s-database-sharding-to-vitess-c6bef1d09f2cd679.md): Etsy Code as Craft · 2026-03-19 · Medium · 9 min read · MySQL, Distributed databases, Refactoring & migrations, SQLite, Deployment
  Etsy moved shard routing for its ~1,000-table, ~1,000-shard, 425 TB MySQL cluster (1.7M requests/sec) from an ORM that looked up random shard mappings in a single index database to Vitess vindexes, without moving any data.

## 2026-02-19

- [Breaking the Loop: How we migrated our backup catalog for 250+ MySQL clusters to AWS](https://swe.quest/articles/breaking-the-loop-how-we-migrated-our-backup-catalog-for-250-mysql-clusters-to-a99d4c43a779f0a9.md): Booking.com Engineering · 2026-02-19 · Medium · 21 min read · MySQL, Cloud platforms, Storage systems, Resilience, Infrastructure as code
  Booking.com moved the Bacula backup catalog for 250+ MySQL clusters off its on-prem dbadb replication chain and onto Amazon RDS MySQL.

## 2025-11-20

- [How FabFunnel powers real-time marketing analytics with ClickHouse Cloud](https://swe.quest/articles/how-fabfunnel-powers-real-time-marketing-analytics-with-clickhouse-cloud-693f5ffb0f0b9887.md): ClickHouse · 2025-11-20 · Medium · 5 min read · Analytics & OLAP, Data pipelines, MySQL, Ads, Performance engineering
  FabFunnel moved its marketing analytics off a normalized MySQL reporting stack, where month-long queries took 11 seconds and year-long reports crashed browsers due to client-side merges, to ClickHouse Cloud.

## 2025-09-14

- [Bun v1.2.22](https://swe.quest/articles/bun-v1-2-22-c985f96b20e06efe.md): Bun · 2025-09-14 · Medium · 16 min read · JavaScript, Runtimes & VMs, Build systems, MySQL, Debugging
  Bun v1.2.22 adds async stack traces that include awaited caller frames, a fast path making postMessage and structuredClone up to ~240x faster for plain objects of primitives, and Bun.YAML.stringify.

## 2025-05-13

- [Under the Hood: Building MySQL Change Data Capture in ClickPipes](https://swe.quest/articles/under-the-hood-building-mysql-change-data-capture-in-clickpipes-285d2b2e8ad92711.md): ClickHouse · 2025-05-13 · Medium · 7 min read · Event-driven architecture, MySQL, Replication, Analytics & OLAP, Data pipelines
  ClickPipes captures MySQL changes by streaming the ROW-format binary log after an initial consistent snapshot, tracking progress through either GTID sets or binlog file/position checkpoints.

## 2024-08-14

- [Mitigating Deadlocks in high concurrency environments](https://swe.quest/articles/mitigating-deadlocks-in-high-concurrency-environments-f958e9ca77901412.md): Shopify Engineering · 2024-08-14 · Medium · 3 min read · MySQL, Concurrency, Storage engines, Databases
  Concurrent batch upserts into an InnoDB table keyed by a sequential id can deadlock even when processes touch different rows, because the gap locks taken on unique-key collisions span neighbouring index entries that other processes also need.

## 2024-07-23

- [How we improved availability through iterative simplification](https://swe.quest/articles/how-we-improved-availability-through-iterative-simplification-1aa63e0def5687e6.md): GitHub Engineering · 2024-07-23 · Medium · 6 min read · Performance engineering, MySQL, Ruby, Observability, Deployment
  GitHub cut timeouts in its Rails monolith with small, measured changes found through Datadog metrics, Splunk logs and custom MySQL slow-query monitors.
- [The State of Online Schema Migrations in MySQL — PlanetScale](https://swe.quest/articles/the-state-of-online-schema-migrations-in-mysql-planetscale-1e08889c563423ee.md): PlanetScale · 2024-07-23 · Medium · 9 min read · Schema migrations, MySQL
  MySQL's native INPLACE online DDL is unsuitable for non-blocking changes because it is resource-greedy, uninterruptible and blocks replicas, causing replication lag as long as the original ALTER.

## 2024-06-05

- [The silent syntax difference in foreign keys between Postgres and MySQL](https://swe.quest/articles/the-silent-syntax-difference-in-foreign-keys-between-postgres-and-mysql-36df1bac8b9567ad.md): Neon · 2024-06-05 · Medium · 6 min read · MySQL, PostgreSQL, SQL, Schema migrations
  MySQL parses but silently ignores inline column-level \`REFERENCES\` clauses, so a foreign key written Postgres-style (\`customer\_id INT REFERENCES customers(customer\_id) ON DELETE CASCADE\`) creates no constraint, no index and no cascade behavior in MySQL.

## 2024-03-08

- [Migrating data from MySQL to Turso](https://swe.quest/articles/migrating-data-from-mysql-to-turso-b6fe55604096d41a.md): Turso · 2024-03-08 · Medium · 2 min read · SQLite, MySQL, Schema migrations
  Moving a MySQL database to Turso takes three commands: dump it with mysqldump using --skip-extended-insert, convert the dump to a SQLite file with the mysql2sqlite script piped into sqlite3, then create a Turso database from that file with \`turso db create --from-file\`.

## 2024-01-17

- [Horizontally scaling the Rails backend of Shop app with Vitess](https://swe.quest/articles/horizontally-scaling-the-rails-backend-of-shop-app-with-vitess-03c7b2da20f98ec3.md): Shopify Engineering · 2024-01-17 · Medium · 27 min read · MySQL, Distributed databases, Ruby, Scaling, Schema migrations
  Shop app outgrew a single MySQL database despite federating tables across databases, so the team moved its Rails backend to Vitess, sharding user-owned tables by user\_id into a "users" keyspace and keeping the rest in an unsharded "global" keyspace.

## 2023-12-07

- [Upgrading GitHub.com to MySQL 8.0](https://swe.quest/articles/upgrading-github-com-to-mysql-8-0-2c7892d15b6d7ff3.md): GitHub Engineering · 2023-12-07 · Medium · 11 min read · MySQL, Replication, Deployment, Databases
  GitHub upgraded 1200+ MySQL hosts (300+ TB, 5.5M QPS, 50+ clusters, including Vitess) from 5.7 to 8.0 over more than a year without breaking SLOs.

## 2023-11-28

- [Managing Slack Connect](https://swe.quest/articles/managing-slack-connect-caad7a7b33cd97bf.md): Slack Engineering · 2023-11-28 · Medium · 9 min read · Configuration management, MySQL, Search, System design, Scaling
  Slack built per-connection configuration for Slack Connect using a single MySQL table keyed by source and target team ID, with org-level defaults modeled as target team 0 and settings stored as a Protobuf blob to avoid per-setting columns and tables.

[Next page](https://swe.quest/index.md?difficulty=medium&tag=mysql&page=2)

Same list as RSS: [https://swe.quest/feed.xml?difficulty=medium&tag=mysql](https://swe.quest/feed.xml?difficulty=medium&tag=mysql). Lists take `?page=`, `?per=12|24|48|96` and, on the home page, `?tag=` (up to 3), `?source=`, `?difficulty=easy|medium|hard` and `?search=`.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
