[Koha-bugs] [Bug 33987] New: Combine multiple db updates in C4::ImportBatch::BatchCommitRecords for efficiency/avoiding possible deadlocks
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Jun 12 19:39:25 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33987
Bug ID: 33987
Summary: Combine multiple db updates in
C4::ImportBatch::BatchCommitRecords for
efficiency/avoiding possible deadlocks
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Tools
Assignee: koha-bugs at lists.koha-community.org
Reporter: kyle at bywatersolutions.com
QA Contact: testopia at bugs.koha-community.org
When replacing existing records BatchCommitRecords will the table
import_records will be updated three times for three different fields by three
different queries. Not only is this inefficient ( especially for large batches
), it seems that this is causing the dreaded "Lock wait timeout exceeded; try
restarting transaction" error on some mysql/mariadb configurations.
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list