]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1306133: Avoid metabib.rec_descriptor where possible
authorMike Rylander <mrylander@gmail.com>
Thu, 10 Apr 2014 17:03:30 +0000 (13:03 -0400)
committerDan Wells <dbw2@calvin.edu>
Thu, 10 Apr 2014 21:19:43 +0000 (17:19 -0400)
commite953ba1b9a3260d352f62ca7fa44fd45188e0308
treed1535203b90e9b8599ce0e780b0b8cc0f07300c5
parentce9f58a3a8293ebf9070587f7c4b5806e196ceb6
LP#1306133: Avoid metabib.rec_descriptor where possible

metabib.rec_descriptor has been a view over other data structures
for some time now, but with the advent of the new attribute infrastructure
it is a view over a view over a view, variously transforming IDs to
a slim table to an HSTORE structure and finally to a wide table. Thus,
it is extremely expensive to query. So we won't unless we're asked to.
Which, in the TPAC world, is never.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Doug Kyle <dkyle@grpl.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/metabib.pm