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
Raw File
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
.gitignore
*.pyc
*.sw?
*~
.coverage
.eggs/
__pycache__
dist
*.egg-info
version.txt
back to top