Making the most out of MySQL
summary
Covers concrete MySQL 5.7 changes: online DDL can be in-place or copy, converting TEXT to JSON triggers a slow copy so run JSON_VALID first, and JSON fields are indexable only via generated columns; measured run: creating stored columns for ~1,200 Twitter rows takes ~2 seconds and a virtual column measured 151 ms locally, indexing location helps fast lookups, and performance_schema (enable briefly) surfaces top slow queries, temp-table creators, IO and connection spikes for diagnosis.
AI-written summary · about
chapters (11)
- 0:00Intro
- 1:36What to Expect
- 2:28Online DDL Changes
- 4:41SOL modes comparison
- 7:44Users Table
- 10:28Translation
- 14:33SQL execution
- 16:23Virtual Columns
- 23:05Converting TEXT to JSON
- 26:18Creating a generated columns in JSON fields
- 31:26What I can do with it?
related talks
40mMaking the most out of MySQL
44mAdventures in MySQL
58mMySQL 5 7 + JSON
24mGoing through era of IoT with MySQL 5.7
47mMy SQL 5 6 - Online Operations and Improved Diagnostics
01h 30mMySQL Indexes, Histograms, Locking Options, and Other Ways to Speed Up Your Queries
46mSupercharge Your SQL with Indexes: a Practical Introduction
29mHow De-normalizing Your Data with JSON Can Boost Query Performance
