mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-18 05:47:32 +00:00
d5626db71b
* index on events for changes * check for current sequence before filter events * fix(migration): enable hash shared indexes feature
7 lines
193 B
PL/PgSQL
7 lines
193 B
PL/PgSQL
BEGIN;
|
|
|
|
SET experimental_enable_hash_sharded_indexes=on;
|
|
CREATE INDEX changes_idx ON eventstore.events (aggregate_type, aggregate_id, creation_date) USING HASH WITH BUCKET_COUNT = 10;
|
|
|
|
COMMIT;
|