mirror of
https://github.com/zitadel/zitadel.git
synced 2025-02-28 21:57:23 +00:00

* 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;
|