Speed up bibs-by-item-age
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Confirmed
|
Medium
|
Unassigned |
Bug Description
From Hubert Lubaczewski (a.k.a. depesz), based on investigation of performance issues at the database layer of Evergreen, we received an initial implementation of a replacement bibs-by-item-age mechanism. See http://
The version offered removed some functionality, which I have attempted to reimplement within his framework. See http://
No pullrequest yet until more eyes look at it. It's untested. I also cargo-culted the four indexes depesz used during testing into the branch, but it's likely a different set may be better. Branch at:
tags: | added: performance |
Changed in evergreen: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in evergreen: | |
assignee: | nobody → Galen Charlton (gmc) |
Changed in evergreen: | |
assignee: | Galen Charlton (gmc) → nobody |
I've force-pushed some updates to the stored proc, based on feedback from Liam Whalen. The changes may impact performance compared to the 2ms timing that depesz was able to attain, but that's the cost of correctness. However, they may not ... testing with real data will tell.