MariaDB features that all devops should know
summary
Covers concrete MariaDB features for automation: using SHOW/SHOW CREATE to extract DDL, copying tables with CREATE TABLE LIKE and INSERT ... SELECT, accessing remote servers with the CONNECT storage engine, and atomic swaps via RENAME TABLE to avoid downtime. Describes ALTER TABLE clauses (ALGORITHM, LOCK, NOWAIT) and how pt-online-schema-change or gh-ost emulate nonblocking migrations, adjusting binlog_format per session (ROW/STATEMENT/MIXED) for efficient replication, and enabling userstat to read TABLE_STATISTICS and INDEX_STATISTICS for tuning.
AI-written summary · about
chapters (18)
- 0:00Introduction to MariaDB features
- 2:06Why devops should care about SQL
- 3:14SHOW statements and SHOW CREATE
- 7:35Copying tables in SQL
- 10:05CONNECT storage engine
- 12:08CREATE OR REPLACE and IF NOT EXISTS
- 13:40ALTER TABLE for upgrades
- 15:13Stored Procedures and BEGIN NOT ATOMIC
- 18:31RENAME TABLE and soft drop
- 21:15Online schema changes with triggers
- 24:58ALTER TABLE pain points
- 27:17ALTER TABLE ALGORITHM and LOCK
- 29:48Handling replica chains
- 31:51NOWAIT and WAIT for ALTER TABLE
- 33:51binlog_format explained
- 38:37User statistics overview
- 43:15TABLE_STATISTICS and INDEX_STATISTICS
- 50:00Q&A and closing remarks
