Koha-clms/installer/data/mysql
Paul Poulain 68ff49bb7d 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@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@biblibre.com>
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
2013-05-08 10:03:23 -04:00
..
atomicupdate Bug 7475: Update configuration 2012-09-19 17:15:25 +02:00
de-DE Bug 10050: Update German web installer files for 3.12 - Language settings 2013-04-25 21:22:12 -04:00
en Followup 2 - Bug 9381 - Add Catalan language 2013-04-07 13:48:44 -04:00
es-ES Followup Bug 9381 - Add Catalan language 2013-04-07 13:48:44 -04:00
fr-FR Bug 9831: Correct and add authorised values un French UNIMARC installer 2013-04-25 22:13:25 -04:00
it-IT Followup Bug 9381 - Add Catalan language 2013-04-07 13:48:44 -04:00
nb-NO Bug 7055 - NORMARC: Fix 008 position 15-17 and 35-37 2013-05-01 07:45:21 -04:00
pl-PL Followup Bug 9381 - Add Catalan language 2013-04-07 13:48:44 -04:00
ru-RU Followup Bug 9381 - Add Catalan language 2013-04-07 13:48:44 -04:00
uk-UA Followup Bug 9381 - Add Catalan language 2013-04-07 13:48:44 -04:00
backfill_statistics.pl
…
kohastructure.sql Bug 9681: Add some indexes in database 2013-05-08 10:03:23 -04:00
labels_upgrade.pl
…
patroncards_upgrade.pl
…
sample_only_param_tables.sql
…
sysprefs.sql Bug 10103 UniqueItemFields is missing from sysprefs.sql 2013-04-26 18:17:05 -04:00
update22to30.pl Bug 8289 Upgrading from 2.2 does not work anymore 2012-06-25 16:15:42 +02:00
updatedatabase.pl Bug 9681: Add some indexes in database 2013-05-08 10:03:23 -04:00