http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7886
Dobrica Pavlinusic <dpav...@rot13.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #8895|0 |1 is obsolete| | --- Comment #7 from Dobrica Pavlinusic <dpav...@rot13.org> --- Created attachment 8976 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=8976&action=edit Bug 7886 - C4/ShelfBrowser slow SQL performance ShelfBrowser uses two SQL queries with syntax WHERE ((cn_sort = ? AND itemnumber < ?) OR cn_sort < ?) AND homebranch = ? AND location = ? AND ccode = ? homebranch already has index, and adding indexes on ccode and location improves performance by 30% for each query since MySQL is able to use index_merge intersect(items_ccode,homebranch,items_location) -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/