Skip to main content

Module storage

Module storage 

Source
Expand description

Storage accounting (RFC-011 §9): measures actual orbok storage consumption and updates the storage_accounting table.

Measurements are approximate on purpose — exact byte-level accounting per row is expensive; page-level and aggregate-query measurements are fast and accurate enough for the Storage view.

Functions§

update_storage_accounting
Compute and persist storage accounting for the Storage view (RFC-011 §9 “approximate by default”).