[Koha-bugs] [Bug 19819] New: C4::Context->dbh is unreasonably slow
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Dec 15 11:57:45 CET 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19819
Bug ID: 19819
Summary: C4::Context->dbh is unreasonably slow
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: koha-bugs at lists.koha-community.org
Reporter: glasklas at gmail.com
QA Contact: testopia at bugs.koha-community.org
I have been profiling Koha the last day or so to try to fix some bottlenecks
increasing performance of bulk-processing of data. Discovered that
C4::Context->dbh was unexpectedly slow (Koha::Database->schema->storage->dbh is
the culprit). If it is safe to do so, performance can be greatly improved by
locally caching $dbh in a state variable. Patch will be provided shortly.
--
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