Skip to content

Commit

Permalink
remove search index on json fields that harm insert and pruning perfo…
Browse files Browse the repository at this point in the history
…rmance (#11041)

* remove search index on json fields that harms insert performance

* Drop indexes on json array fields in participant_events_xxx tables

CHANGELOG_BEGIN
CHANGELOG_END

* Revert "remove search index on json fields that harms insert performance"

This reverts commit 78969f5
  • Loading branch information
dasormeter authored Oct 26, 2021
1 parent 70b90f4 commit 9f882f2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
643daa2f3a0a8f8f58289bf83ad8c05d5e50734c702f508e1b7abcaafd7fb1b3
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
DROP INDEX participant_events_create_tree_event_witnesses_idx;
DROP INDEX participant_events_create_flat_event_witnesses_idx;
DROP INDEX participant_events_consuming_exercise_flat_event_witnesses_idx;
DROP INDEX participant_events_consuming_exercise_tree_event_witnesses_idx;
DROP INDEX participant_events_non_consuming_exercise_flat_event_witness_idx;
DROP INDEX participant_events_non_consuming_exercise_tree_event_witness_idx;
DROP INDEX participant_events_divulgence_tree_event_witnesses_idx;

0 comments on commit 9f882f2

Please sign in to comment.