Following the comment and actor schema changes in Mediawiki, several iterations of changes have happened to the view layer of the wiki replicas consumed in Toolforge and Cloud VPS to keep up, with varying results. The problem now is that the actor and comment views are terribly slow compared to the underlying tables because of the large number of subqueries required to appropriately sanitize them.
This task is meant to surface and focus work on fixing the problem for the wiki replicas service in general vs the more Analytics-focused T209031.