Logo
Explore Help
Sign In
TheArchive/zitadel
1
0
Fork 0
You've already forked zitadel
mirror of https://github.com/zitadel/zitadel.git synced 2025-05-17 03:48:20 +00:00
Code Issues Packages Projects Releases Wiki Activity
zitadel/cmd/setup/31.sql

1 line
133 B
MySQL
Raw Normal View History

fix(fields): add index to improve search by aggregate (#8267) # Which Problems Are Solved During performance testing of the `eventstore.fields` table we found some long running queries which searched for the aggregate id. # How the Problems Are Solved A new index was added to the `eventstore.fields`-table called `f_aggregate_object_type_idx`. # Additional Changes None # Additional Context - Table was added in https://github.com/zitadel/zitadel/pull/8191 - Part of https://github.com/zitadel/zitadel/issues/7639 (cherry picked from commit 23bebc7e30ebd6a20dd0a87480863a5557d5b3fc)
2024-07-08 17:54:19 +02:00
CREATE INDEX CONCURRENTLY IF NOT EXISTS f_aggregate_object_type_idx ON eventstore.fields (aggregate_type, aggregate_id, object_type);
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.6 Page: 217ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API