Koha-clms/installer/data
Dobrica Pavlinusic 4bc63c0aeb 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)
2012-07-12 21:35:14 -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-07-12 21:35:14 -04:00