Koha-clms/installer/data
Dobrica Pavlinusic 60cf55bceb 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)

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
(cherry picked from commit d8e702dd25)

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
2012-08-11 07:13:43 -04:00
..
Pg Bug 3464: Added altcontactcountry and B_address2 to borrowers and deletedborrowers 2009-09-06 10:01:51 -04:00
mysql Bug 7886 - C4/ShelfBrowser slow SQL performance 2012-08-11 07:13:43 -04:00