Won't Do
Details
Details
Assignee
Mike Taylor
Mike TaylorReporter
Nassib Nassar
Nassib NassarPriority
Sprint
None
Development Team
Thor
TestRail: Cases
Open TestRail: Cases
TestRail: Runs
Open TestRail: Runs
Created December 14, 2021 at 7:54 PM
Updated November 5, 2024 at 11:40 AM
Resolved November 4, 2024 at 7:46 PM
Background: LDP's ldpmarc tool generates a table called srs_marctab from SRS MARC records. This table is very large and cannot be queried within a short time unless indexes are used. The tool has recently been integrated with folio-snapshot so that it can be tested with this app.
Problem: The column "content" of table "public.srs_marctab" has a specialized index that does not work with the equals (=) operator but only works with LIKE or ILIKE. This will cause a query on that column to be prohibitively slow with a significant amount of data.
Proposed solution: Hardcode this particular column to use ILIKE instead of equals.
Fallback: If the solution is not workable or acceptable, then disable filtering on srs_marctab.content or implement a general, correct solution..
In the future we will need a general approach, because Metadb will at some point support a choice of index types.