[Koha-bugs] [Bug 35438] Importing records can create too large transactions

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Nov 30 18:11:58 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=35438

--- Comment #2 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 159413
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=159413&action=edit
Bug 35438: Transact each record import separately

When importing a staged file we commit every 50 records
For an authority import we are also merging, which can affect many more
biblios, and these all end up in the transaction.
This can cause tables locks and issues across Koha

Test Plan:
1) Apply this patch
2) prove t/db_dependent/ImportBatch.t

-- 
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