Commit 6509534
authored
### Description
- This PR improves the index for the `request_queue_records` table, as
the previous version of the index was not efficient for retrieving
requests.
EXPLAIN result for over a million requests
Old index
<img width="1133" height="573" alt="image"
src="https://github.com/user-attachments/assets/6c75d6ac-bd86-4b8e-9abf-3dc897a42ad7"
/>
New index
<img width="1028" height="443" alt="image"
src="https://github.com/user-attachments/assets/e79780e8-fba7-42e2-aa47-f70d83e8c372"
/>
### Issues
- Closes: #1526
1 parent c8e2f19 commit 6509534
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
205 | 205 | | |
206 | 206 | | |
207 | 207 | | |
208 | | - | |
209 | 208 | | |
210 | | - | |
| 209 | + | |
211 | 210 | | |
212 | 211 | | |
213 | 212 | | |
| |||
0 commit comments