Note: I am not sure who to tag here, so please feel free to change the project tags accordingly.
Also, please change the "assigned to" to whoever you feel it should, just assigning it to @thcipriani for now as per SAL.
While investigating T223952: Increased instability in MediaWiki backends (according to load balancers) (even though it looks unrelated, still merits a task) I found that looks like that the 2nd of May something was released that has triggered lots of temporary tables being generated, mainly on s1 (enwiki) and s8 (wikidata in a smaller scale).
Which has never stopped ever since:
This is an s1 slave:
db1089
https://grafana.wikimedia.org/d/000000273/mysql?panelId=7&fullscreen&orgId=1&var-dc=eqiad%20prometheus%2Fops&var-server=db1089&var-port=9104&from=1556791578243&to=1556877978243
This is another s1 slave
db1080
https://grafana.wikimedia.org/d/000000273/mysql?panelId=7&fullscreen&orgId=1&from=1556791578243&to=1556877978243&var-dc=eqiad%20prometheus%2Fops&var-server=db1080&var-port=9104
This is a s8 slave
db1109
https://grafana.wikimedia.org/d/000000273/mysql?panelId=7&fullscreen&orgId=1&from=1556791578243&to=1556877978243&var-dc=eqiad%20prometheus%2Fops&var-server=db1109&var-port=9104
The timing matches:
19:27 thcipriani@deploy1001: rebuilt and synchronized wikiversions files: all wikis to 1.34.0-wmf.3
sys schema isn't providing great insights of what queries could be generating that. I might take a look at performance_schema but meanwhile, if someone can check what was released on that version that might have potentially introduced this, that'd be great.