http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14053

M. Tompsett <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #38568|0                           |1
        is obsolete|                            |

--- Comment #6 from M. Tompsett <[email protected]> ---
Created attachment 38728
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=38728&action=edit
Bug 14053 - Acquisition db tables are missing indexes

Acquisition db tables have a lot of relational constraints and are often
missing an index to have performance queries.

This patch adds an index for all columns used in a forein key.
Also adds an index on some columns very often used in search queries :
aqbooksellers.name and aqbudgets.budget_code.
Also adds an index on aqorders.orderstatus, very often used with hardcoded
value like 'cancelled', in various queries.

Test plan :
 - Check SQL syntax is correct
 - Try to compare performance after and before database update. I think query
contained in C4::Acquistion::GetInvoices could be a good example

Signed-off-by: Mark Tompsett <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
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/

Reply via email to