Skip to content

Commit 56bc614

Browse files
committed
chore(clickhouse): add bloom filter for team in in sandbox events
1 parent 8a404ee commit 56bc614

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
-- +goose Up
2+
ALTER TABLE sandbox_events_local
3+
ADD INDEX idx_team_id sandbox_team_id TYPE bloom_filter GRANULARITY 4;
4+
5+
ALTER TABLE sandbox_events_local
6+
MATERIALIZE INDEX idx_team_id;
7+
8+
-- +goose Down
9+
ALTER TABLE sandbox_events_local
10+
DROP INDEX IF EXISTS idx_team_id;

0 commit comments

Comments
 (0)