df -h
grep '1204' /var/log/mysql/error.log
SHOW TABLE STATUS LIKE 'your
table
name';
SHOW VARIABLES LIKE 'innodb
data
file_path';
SELECT table
schema AS `Database`, table
name AS `Table`, round(((data
length + index
length) / 1024 / 1024), 2) `Size in MB` FROM information
schema.TABLES ORDER BY (data
length + index_length) DESC;
SELECT variable
name, variable
value FROM information
schema.global
status WHERE variable
name IN ('Innodb
data
written', 'Innodb
data_read');
SET GLOBAL innodb
data
file_path = 'ibdata1:12M:autoextend';
Note: Adjust the size (`12M`) according to your requirements.
Let Dr. Droid create custom investigation plans for your infrastructure.
Book Demo