[Koha-bugs] [Bug 24027] New: Adding multiple items is slow
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Nov 13 08:54:56 CET 2019
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24027
Bug ID: 24027
Summary: Adding multiple items is slow
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: minor
Priority: P5 - low
Component: Cataloging
Assignee: koha-bugs at lists.koha-community.org
Reporter: nugged at gmail.com
QA Contact: testopia at bugs.koha-community.org
CC: m.de.rooy at rijksmuseum.nl
In cataloguing/additem.pl?biblionumber=XXX when we choose "add multiple copies
of the item" it's adds very slowly. I did analysis and there's one big
inefficiency of calling
ModZebra( $item->{biblionumber}, "specialUpdate", "biblioserver" );
in every AddItem call: it requests update for same biblionumber after adding
each new item and time for execution of this ModZebra grows exponentially.
My set of patches (preparatory + fix) I will provide here will make this call
to ModZebra happen once in the end of adding of the whole number of these items
once.
Also I will attach a few smaller follow-up patches where I propose
optimisations for extra operations.
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list