How Storage Usage is Calculated in the Platform.

Edited

Overview

The usage values displayed in the BionicWP platform represent average resource consumption over your billing cycle. These values are provided through the WP Cloud API and are not real-time measurements.

If you need the most up-to-date live usage, we recommend checking directly via SSH or PhpMyAdmin.


Storage Usage (Database & Filesystem)

  • The values shown in the platform are averages, not current snapshots.

  • Storage usage is measured in Gibibytes (GiB). This format can look slightly different from the decimal-based Megabytes (MB) or Gigabytes (GB) you might be more familiar with.

  • The numbers are refreshed every 12–24 hours from WP Cloud.

How the Average is Calculated

  1. The WP Cloud API pulls resource usage records tied to your billing cycle.

  2. Each billing cycle has a start date and end date.

  3. The API adds up all recorded storage usage values since the start of the cycle.

  4. The total is divided by the number of records to calculate a daily average storage usage in GiB.

  5. This result is what you see in the platform as total_daily_average_storage_usage_in_gigabytes.


Live Usage vs. Average Usage

  • Platform values: Averaged over your billing cycle, updated every 12–24 hours.

  • Live values:

    • Use SSH for real-time disk usage.

    • Use PhpMyAdmin or the wp db size command (via SSH) for real-time database size.


Key Takeaways

  • Numbers in the platform = averages, not real-time.

  • Updated approximately every 12–24 hours.

  • Storage usage is shown in GiB, which may look different compared to MB/GB.

  • For exact current usage, check directly via SSH or PhpMyAdmin.