# Database storage headroom worksheet

Use one copy per database service. Keep production identifiers and detailed metrics in the approved operations record. The numbers below are illustrative, not a universal target.

## Capacity record

- Website / database service and owner:
- Storage boundary and files counted:
- Plan limit or allocated capacity (GiB):
- Current free storage (GiB), metric, timestamp and time zone:
- Database-size reading (GiB), method and timestamp:
- Previous comparable free-space reading and elapsed days:
- Observed daily free-space decline (GiB/day):
- Days through first post-launch review:
- Expected decrease in the same free-storage meter from planned load (GiB); evidence or trial basis:
- Owner-chosen operating reserve (GiB):
- Maximum allowed capacity, expansion lead time and cost approver:
- Alert / stop condition and on-call owner:

## Forecast

Daily decline = (previous comparable free − current free) ÷ elapsed days; restart the baseline after a capacity change.
Projected free = current free − (daily decline × days) − planned load.
Margin above reserve = projected free − chosen reserve.
Fictional check: 12 − (0.3 × 14) − 3 = 4.8 GiB free; 4.8 − 4 = 0.8 GiB above reserve. Hold until the owner confirms the capacity path and a fresh reading.

## During launch

- Reading immediately before load:
- Reading after each approved batch:
- Observed minus forecast, and next forecast:
- Decision: release / reduce load / increase capacity / hold:
- Owner, evidence reference and next review time:

## Source references

- [PostgreSQL database size](https://www.postgresql.org/docs/current/functions-admin.html)
- [MySQL table-size estimates](https://dev.mysql.com/doc/mysql-infoschema-excerpt/8.0/en/information-schema-tables-table.html)
- [Amazon RDS free-storage metric](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/rds-metrics.html)
- [Amazon RDS autoscaling limitations](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_PIOPS.Autoscaling.html)
