Skip to content

MySQL · gh-ost · Cohort notes

gh-ost in a Mid-Volume Estate

Kim Da-eun · 17 February 2026 · 5 min read

Online schema change is one of those tools that operators read about for years before they finally use one in anger. The hesitation is fair: an unfamiliar tool that rewrites a busy table feels like the worst possible context for a first attempt. In a corporate cohort earlier this year we walked a small team through gh-ost from a fresh sandbox to a real schema change in their staging environment, and the conversation taught us something useful about pacing.

The first session is intentionally slow. We do not run gh-ost at all. Instead we trace the lifecycle of a manual ALTER TABLE — what gets locked, for how long, what the application sees during the change. Once everyone shares the same vocabulary, gh-ost stops feeling magical and starts feeling like a careful piece of plumbing that does the same work in smaller increments.

The second session runs gh-ost twice on a write-heavy sandbox table — once with default settings, once with throttling tuned for the workload. The instructive moment is usually the throttling pass: participants see the cut-over hesitate when replication lag rises, and the team starts asking the right questions about what their replicas can absorb.

By the third session, the team is ready to schedule a real schema change in staging. The conversation has moved from "what does this tool do" to "what is our team’s policy for online schema changes." That shift is the point of the cohort. The tool is incidental; the shared standard is the deliverable.

Continue reading

QueryPilot Academy