Comment 11 for bug 1879335

Revision history for this message
Galen Charlton (gmc) wrote :

Overall, looks good, but I have a concern that the way linked bibs are retrieved might cause performance issues when handling authorities that have a lot of linked bibs attached:

To transcribe from IRC:

<gmcharlt> berick: question re the manage authorities branch - in a large database, genre/form headings (and other broad headings) can easily have tens of thousands of linked bibs
<gmcharlt> although open-ils.search.authority.main_entry is returning only the ids of those bibs, I have a concern about the potential performance if the interface tries to fetch or deal with one of those
<gmcharlt> (of course, if change propagation is turned on, you wouldn't want to actually try saving an edit to the main heading of such an authority record)
<gmcharlt> (but that's a separate issue)
<gmcharlt> berick: yeah, the prospect of open-ils.pcrud.search.rmsr "211cac11a4f991dba0f625ef08d9a075",{"id":[{50,000-element array ... gives me pause :)

Also, it strikes me that the table of linked bibs, however it ends up being populated, should have a defined initial sort order, even if only by ID.