storj/satellite/accounting
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
..
live satellite/{accounting,redis}: Use ARGV in redis scripts 2022-09-28 14:43:00 +00:00
nodetally satellite/accounting/nodetally: add ranged loop 2023-01-17 13:50:18 +01:00
projectbwcleanup satellite/satellitedb: create index for interval_day for project_bandwidth_daily_rollup 2023-02-03 10:02:58 +00:00
rollup storj: upgrade to use latest storj/common NodeAddress 2023-01-25 01:37:26 +00:00
rolluparchive satellites/orders: populate egress_dead in project_bandwidth_daily_rollups 2021-10-06 16:54:49 +00:00
tally satellite/accounting/nodetally: add ranged loop 2023-01-17 13:50:18 +01:00
billing_test.go satellite: use segment count for billing 2021-10-27 19:21:50 +00:00
bucketstats.go satellite/accounting: add metrics for total pending objects 2022-06-06 12:04:46 +00:00
bucketusage.go satellite/accounting/tally: use objects iterator instead metaloop 2021-07-20 15:52:18 +00:00
common.go all: fix error naming 2021-04-29 15:38:21 +03:00
db_test.go satellite/satellitedb: add interval_end_time column to accounting_rollups table 2022-07-27 17:53:27 +00:00
db.go satellite/payments/stripecoinpayments: make price overrides per-bucket 2023-02-01 23:17:25 +00:00
projectlimitcache_test.go satellite/accounting: use single call to get project limits 2022-09-13 21:50:52 +00:00
projectlimitcache.go satellite/accounting: use single call to get project limits 2022-09-13 21:50:52 +00:00
projectusage_test.go satellite/orders: don't store allocated bandwidth in 2023-01-12 13:21:02 +00:00
projectusage.go satellite/accounting: use single call to get project limits 2022-09-13 21:50:52 +00:00