Details
-
Bug
-
Status: Closed (View Workflow)
-
P2
-
Resolution: Done
-
17.0.0
-
Local build of Daisy at Chicago.
-
-
CP: sprint 79
-
0
-
Core: Platform
Description
I recently reindexed our full inventory data set at Chicago, and found that the reindex failed on the instance_contributors_idx with this error: "index row size 3256 exceeds maximum 2712 for index". Turns out that we have around 6000 instances with contributors whose aggregate length exceeds 2712 characters. As a work around, I removed the index and completed the reindex with no other problems. And the application, including searches, seemed to work just fine without it, presumably because each of these jsonb collections also have gin and full text indexes defined for them as well. It seems that trying to create a btree index on contributors, converting the whole array of contributors to text and using the text as the index key, is too brittle to accommodate the wide range of contributors that research libraries typically have. The same may be true for btree indexes on other types of jsonb collection, as well. Also, I don't actually see any need for this type of index.
TestRail: Results
Attachments
Issue Links
- blocks
-
FOLIO-2402 platform-related features and fixes for mod-inv-stor 18.2.1
-
- Closed
-
- duplicates
-
MODINVSTOR-139 Indices for sorting: Only index first part of JSON array properties
-
- Closed
-
- is blocked by
-
MODINVSTOR-418 Update RAML Module Builder (RMB) to 29.1.5
-
- Closed
-
-
RMB-498 Truncate b-tree string for 2712 index row size
-
- Closed
-
- relates to
-
MODINVSTOR-390 Adding an Instance with a longer title throws "Values larger than 1/3 of a buffer page cannot be indexed"
-
- Closed
-