Files
zitadel/cmd/setup/54.sql
Tim Möhlmann 78ded99017 perf: drop instance position index (#10626)
# Which Problems Are Solved

There was an left-behind index introduced to optimize the old and
removed event execution handler. The index confuses prostgres and it
sometimes picks this index in favor of the projection specific index.
This sometimes leads to bad query performance in the projectio handlers.

# How the Problems Are Solved

Drop the index

# Additional Changes

- none

# Additional Context

- Forgotten in https://github.com/zitadel/zitadel/pull/10564

(cherry picked from commit 54554b8fb9)
2025-09-11 06:09:43 +02:00

2 lines
54 B
SQL

DROP INDEX IF EXISTS eventstore.es_instance_position;