[Koha-bugs] [Bug 16855] New: Poor performance due to high overhead of SQL call in export.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jul 5 20:12:51 CEST 2016


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

            Bug ID: 16855
           Summary: Poor performance due to high overhead of SQL call in
                    export.pl
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Tools
          Assignee: gmcharlt at gmail.com
          Reporter: nick at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org

Export.pl uses Koha::Biblioitems->search() to retrieve biblionumbers for the
export process.

The SQL code generated by this does a full dump of the the biblioitems table
including the marcxml for each record.

This table can be quite large and on smaller servers can actually cause debian
to fire oom-killer on the process.

As the results of the search are only used to push biblionumbers into an array
it might make better sense to do a direct SQL query and not retrieve the
marcxml column

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list