fix(eventstore): increase performance on push (#7125)

This commit is contained in:
Silvan
2023-12-31 15:30:25 +01:00
committed by GitHub
parent 6d3ce8d5ab
commit cc2dd8b20b
7 changed files with 42 additions and 23 deletions

1
cmd/setup/19.sql Normal file
View File

@@ -0,0 +1 @@
CREATE INDEX CONCURRENTLY IF NOT EXISTS events2_current_sequence ON eventstore.events2 ("sequence" DESC, aggregate_id, aggregate_type, instance_id);