mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-07 07:16:54 +00:00
fix: improve performance on db insert (#1649)
This commit is contained in:
2
migrations/cockroach/V1.41__index_max_seq.sql
Normal file
2
migrations/cockroach/V1.41__index_max_seq.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
use eventstore;
|
||||
CREATE INDEX IF NOT EXISTS max_sequence on eventstore.events (aggregate_type, aggregate_id, event_sequence DESC);
|
||||
Reference in New Issue
Block a user