Skip to content

Commit

Permalink
bug: Replace batch index to resolve hot table problem (#720)
Browse files Browse the repository at this point in the history
Closes #719
  • Loading branch information
jrconlin committed Jul 9, 2020
1 parent 9465952 commit c3ca80e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/db/spanner/batch_index.sql
@@ -0,0 +1,8 @@
CREATE INDEX BatchExpireId
ON batches (
fxa_uid,
fxa_kid,
collection_id,
expiry
), INTERLEAVE IN user_collections

0 comments on commit c3ca80e

Please sign in to comment.