Tag

Online Schema Change

0 views collected around this technical thread.

Aikesheng Open Source Community
Aikesheng Open Source Community
Feb 18, 2025 · Databases

Using pt-online-schema-change to Quickly Clean Data and Resolve Disk‑Space Alerts in MySQL

This article explains how to handle MySQL disk‑space alerts by using the pt‑online‑schema‑change (pt‑osc) tool to selectively retain needed rows, migrate data to a temporary table, and drop the original table, thereby achieving fast, low‑impact data cleanup.

Data CleanupDatabase OperationsMySQL
0 likes · 10 min read
Using pt-online-schema-change to Quickly Clean Data and Resolve Disk‑Space Alerts in MySQL
Aikesheng Open Source Community
Aikesheng Open Source Community
Jun 4, 2024 · Databases

Deep Dive into pt-osc: Working Principles, Common Pitfalls, and Practical Recommendations

This article thoroughly explains how the Percona pt-osc tool performs online schema changes in MySQL, analyzes trigger design, deadlock scenarios, data‑consistency issues, and provides detailed test cases, operational tips, and best‑practice recommendations for safe usage.

DDLMySQLOnline Schema Change
0 likes · 26 min read
Deep Dive into pt-osc: Working Principles, Common Pitfalls, and Practical Recommendations
Wukong Talks Architecture
Wukong Talks Architecture
Dec 24, 2023 · Databases

MySQL Indexes, Lock Types, Transaction Isolation Levels, and Deadlock Analysis

This article explains MySQL index structures, covers covered and back‑table queries, details InnoDB transaction isolation levels, classifies various lock types (table, row, gap, next‑key, intention, auto‑inc, metadata), analyzes lock behavior in multiple scenarios, discusses deadlock causes, and provides DDL and online schema‑change recommendations.

DDLMySQLOnline Schema Change
0 likes · 61 min read
MySQL Indexes, Lock Types, Transaction Isolation Levels, and Deadlock Analysis
Qunar Tech Salon
Qunar Tech Salon
May 31, 2022 · Databases

Comparison of pt-online-schema-change, gh-ost, and MySQL Online DDL for Online Schema Changes

This article introduces and compares three MySQL online schema‑change solutions—pt‑online‑schema‑change, gh‑ost, and native MySQL ONLINE DDL—detailing their workflows, limitations, risks, monitoring features, and practical considerations for safely altering large tables in production environments.

DDLMySQLOnline Schema Change
0 likes · 27 min read
Comparison of pt-online-schema-change, gh-ost, and MySQL Online DDL for Online Schema Changes
Aikesheng Open Source Community
Aikesheng Open Source Community
Sep 17, 2019 · Databases

Using gh-ost for Online Schema Changes in MySQL: Introduction, Usage, Parameters, and Comparison with pt-osc

This article introduces the gh-ost tool for performing online schema changes on large MySQL tables, explains its architecture and operation modes, provides detailed command‑line parameters and practical examples, and compares its features and performance with the traditional pt‑osc solution.

DDLMySQLOnline Schema Change
0 likes · 18 min read
Using gh-ost for Online Schema Changes in MySQL: Introduction, Usage, Parameters, and Comparison with pt-osc
JD Retail Technology
JD Retail Technology
Aug 16, 2019 · Databases

Online Schema Change in Distributed Databases: Insights from Google F1 and CB‑SQL

The article explains how distributed databases can perform online, asynchronous schema changes without blocking reads or writes by using lease‑based coordination, intermediate delete‑only and write‑only states, and a multi‑step algorithm inspired by Google F1 and implemented in CB‑SQL.

CB-SQLDistributed DatabasesGoogle F1
0 likes · 11 min read
Online Schema Change in Distributed Databases: Insights from Google F1 and CB‑SQL
Beike Product & Technology
Beike Product & Technology
Apr 13, 2018 · Databases

Understanding MySQL ALTER Operations and Online Schema Change (OSC) Tools

This article explains the detailed steps of MySQL ALTER operations, compares single‑instance and master‑slave scenarios, introduces various online schema‑change tools such as pt‑OSC, outlines native MySQL OSC support, discusses limitations, and provides practical recommendations for safely performing large‑table DDL.

ALTERMySQLOnline Schema Change
0 likes · 13 min read
Understanding MySQL ALTER Operations and Online Schema Change (OSC) Tools
Tencent Cloud Developer
Tencent Cloud Developer
Mar 23, 2018 · Databases

Using gh-ost for Online MySQL Schema Changes: Features, Modes, and Practical Tips

gh‑ost is a lightweight, trigger‑free, Go‑based online MySQL schema‑change tool that reads binary logs, applies alterations to temporary tables, and offers pauseable, auditable, and dynamically controllable migrations via socket commands, supporting master‑only, replica‑assisted, or replica‑testing modes and used extensively at GitHub.

DBA toolsMySQLOnline Schema Change
0 likes · 17 min read
Using gh-ost for Online MySQL Schema Changes: Features, Modes, and Practical Tips