mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-03 08:52:13 +00:00
fix: query optimisations (#1949)
* index on events for changes * check for current sequence before filter events
This commit is contained in:
1
migrations/cockroach/V1.50__changes_idx.sql
Normal file
1
migrations/cockroach/V1.50__changes_idx.sql
Normal file
@@ -0,0 +1 @@
|
||||
CREATE INDEX changes_idx ON eventstore.events (aggregate_type, aggregate_id, creation_date) USING HASH WITH BUCKET_COUNT = 10;
|
||||
Reference in New Issue
Block a user