storj/satellite/satellitedb/dbx
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
..
gen satellite/satellitedb/dbx/gen: use go instead of sh 2023-01-10 16:30:39 +00:00
templates satellite/dbx: standardize on assignment 2020-12-01 16:10:18 +00:00
accounting.dbx satellite/satellitedb: create index for interval_day for project_bandwidth_daily_rollup 2023-02-03 10:02:58 +00:00
audit.dbx satellite/satellitedb/dbx: split into multiple files 2023-01-09 16:24:31 +02:00
billing.dbx satellite/satellitedb/dbx: split into multiple files 2023-01-09 16:24:31 +02:00
cockroach.go private/dbutil: use dbutil and tagsql from storj.io/private 2021-04-23 14:36:52 +03:00
gen.go satellite/satellitedb/dbx/gen: use go instead of sh 2023-01-10 16:30:39 +00:00
graceful_exit.dbx satellite/satellitedb/dbx: split into multiple files 2023-01-09 16:24:31 +02:00
identity.dbx satellite/satellitedb/dbx: split into multiple files 2023-01-09 16:24:31 +02:00
node_payments.dbx satellite/satellitedb/dbx: split into multiple files 2023-01-09 16:24:31 +02:00
node_reputation.dbx satellite/satellitedb/dbx: split into multiple files 2023-01-09 16:24:31 +02:00
node.dbx satellite/overlay: keep track of noise info per node 2023-02-01 23:03:35 -05:00
oauth.dbx satellite/satellitedb/dbx: split into multiple files 2023-01-09 16:24:31 +02:00
project_bucket.dbx satellite/payments/stripecoinpayments: make price overrides per-bucket 2023-02-01 23:17:25 +00:00
project.dbx satellite/satellitedb/dbx: document project.dbx 2023-01-13 11:24:34 +02:00
repair.dbx satellite/satellitedb/dbx: split into multiple files 2023-01-09 16:24:31 +02:00
satellitedb.dbx satellite/satellitedb/dbx/gen: use go instead of sh 2023-01-10 16:30:39 +00:00
satellitedb.dbx.go satellite/satellitedb: create index for interval_day for project_bandwidth_daily_rollup 2023-02-03 10:02:58 +00:00
satellitedb.dbx.pgx.sql satellite/satellitedb: create index for interval_day for project_bandwidth_daily_rollup 2023-02-03 10:02:58 +00:00
satellitedb.dbx.pgxcockroach.sql satellite/satellitedb: create index for interval_day for project_bandwidth_daily_rollup 2023-02-03 10:02:58 +00:00
user.dbx satellite/satellitedb: Drop unused tables 2023-01-10 17:00:15 +00:00