Вход на сайт

Просмотр новости

Найдите то, что Вас интересует

The Future of MySQL Schema Change: Spirit

Дата публикации: 06-11-2023 14:00:00

Using pt-online-schema or gh-ost?
Of course you are; everyone in the MySQL industry does.
But now there’s a new online schema change tool that will obsolete these two: Spirit by renowned MySQL expert Morgan Tocker.
The Future of MySQL Schema Change: Spirit appeared first on MariaDB.org


Основное содержимое страницы с новостью.

Learn MySQL Performance  8

Efficient MySQL Performance bird

Efficient MySQL Performance
20 years of MySQL performance, written for software engineers

Nov 6, 2023

Using pt-online-schema or gh-ost? Of course you are; everyone in the MySQL industry does. But now there’s a new online schema change tool that will obsolete these two: Spirit by renowned MySQL expert Morgan Tocker.

But first, why Spirit? Why a new online schema change (OSC) tool? Size and speed: pt-online-schema (pt-osc) and gh-ost can alter a 1 TB table in reasonable time: maybe a week or so depending on the server. But a 2 TB table? You could be waiting quite awhile.

In 2023 and beyond, that’s no longer reasonable. The MySQL industry needs an OSC tool capable of far greater size and speed. I want an OSC tool that can handle 10 TB in 5 days.

Neither pt-osc nor gh-ost can do that—not even close! Here’s what the difference looks like (drawn to scale):

Spirit runway: 15TB

I want significantly more runway from an OSC tool. Although 10 TB was my challenge, we engineer conservatively so that 15 TB is feasible, too.

Spirit meets and exceeds the challenge: we’ve seen it alter 10 TB in 3.75 days (90 hours).

Morgan Tocker wrote and released Spirit on October 23, 2023 as free open source software built for the MySQL industry. Read his two-part release announcement for more details.

Spirit is a new online schema change tool that, I expect, will serve the MySQL industry for the next 10 years. As the original author of pt-online-schema-change (which has served the industry for the last 12 years), I encourage you to put pt-osc to rest and use (and contribute to) Spirit instead.

Source: https://hackmysql.com/future-of-mysql-schema-change-spirit/
Copyright 2025 Daniel Nichter

comments powered by

Схожие новости

#Наименование новостиТональностьИнформативностьДата публикации
1The problem with MySQL foreign key constraints in Online Schema Changes06.6317-03-2021
2Lessons From 20 Years Hacking MySQL (Part 1)013.6320-06-2024
3Lessons From 20 Years Hacking MySQL (Part 2)011.4220-06-2024
4Is MySQL in the Cloud the End of the DBA?06.0115-10-2022
5Announcing Finch: A New MySQL Benchmarking Tool06.4801-08-2023
6Efficient MySQL Performance In 10 Sentences09.9209-11-2024
7Do not uselessly grant CREATE and ALTER TABLE09.1120-06-2026
8Simple tool to build MariaDB commits for performance-change analysis06.9818-06-2026
9Why MySQL Replication Is Fast08.2631-05-2024
10Hardening MySQL: Practical Security Strategies for DBAs05.7602-03-2026

Классификация: Пресс-релизы. Схожих патентов: 0. Схожих новостей: 10. Тональность: 0. Информативность: 10. Источник: mariadb.org.