• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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