• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

External mysql and statistics

unlo

New Pleskian
Hello!

Plesk 9.2.2, sles 10sp2

We are using external mysql server for our clients, and plesk statistics do not count size of that external databases.

Is it a bug?
How counts plesk statistics of databases??
 
Hello,

The reason of this behavior is the fact that Parallels Plesk Panel (PP) is not counting the disk usage at the external storage. You can verify it at the PP database with the help of the following query:

mysql> select dom_id,dbases from disk_usage limit 3;
+--------+--------+
| dom_id | dbases |
+--------+--------+
| 1 | 6144 |
| 2 | 4096 |
| 3 | 0 |
+--------+--------+
3 rows in set (0.01 sec)

Where dom_id is the id of the domain and dbases is the space that is occupied by the databases.

Thank you
 
So, plesk counts real size on disk.

Seems to be we are need to do a parser...

We are use that trick for mysql counting (sql query) :
select SUM(data_length+index_length) from information_schema.tables where table_schema = 'dbname';
 
Back
Top