mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 04:47:33 +00:00
perf(eventstore): redefine current sequences index (#9142)
# Which Problems Are Solved On Zitadel cloud we found changing the order of columns in the `eventstore.events2_current_sequence` index improved CPU usage for the `SELECT ... FOR UPDATE` query the pusher executes. # How the Problems Are Solved `eventstore.events2_current_sequence`-index got replaced # Additional Context closes https://github.com/zitadel/zitadel/issues/9082
This commit is contained in:
1
cmd/setup/44/02_drop_old_index.sql
Normal file
1
cmd/setup/44/02_drop_old_index.sql
Normal file
@@ -0,0 +1 @@
|
||||
DROP INDEX IF EXISTS eventstore.events2_current_sequence;
|
Reference in New Issue
Block a user