This will be a strong Archiving performance improvement: denormalize log_link_visit_action by adding idsite,time fields and INDEX. Update Pages archiving to remove the JOIN. Enjoy much better performance :)
(In ) Fixes #2002 nice!
(In ) Refs #2002 Fixing few bugs after refactoring / performance improvements, triggered when a visit overlaps 2 days