Move the calculation of callcount from psql to python import (--count_calls) This speeds up queries to the beacon metadata, which no longer needs to be materialized.
Also improve the sql schema so that no views are materialized.
Changes made:
Calculate the dataset's callcount and variantcount on import
Describe the pull request:
Pull request long description:
Move the calculation of callcount from psql to python import (
--count_calls
) This speeds up queries to the beacon metadata, which no longer needs to be materialized. Also improve the sql schema so that no views are materialized.Changes made:
data_table
a real table