https://github.com/SoftwareHeritage/swh-storage
Revision 6b80cff86bec2376f4610d4f4b2d01d935e54cde authored by Nicolas Dandrimont on 19 February 2018, 18:19:39 UTC, committed by Nicolas Dandrimont on 19 February 2018, 18:30:41 UTC
This table allows counting objects by bucket, keeping the transactions for
counting objects short (a few dozen seconds at most).

Also add a "single_update" boolean field to the main object_counts table to be
able to discriminate tables that are counted via buckets and tables counted on
one go.

The main table is updated every 256 counted buckets to avoid too much churn on
the table.

Close T962.
1 parent 86d68a6
History
Tip revision: 6b80cff86bec2376f4610d4f4b2d01d935e54cde authored by Nicolas Dandrimont on 19 February 2018, 18:19:39 UTC
Add a new table for "bucketed" object counts
Tip revision: 6b80cff
File Mode Size
source
changelog -rw-r--r-- 491 bytes
compat -rw-r--r-- 2 bytes
control -rw-r--r-- 1.6 KB
copyright -rw-r--r-- 930 bytes
rules -rwxr-xr-x 946 bytes

back to top