Tagged articles
23 articles
Page 1 of 1
ITPUB
ITPUB
Dec 8, 2025 · Databases

When Should You Store NULL vs Default Values in MySQL? A Deep Dive into Row Formats

This article examines MySQL’s handling of nullable columns, comparing the storage implications of saving NULL versus assigning default values, explains InnoDB row formats (REDUNDANT, COMPACT, DYNAMIC, COMPRESSED), and outlines the effects on storage space, indexing, and query behavior.

Database designInnoDBNULL
0 likes · 6 min read
When Should You Store NULL vs Default Values in MySQL? A Deep Dive into Row Formats
Programmer Xu Shu
Programmer Xu Shu
Jun 3, 2025 · Databases

Unlock MySQL InnoDB Secrets: How Row Formats Store Your Data

This article explains how MySQL InnoDB transforms a simple INSERT statement into a complex on‑disk record by detailing the COMPACT row format, record header, variable‑length field list, NULL bitmap, and overflow handling, helping developers optimize storage and performance.

Database StorageInnoDBSQL
0 likes · 10 min read
Unlock MySQL InnoDB Secrets: How Row Formats Store Your Data
Aikesheng Open Source Community
Aikesheng Open Source Community
Jul 16, 2024 · Databases

How to Resolve MySQL "Index column size too large" (Error 1709) After Upgrading to 8.0.21

This article analyzes the MySQL 1709/1071 index‑column‑size‑too‑large error that appears after upgrading from 5.6 to 8.0.21, explains its relation to compact/redundant row formats, references the underlying bug, and provides practical steps and SQL queries to detect and fix affected tables before or after the upgrade.

Database UpgradeError 1709compact
0 likes · 12 min read
How to Resolve MySQL "Index column size too large" (Error 1709) After Upgrading to 8.0.21
dbaplus Community
dbaplus Community
Apr 6, 2024 · Databases

Unlocking InnoDB: Page Size, Row Formats, and Varchar Limits Explained

This article explains what InnoDB does, how its page‑based I/O causes the first query to be slower, the default Dynamic row format, how varchar length is stored, the practical limits of varchar(M) under utf8mb4, and the impact of metadata and internal fragmentation on row space.

Database StoragePage Sizemysql
0 likes · 22 min read
Unlocking InnoDB: Page Size, Row Formats, and Varchar Limits Explained
dbaplus Community
dbaplus Community
Feb 5, 2024 · Databases

Inside InnoDB: How MySQL Stores Data, Row Formats, Pages, and Indexes

This article explains MySQL's InnoDB storage engine, covering where data files are kept, the different row formats (compact, redundant, dynamic, compressed), the internal 16 KB page layout, record header fields, overflow handling, and how B‑Tree indexes (clustered and secondary) are built and accessed.

B+TreeData PageDatabase Storage
0 likes · 22 min read
Inside InnoDB: How MySQL Stores Data, Row Formats, Pages, and Indexes
ITPUB
ITPUB
Feb 9, 2023 · Databases

Inside InnoDB: How MySQL Stores Data, Row Formats, and Indexes Explained

This article breaks down MySQL's InnoDB storage engine, detailing where data files reside, the different row formats (compact, redundant, dynamic, compressed), the internal 16 KB page layout, record header fields, overflow handling, and how B‑tree indexes (clustered and secondary) are built and searched.

B+TreeDatabase StorageInnoDB
0 likes · 24 min read
Inside InnoDB: How MySQL Stores Data, Row Formats, and Indexes Explained
Liangxu Linux
Liangxu Linux
Dec 5, 2022 · Databases

How Does MySQL Store a Row? Inside InnoDB Files, Pages, and Row Formats

This article explains where MySQL keeps its data files, how InnoDB organizes tablespaces into segments, extents, pages and rows, details the Compact row format—including variable‑length field length lists, NULL‑value lists, and hidden fields—and clarifies the limits of VARCHAR and row‑overflow handling.

Database StorageExtentInnoDB
0 likes · 22 min read
How Does MySQL Store a Row? Inside InnoDB Files, Pages, and Row Formats
Tencent Database Technology
Tencent Database Technology
May 11, 2022 · Databases

In-depth Analysis of InnoDB File Structure and Page Organization

This article provides a comprehensive examination of InnoDB's physical file layout, detailing page components such as the file header, page header, record storage formats, variable‑length and NULL handling, free space, page directory, file trailer, external storage pages, and the differences among row formats and compression techniques, illustrated with concrete hexdump examples and SQL statements.

InnoDBblob storagecompression
0 likes · 27 min read
In-depth Analysis of InnoDB File Structure and Page Organization