Commit 136841f
committed
perf(jsonrpc): add DB index to improve filter of executed outputs
- Added partial index output_executed_idx on input_epoch_application_id.
- The index contains only rows where execution_transaction_hash IS NOT NULL.
- Added the corresponding down-migration statement.1 parent e8f6796 commit 136841f
2 files changed
Lines changed: 6 additions & 0 deletions
File tree
- internal/repository/postgres/schema/migrations
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
450 | 450 | | |
451 | 451 | | |
452 | 452 | | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
453 | 458 | | |
454 | 459 | | |
455 | 460 | | |
| |||
0 commit comments