Tag

Table Size

0 views collected around this technical thread.

Aikesheng Open Source Community
Aikesheng Open Source Community
Feb 5, 2024 · Databases

Why Adding a Simple Index Can Dramatically Increase MySQL Table Size

The article demonstrates, through a concrete MySQL example, how adding a seemingly small secondary index can unexpectedly inflate a table’s on‑disk size by up to 80%, explains the underlying InnoDB storage mechanics, and offers practical schema‑design recommendations to mitigate such growth.

Database OptimizationIndexingInnoDB
0 likes · 12 min read
Why Adding a Simple Index Can Dramatically Increase MySQL Table Size
Selected Java Interview Questions
Selected Java Interview Questions
Apr 2, 2023 · Databases

Understanding MySQL Single‑Table Size Limits and InnoDB Page Structure

This article explores MySQL single‑table row limits, demonstrates how to generate massive test data, explains InnoDB page and index structures, calculates theoretical maximum rows based on B+‑tree parameters, and provides practical tuning tips for handling large tables.

B-TreeDatabaseInnoDB
0 likes · 13 min read
Understanding MySQL Single‑Table Size Limits and InnoDB Page Structure
Java Architect Essentials
Java Architect Essentials
Nov 18, 2022 · Databases

Understanding MySQL Single‑Table Size Limits and B+Tree Storage Structure

This article explores how MySQL tables store data in 16 KB pages, demonstrates how to generate massive test data, explains the impact of primary‑key size and B+Tree depth on query performance, and derives the practical 20 million‑row recommendation for single‑table limits.

B-TreeDatabase DesignIndexing
0 likes · 14 min read
Understanding MySQL Single‑Table Size Limits and B+Tree Storage Structure
Code Ape Tech Column
Code Ape Tech Column
Oct 31, 2022 · Databases

Understanding MySQL Single‑Table Size Limits and B+Tree Storage Structure

This article experimentally explores MySQL single‑table row limits, demonstrates how to generate massive test data, analyzes InnoDB page and B+Tree index structures, and derives the commonly cited 20 million‑row recommendation by calculating storage capacity and query‑performance implications.

B-TreeInnoDBMySQL
0 likes · 14 min read
Understanding MySQL Single‑Table Size Limits and B+Tree Storage Structure
Selected Java Interview Questions
Selected Java Interview Questions
Aug 14, 2022 · Databases

Understanding MySQL Single‑Table Row Limits and InnoDB Page Structure

This article explains how MySQL InnoDB stores data in 16 KB pages, analyzes the practical limits of single‑table row counts, demonstrates data‑generation experiments, and derives the commonly cited 20 million‑row recommendation by examining B+‑tree structures, index pages, and storage parameters.

B-TreeDatabase PerformanceInnoDB
0 likes · 15 min read
Understanding MySQL Single‑Table Row Limits and InnoDB Page Structure
Laravel Tech Community
Laravel Tech Community
May 13, 2021 · Databases

Why MySQL Table Size Doesn’t Shrink After DELETE and How to Reduce It

This article explains why deleting rows in MySQL does not decrease the physical table file size, describes the underlying InnoDB storage mechanisms, and shows how to reclaim space using OPTIMIZE TABLE, ALTER TABLE, and Online DDL options.

ALTER TABLEDELETEInnoDB
0 likes · 7 min read
Why MySQL Table Size Doesn’t Shrink After DELETE and How to Reduce It
Aikesheng Open Source Community
Aikesheng Open Source Community
Aug 30, 2019 · Databases

Determining MySQL Table Disk Usage with INFORMATION_SCHEMA and INNODB_SYS_TABLESPACES

This article explains why retrieving a MySQL table's on‑disk size via INFORMATION_SCHEMA.TABLES is unreliable, describes the impact of storage engines and row formats, and shows how to obtain accurate sizes by querying INNODB_SYS_TABLESPACES, including considerations for compression and configuration settings.

Database PerformanceINFORMATION_SCHEMAInnoDB
0 likes · 6 min read
Determining MySQL Table Disk Usage with INFORMATION_SCHEMA and INNODB_SYS_TABLESPACES