[Koha-bugs] [Bug 9681] Add some indexes in database
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon May 6 15:07:27 CEST 2013
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9681
Paul Poulain <paul.poulain at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #15642|0 |1
is obsolete| |
--- Comment #5 from Paul Poulain <paul.poulain at biblibre.com> ---
Created attachment 17959
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=17959&action=edit
Bug 9681: Add some indexes in database
Some table columns should have an index to speed SQL queries :
- statistics table has only one index (used to make heavy queries for reports)
- itemtype should have an index in items and biblioitems (this is used in
circulation to check the number of existing issues of a specific item type)
- issue.branchcode and issue.issuingbranch
Test plan :
- Create a new database using kohastructure.pl
=> check there is no SQL error and that new indexes are present (mysql> show
create table)
Apply update database on a master version
=> check there is no SQL error and that new indexes are present (mysql> show
create table)
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Comment: Indexes created as described. No errors.
Fixing small merge conflict.
Test presence of new indexes on all affected tables.
Signed-off-by: Paul Poulain <paul.poulain at biblibre.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list