29.12.22.3 The disk_metric Table

mysql> select * from performance_schema.disk_metric\G;
*************************** 1. row ***************************
     TIMESTAMP: 2026-09-30 10:10:44
VOLUME_SIZE_MB: 71645
 USED_SPACE_MB: 15189
*************************** 2. row ***************************
     TIMESTAMP: 2026-09-30 10:11:34
VOLUME_SIZE_MB: 71645
 USED_SPACE_MB: 15189
*************************** 3. row ***************************
     TIMESTAMP: 2026-09-30 10:12:34
VOLUME_SIZE_MB: 71645
 USED_SPACE_MB: 15190
*************************** 4. row ***************************
....

The disk_metric table has the following columns:

  • TIMESTAMP: Time the measurement was taken.

  • VOLUME_SIZE_MB: Size of the volume.

  • USED_SPACE_MB: Space used on the volume.