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@lists.koha-community.org Reporter: nugged@gmail.com QA Contact: testopia@bugs.koha-community.org CC: m.de.rooy@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.