HomeSoftware Heritage

Add a new table for "bucketed" object counts
6b80cff86becUnpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

Add a new table for "bucketed" object counts

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.

Details

Provenance
olasdAuthored on Feb 19 2018, 7:19 PM
olasdPushed on May 7 2018, 3:34 PM
Parents
R65:86d68a672bc3: doc: update table clusters in SQL diagram
Branches
Unknown
Tags
Unknown