Using Drupal6 with a MariaDB 10 InnoDB engine for all tables, I have noticed that insert queries into notifications_* tables are very inefficient on InnoDB tables. For example, these frequently in my slow_query_log:
INSERT INTO notifications_event (module, type, action, oid, uid, params, created, counter) VALUES ('XXX', 'XXX', 'XXX', XXX, XXX, 'XXX', XXX, XXX); INSERT INTO notifications_fields (sid, field, value, intval) VALUES(XXX, 'XXX', 'XXX', XXX);
- Would be a good idea to convert such tables into MyISAM?
- Any downside for using such mix of storage engines?
- Is there a better solution to shorten the insert time?