dbaplus Community
dbaplus Community
Mar 29, 2026 · Databases

Why MySQL’s ibtmp1 Swells to 192 GB and How to Stop It

A sudden disk‑usage alarm reveals MySQL’s ibtmp1 temporary tablespace ballooning to 192 GB, and the article walks through why it happens, how to safely clear it, set size limits, and pinpoint the inefficient SQL that caused the explosion.

MySQLPerformance TuningSQL Optimization
0 likes · 7 min read
Why MySQL’s ibtmp1 Swells to 192 GB and How to Stop It
Aikesheng Open Source Community
Aikesheng Open Source Community
Jun 22, 2022 · Databases

Diagnosing Excessive data_free Values in MySQL and Managing ibtmp1 Temporary Tablespace Bloat

This article walks through a real‑world case where a MySQL instance showed an abnormal 13 GB data_free value, explains how the ibtmp1 temporary tablespace caused the growth, demonstrates verification steps with sysbench and SQL queries, and provides configuration and operational solutions to prevent and resolve the issue.

MySQLPerformance Tuningdata_free
0 likes · 9 min read
Diagnosing Excessive data_free Values in MySQL and Managing ibtmp1 Temporary Tablespace Bloat
Aikesheng Open Source Community
Aikesheng Open Source Community
Mar 25, 2019 · Databases

Investigation of MySQL Temporary Tablespace Limits with JDBC useCursorFetch and Alternative Solutions

This article analyzes how MySQL's temporary tablespace (ibtmp1) grows when using JDBC with the useCursorFetch=true parameter, why errors are hidden, presents test scenarios reproducing the issue, compares segment and stream reading methods, and proposes configuration and code‑level solutions to control temporary space and ensure proper error reporting.

temporary tablespaceusecursorfetch
0 likes · 11 min read
Investigation of MySQL Temporary Tablespace Limits with JDBC useCursorFetch and Alternative Solutions
ITPUB
ITPUB
Jun 30, 2017 · Databases

Understanding MySQL 5.7 Shared Temporary Tablespace and innodb_temp_data_file_path

This article explains the new shared temporary tablespace introduced in MySQL 5.7, how to configure its size and location with innodb_temp_data_file_path, compares it with tmpdir, demonstrates the impact on compressed and uncompressed InnoDB temporary tables, and highlights related parameters and potential pitfalls.

Database ConfigurationInnoDBMySQL
0 likes · 10 min read
Understanding MySQL 5.7 Shared Temporary Tablespace and innodb_temp_data_file_path