Skip to content

Commit

Permalink
fix: add players and servers db indexes (#960)
Browse files Browse the repository at this point in the history
This will close MIS-207
  • Loading branch information
AngelOnFira committed Aug 2, 2024
1 parent 746198b commit 53dc398
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-- For cluster-datacenter-topology-get
CREATE INDEX ON servers (cloud_destroy_ts, taint_ts, nomad_node_id) STORING (datacenter_id);
Empty file.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
-- For mm-lobby-cleanup
CREATE INDEX ON players (lobby_id, remove_ts);

-- For mm-lobby-runtime-aggregate
CREATE INDEX ON lobbies (create_ts) STORING (namespace_id, region_id, stop_ts);

0 comments on commit 53dc398

Please sign in to comment.