Commit a95fff4
Add covering index for encoding queue filtering
Create partial index on videos(state, priority DESC, updated_at DESC)
for state='crf_searched' to help with filtering and sorting before
joining to vmafs. Reduces unnecessary temp sorts on the videos side.
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>1 parent 2f71ae3 commit a95fff4
1 file changed
Lines changed: 17 additions & 0 deletions
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
0 commit comments