Some SQL queries on the replica tables take much longer than on the Toolserver. For example, this query for the first edit of a user takes 0.01 sec on the Toolserver and 49.08 sec on Tool Labs (for dewiki_p):
select rev_timestamp from revision where rev_user=336793 order by rev_timestamp asc limit 1;
This is critical for tools as stimmberechtigung that checks the right to vote of a user in the German Wikipedia (Toolserver: toolserver.org/~stimmberechtigung/, Labs: tools.wmflabs.org/stimmberechtigung/). While it runs very fast on the Toolserver, it takes several minutes to load it on Labs.
Version: unspecified
Severity: normal