• Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

MySQL database size in statistics is bigger than real when using InnoDB engine

Franky@

New Pleskian
---------------------------------------------------------------
PRODUCT, VERSION, MICROUPDATE, OPERATING SYSTEM, ARCHITECTURE
Plesk Panel, 10.4.4, #50, Centos 6.4, x64

PROBLEM DESCRIPTION
Statistics page reports a database size that is almost doubled when using InnoDB engine in MySQL.

STEPS TO REPRODUCE
Create a database and fill it with data.

ACTUAL RESULT
Database reported size is almost double than real (verified on command line using du -sh on database directory).

EXPECTED RESULT
Database size should be reported correctly.

ANY ADDITIONAL INFORMATION
Changing the table engine to MyISAM solves the problem.
--------------------------------------------------------------
 
This is the screenshot taken from statistics page using InnoDB engine:
statistics-with-innodb.jpg
and this is the real database size on disk:
du-with-innodb.jpg

Same as above using MyISAM:
statistics-with-myisam.jpg
du-with-myisam.jpg
 
Back
Top