-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Database size #14
Comments
The following (from Slack) might explain why the current number of records per-day is so high. James Robinson 2022-02-09 21:36
James Byrne 2022-02-09 22:21
|
Since
|
Records
In the forecast tables we expect a single record to take:
forecast_id
(serial4
) => 4 bytesdata_forecast_generated
(date
) => 4 bytesdata_forecast_for
(date
) => 4 bytescell_id
(int4
) => 4 bytessea_ice_concentration_mean
(float4
) => 4 bytessea_ice_concentration_stddev
(float4
) => 4 bytesTotal: 24 bytes per record for data
Disk size
However, from recent measurements:
so 100000 records take 8568832 bytes => each record takes 85.68 bytes
Summary
There are around 23M records each day for the northern and southern hemispheres combined.
This means: 23,000,000 * 85.68 / 1024 / 1024 = 1.84 GB per day.
The text was updated successfully, but these errors were encountered: