How Storage is Measured

Overview

SingleStore uses two key units for measuring data storage usage:

Unit

Description

Total Data Storage Usage

(GB-h)

Represents total data storage usage over a given period.

Can be calculated by multiplying the data storage usage, in gigabytes (GB), by the duration, in hours, which yields total data storage usage in gigabyte-hours (GB-h).

To illustrate, storing 10 GB for 3 hours = (10 GB) × (3 hours) = 30 GB-h

Average Data Storage Usage

(Avg GB)

Represents the average data storage usage over a given period.

Can be calculated by dividing the total data storage usage, in GB-h, by the duration, in hours, which yields the average data storage usage in gigabytes (GB).

To illustrate, if a database’s total data storage usage is 720 GB-h over a 30-day month, the average data storage usage is:

(720 GB-h) / (30 days × 24 hours per day) = 1 GB.

Storage Analysis

The graphs above display a day’s view of data storage usage, where each bar represents the average data storage usage throughout the day.

For the workspace group, Group 1 - Primary Region (AWS TIER 1: US WEST 2 (OREGON)), the data storage graph shows:

Date

Average Data Storage Usage

(Avg GB)

Hours per Day

Total Data Storage Usage

(GB-h)

June 4th

2.22 GB

24

(2.22 GB) × (24 hours) = 53.28 GB-h

June 5th

5.45 GB

24

(5.45) × (24 hours) = 130.8 GB-h

June 6th

3.65 GB

24

(3.65) × (24 hours) = 87.6 GB-h

As these were the only three days in June in which this workspace stored data, the total data storage usage for the month of June is:

53.28 + 130.8 + 87.6 = 271.68 GB-h

Billing Calculation

For billing, storage is expressed as average data storage usage in gigabytes (Avg GB).

To determine the average data storage usage for the month of June, divide the total data storage usage by the total number of hours in the month:

  • Total data storage usage in June: 271.68 GB-h

  • Total hours in June: 30 days × 24 hours = 720 hours

(Total data storage usage in June) / (Total hours in June)

(271.86 GB-h) / (720 hours) = 0.378, or 0.38 GB

Verify with the Consumption Table

The consumption table displays monthly metrics.

The selected workspace reflects the average data storage usage of 0.38 GB, which is in line with the preceding calculation.

Last modified: April 25, 2025

Was this article helpful?

Verification instructions

Note: You must install cosign to verify the authenticity of the SingleStore file.

Use the following steps to verify the authenticity of singlestoredb-server, singlestoredb-toolbox, singlestoredb-studio, and singlestore-client SingleStore files that have been downloaded.

You may perform the following steps on any computer that can run cosign, such as the main deployment host of the cluster.

  1. (Optional) Run the following command to view the associated signature files.

    curl undefined
  2. Download the signature file from the SingleStore release server.

    • Option 1: Click the Download Signature button next to the SingleStore file.

    • Option 2: Copy and paste the following URL into the address bar of your browser and save the signature file.

    • Option 3: Run the following command to download the signature file.

      curl -O undefined
  3. After the signature file has been downloaded, run the following command to verify the authenticity of the SingleStore file.

    echo -n undefined |
    cosign verify-blob --certificate-oidc-issuer https://oidc.eks.us-east-1.amazonaws.com/id/CCDCDBA1379A5596AB5B2E46DCA385BC \
    --certificate-identity https://kubernetes.io/namespaces/freya-production/serviceaccounts/job-worker \
    --bundle undefined \
    --new-bundle-format -
    Verified OK