storj/satellite/accounting/projectbwcleanup
Michal Niewrzal 0b519fbd05 satellite/satellitedb: create index for interval_day for project_bandwidth_daily_rollup
To improve deletion of old entries in project_bandwidth_daily_rollup
we need index on `interval_day` column which is used to find those old
entries.

As an addition we are changing interval how often deletion is executed
from 7 to 1 day. We would like to have smaller portion of data to
delete.

Fixes https://github.com/storj/storj/issues/5465

Change-Id: Ie18ebe859887b93d6e4e6065a61fb9214c7ad27a
2023-02-03 10:02:58 +00:00
..
chore_test.go satellite/accounting: fix as of system interval value for some tests 2021-06-29 10:16:48 +00:00
chore.go satellite/satellitedb: create index for interval_day for project_bandwidth_daily_rollup 2023-02-03 10:02:58 +00:00