[Koha-bugs] [Bug 28268] Improve memory usage when indexing authorities in Elasticsearch
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Apr 30 11:05:41 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28268
--- Comment #4 from Ere Maijala <ere.maijala at helsinki.fi> ---
This patch changes the mechanism so that the callback used to retrieve a single
record retrieves authtypecode and marcxml fields. Well, actually it delegates
the work to get_from_authid. As a result the record set retrieved from database
only contains authid, which consumes quite a bit less memory than all the
fields together. This also mirrors the method used in get_all_biblios_iterator.
Surprisingly this seems to be also faster than the old mechanism.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list