gh-ost
Triggerless online schema migration tool for MySQL developed by GitHub engineering.
Why consider gh-ost?
gh-ost is GitHub’s triggerless online schema migration tool for MySQL. Written in Go, it inspects MySQL binary logs (binlog stream) to replicate row mutations to ghost tables asynchronously, enabling large-scale schema changes on live multi-terabyte production databases without table locks.
Learn gh-ost by building
Practical setup notes, real use cases, and copy-ready examples in one focused guide.
In this guide2 sections
Overview of gh-ost
gh-ost executes non-blocking MySQL ALTER TABLE statements with pause, throttle, and panic rollback controls.
Quickstart
gh-ost --user=root --password=secret --host=127.0.0.1 --database=prod --table=users --alter="ADD COLUMN phone VARCHAR(20)" --executegh-ost is licensed under the permissive MIT License.
Related tools
More options with a similar category or technology profile.
diskus
Minimal, fast alternative to du -sh written in Rust using multi-threaded directory traversal.
peco
Simplistic interactive filtering tool for Unix pipelines, process lists, and file trees.
Dapr CLI
Command-line tool for managing Dapr distributed application runtime environments and sidecars.
Freeze
Generate beautiful image screenshots and SVGs of code snippets and terminal outputs.