Skip to content

Commit

Permalink
Fix splitting
Browse files Browse the repository at this point in the history
  • Loading branch information
neekolas committed May 9, 2024
1 parent bd183b3 commit b51c458
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
SET statement_timeout = 0;

-- bun:split
--bun:split
DROP INDEX IF EXISTS message_pubsubtopic_idx;

-- bun:split
--bun:split
DROP INDEX IF EXISTS message_sort_idx;

-- bun:split
--bun:split
DROP INDEX IF EXISTS message_recvts_shouldexpire_idx;

-- bun:split
--bun:split
-- Replace recvts_shouldexpire_idx with an index just on receiver timestamp
-- This index is used in our data pipelines to power the data warehouse for high level analytics on network growth
CREATE INDEX CONCURRENTLY message_receivertimestamp_idx ON public.message(receiverTimestamp);
CREATE INDEX CONCURRENTLY IF NOT EXISTS message_receivertimestamp_idx ON public.message(receiverTimestamp);

0 comments on commit b51c458

Please sign in to comment.