- Популярные видео
- Авто
- Видео-блоги
- ДТП, аварии
- Для маленьких
- Еда, напитки
- Животные
- Закон и право
- Знаменитости
- Игры
- Искусство
- Комедии
- Красота, мода
- Кулинария, рецепты
- Люди
- Мото
- Музыка
- Мультфильмы
- Наука, технологии
- Новости
- Образование
- Политика
- Праздники
- Приколы
- Природа
- Происшествия
- Путешествия
- Развлечения
- Ржач
- Семья
- Сериалы
- Спорт
- Стиль жизни
- ТВ передачи
- Танцы
- Технологии
- Товары
- Ужасы
- Фильмы
- Шоу-бизнес
- Юмор
How do online schema change tools work?
Running database migrations / schema changes often leads to table locking and downtime. For mission-critical applications that can't take any downtime, or apps with huge tables where schema changes take several hours, this is bad news. The way to get around this is by using online schema change tools, such as gh-ost, pt-online-schema-change, or Vitess online DDL.
At a high level, these tools work by copying the original schema onto a new table known as a shadow table. The data is copied over to the shadow table, and once they're close to in sync, the tables are swapped. This video covers this whole process step by step, as well as what it looks like to run schema changes without these tools.
00:00 Intro
01:50 Schema change locking demo
03:50 Intention, shared, and exclusive locks
06:47 Intro to online schema change tools
07:24 Schema change demo in PS without online DDL
09:36 Online schema change demo
13:24 How do online schema change tools work?
25:23 Reverting a schema change
26:11 How do schema reverts work?
28:11 MySQL instant DDL
28:55 PlanetScale gated deployments, deploy requests, and reverts
To learn more about PlanetScale, head to https://planetscale.com/youtube!
💬 Follow PlanetScale on social media
• Twitter: https://twitter.com/planetscale
• Discord: https://discord.gg/pDUGAAFEJx
• TikTok: https://www.tiktok.com/@planetscale
• Twitch: https://www.twitch.tv/planetscale
• LinkedIn: https://www.linkedin.com/company/planetscale
Видео How do online schema change tools work? канала PlanetScale
At a high level, these tools work by copying the original schema onto a new table known as a shadow table. The data is copied over to the shadow table, and once they're close to in sync, the tables are swapped. This video covers this whole process step by step, as well as what it looks like to run schema changes without these tools.
00:00 Intro
01:50 Schema change locking demo
03:50 Intention, shared, and exclusive locks
06:47 Intro to online schema change tools
07:24 Schema change demo in PS without online DDL
09:36 Online schema change demo
13:24 How do online schema change tools work?
25:23 Reverting a schema change
26:11 How do schema reverts work?
28:11 MySQL instant DDL
28:55 PlanetScale gated deployments, deploy requests, and reverts
To learn more about PlanetScale, head to https://planetscale.com/youtube!
💬 Follow PlanetScale on social media
• Twitter: https://twitter.com/planetscale
• Discord: https://discord.gg/pDUGAAFEJx
• TikTok: https://www.tiktok.com/@planetscale
• Twitch: https://www.twitch.tv/planetscale
• LinkedIn: https://www.linkedin.com/company/planetscale
Видео How do online schema change tools work? канала PlanetScale
Комментарии отсутствуют
Информация о видео
24 апреля 2024 г. 0:24:05
00:30:13
Другие видео канала





















