storj/satellite/satellitedb
Michal Niewrzal 87d0789691 satellite/payments/stripe: avoid full table scan while listing records
Stripe invoice project records while listing are causing full table scan
because of OFFSET caluse. This change is refactoring query to list using
cursor.

Change-Id: I6b73b9b2815173d7ef02cf615408778476eb3b7b
2023-05-09 14:16:55 +00:00
..
dbx satellite/payments/stripe: avoid full table scan while listing records 2023-05-09 14:16:55 +00:00
satellitedbtest satellite/satellitedb: cleanup testing access 2023-02-06 14:36:11 +02:00
testdata satellite/satellitedb: add index on owner_id column for projects table 2023-05-09 08:57:32 +00:00
accountfreezeevents_test.go satellite/{console,satellitedb}: add account freeze service 2022-12-16 22:24:58 +00:00
accountfreezeevents.go satellite/{console,db,analytics}: better warning handling 2023-03-28 14:30:38 +00:00
apikeys.go metainfo: per-project and user-agent eventkit-based usage tracking 2023-04-25 15:13:43 +00:00
attribution.go satellite/satellitedb: make value_attributions.partner_id nullable 2023-05-05 23:42:50 +00:00
audithistory.go satellite/reputation: new ApplyUpdates() method 2022-06-07 15:22:25 +00:00
billingdb.go satellite/satellitedb: support insert for many billing txs in one db tx 2023-03-31 14:48:17 +00:00
bucketsdb.go satellite: Remove remaining references to "partner ID" 2023-04-19 15:37:10 +00:00
coinpaymentstxs.go satellite/payments: rename 'stripecoinpayments' package to 'stripe' 2023-04-06 16:51:43 +00:00
compensation.go satellite/compensation: smaller txns for RecordPeriod 2021-03-02 20:14:25 +00:00
consoledb_test.go satellite/satellitedb/satellitedbtest: pass ctx as an argument 2020-01-20 16:35:42 +02:00
consoledb.go satellite/console/dbcleanup: make chore clean up project invites 2023-05-08 16:36:16 +00:00
containment.go satellite/audit: add GetAllContainedNodes method to ReverifyQueue 2023-02-02 00:39:29 +00:00
customers_test.go satellite/satellitedb: add package info to customers db 2023-03-31 15:51:30 +00:00
customers.go satellite/payments/stripe: avoid full table scan while listing 2023-04-13 12:36:31 +02:00
database.go satellite/payments/stripe: avoid full table scan while listing records 2023-05-09 14:16:55 +00:00
gracefulexit.go sql: capitalize keywords 2022-03-01 15:19:38 +00:00
invoiceprojectrecords.go satellite/payments/stripe: avoid full table scan while listing records 2023-05-09 14:16:55 +00:00
migrate_gen.go all: fix deprecated ioutil commands 2022-10-11 15:27:29 +00:00
migrate_test.go satellite/satellitedb: remove gob migration exceptions 2023-02-10 15:05:18 +02:00
migrate.go satellite/satellitedb: add index on owner_id column for projects table 2023-05-09 08:57:32 +00:00
migratez.go satellite/satellitedb: add index on owner_id column for projects table 2023-05-09 08:57:32 +00:00
nodeapiversion.go ci: fix lint errors 2021-05-17 13:37:31 +00:00
nodeevents_test.go satellite/nodeevents: take last_attempted into account when selecting 2022-12-01 20:08:38 +00:00
nodeevents.go satellite/nodeevents: take last_attempted into account when selecting 2022-12-01 20:08:38 +00:00
nodeselection.go satellite/{contact,satellitedb}: preserve node message debounce support 2023-03-20 16:13:06 +00:00
orders_test.go satellite/orders: cleanup after altering primary key 2023-03-06 16:03:11 +00:00
orders.go satellite/orders: cleanup after altering primary key 2023-03-06 16:03:11 +00:00
overlaycache_test.go satellite/repair: repair pieces on the same last_net 2023-04-06 17:34:25 +00:00
overlaycache.go satellite/repair: repair pieces on the same last_net 2023-04-06 17:34:25 +00:00
payouts.go satellite/compensation: smaller txns for RecordPeriod 2021-03-02 20:14:25 +00:00
peeridentities.go all: fix dots 2020-07-16 14:58:28 +00:00
projectaccounting_test.go satellite/accounting: fix full table scan GetProjectObjectsSegments 2023-04-17 14:18:52 +00:00
projectaccounting.go satellite/accounting: fix full table scan GetProjectObjectsSegments 2023-04-17 14:18:52 +00:00
projectfromdbx_test.go satellite/{console,satellitedb}: add PublicID to Project, db method GetByPublicID 2022-07-21 19:49:26 +00:00
projectinvitations_test.go satellite/console/dbcleanup: make chore clean up project invites 2023-05-08 16:36:16 +00:00
projectinvitations.go satellite/console/dbcleanup: make chore clean up project invites 2023-05-08 16:36:16 +00:00
projectmembers_test.go web/satellite: project members sorting fixed (#3231) 2019-10-15 15:24:53 +03:00
projectmembers.go all: fix linter complaints 2020-10-13 15:59:01 +03:00
projects_test.go satellite/{console,satellitedb}: add account freeze service 2022-12-16 22:24:58 +00:00
projects.go cmd/tools: remove migration tool code for generating missing salt 2023-03-10 16:38:54 +00:00
regtokens.go all: fix dots 2020-07-16 14:58:28 +00:00
repairqueue.go storage: move errors to better locations 2023-04-06 17:26:29 +03:00
reputations.go satellite/reputation: reconfigure lambda and alpha 2022-08-17 18:52:53 +00:00
resetpasstokens.go all: fix dots 2020-07-16 14:58:28 +00:00
reverifyqueue_test.go satellite/audit: test delay before Reverify 2023-02-15 23:16:23 +00:00
reverifyqueue.go satellite/audit: test delay before Reverify 2023-02-15 23:16:23 +00:00
revocation.go satellite/*: use typed lrucache and ReadCache 2023-04-21 10:49:08 +00:00
storagenodeaccounting.go satellite/accounting: Use metabase.AliasPiece with tally observer 2023-03-29 12:24:05 +00:00
storjscanpayments.go satellite/payments/monetary: remove pkg and all its references 2022-09-07 12:58:00 +00:00
storjscanwallets.go satellitedb: add token balance to API endpoint 2022-08-31 22:55:16 +00:00
stripecoinpaymentsdb.go satellite/payments: rename 'stripecoinpayments' package to 'stripe' 2023-04-06 16:51:43 +00:00
userfromdbx_test.go satellite/console: add cutoff to email reminders 2022-06-09 16:45:35 +00:00
users_test.go satellite/console/dbcleanup: create console DB cleanup chore 2023-05-05 19:11:53 +00:00
users.go satellite/console/dbcleanup: create console DB cleanup chore 2023-05-05 19:11:53 +00:00
verifyqueue_test.go satellite/audit: help performance of pushing to audit queue 2022-11-29 15:37:49 +00:00
verifyqueue.go satellite/audit: help performance of pushing to audit queue 2022-11-29 15:37:49 +00:00
webappsessions_test.go satellite/console: implement WebappSessions db 2022-05-16 15:06:04 +00:00
webappsessions.go satellite/console,web/satellite: invalidate sessions after inactivity 2022-08-23 15:51:05 +00:00