qmetrics.net

gh-ost

Triggerless online MySQL schema migration tool

DatabasesDesktop/CLI app

gh-ost performs online MySQL table migrations without triggers, using binary log events to mirror changes. It supports throttling, pausing, auditing, and controlled cut-over timing.

Overview

gh-ost is GitHub's tool for changing large MySQL tables while production traffic continues. Like earlier online schema change utilities, it builds a ghost copy of the target table, backfills rows incrementally, and swaps names once data is consistent.

Instead of database triggers, it reads the replication binary log stream and applies row changes asynchronously to the ghost table. That design reduces coupling to the master's write load and avoids trigger-related operational risks called out for legacy tools.

Operators can test migrations on replicas without cutting over, pause copying and event application under throttle, reconfigure a running job, query status over TCP or a Unix socket, and delay the final table swap until a maintenance window. Hooks allow integration with surrounding automation.

Binaries are published for Linux and macOS, and the implementation is written in Go. Common workflows start with noop validation, then execute against a replica-attached master when statement-based replication requires it.

Key features

  • No-trigger schema migrations
  • Binary log change capture
  • Replica-based dry runs
  • True pause under throttle
  • Interactive reconfiguration
  • Postponed cut-over control
  • Status via socket or TCP
  • Cross-cluster table moves

Use cases

  • Large production table alters
  • Validating migrations on replicas
  • Low-impact index or column changes
  • Scheduled cut-over maintenance
  • MySQL fleet schema rollouts

Tags

Similar software

Supabase

Open-source Postgres platform with auth, APIs, and storage

Supabase bundles a dedicated Postgres database with authentication, auto-generated REST and GraphQL APIs, realtime, functions, file storage, and vector tooling.

★ 115.6k⟳ todayApache-2.0
Open Source Alternative to:FirebaseFirebase Realtime Database

Prometheus

Open-source metrics monitoring and time series database

Prometheus collects metrics from configured targets, evaluates rules, and can raise alerts. It stores time series data and exposes a query language called PromQL.

★ 67.9k⟳ yesterdayApache-2.0
Open Source Alternative to:PRTG Network Monitor

NocoDB

Self-hostable no-code database with spreadsheet interface

NocoDB turns Postgres, MySQL, SQLite, or a hosted database into editable tables with grid, kanban, form, gallery, and calendar views. Teams collaborate with roles, sharing, REST APIs, and workflow integrations.

★ 65.6k⟳ todaySource-available
DatabasesSelf-hostable

etcd

Raft-backed distributed consistent key-value store

etcd stores small critical configuration and coordination data for clusters. It exposes a gRPC API, tolerates failures via Raft, and ships with the etcdctl command-line client.

★ 52.7k⟳ 3 days agoApache-2.0
DatabasesSelf-hostable

DBeaver

Universal multi-platform database tool and SQL client

Free desktop client for developers and DBAs with SQL editing, data editing, ER diagrams, exports, and support for hundreds of JDBC or ODBC databases.

★ 52.6k⟳ todayApache-2.0
DatabasesDesktop/CLI app
Open Source Alternative to:DataGripNavicat+2

ClickHouse

Column-oriented real-time analytics database management system

ClickHouse is a column-oriented database for generating analytical reports in real time using SQL on large datasets.

★ 51.2k⟳ todayApache-2.0
Open Source Alternative to:Amazon Redshift