https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36569 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fridolin.somers@biblibre.co | |m --- Comment #7 from Fridolin Somers <fridolin.somers@biblibre.com> --- Maybe not change charset nor collate, changing columns type looks like a good enough optimization.
CREATE INDEX IF NOT EXISTS module_action_idx ON action_logs(module, action);
This is indeed missing from database atomic update. But looks like having already indexes on module and action is already optimal for queries : MariaDB [koha]> explain select * from action_logs where module='MEMBERS' and action='CREATE'; +------+-------------+-------------+------+-----------------------+------------+---------+-------+-------+-------------+ | id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra | +------+-------------+-------------+------+-----------------------+------------+---------+-------+-------+-------------+ | 1 | SIMPLE | action_logs | ref | module_idx,action_idx | action_idx | 767 | const | 20348 | Using where | +------+-------------+-------------+------+-----------------------+------------+---------+-------+-------+-------------+ -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.