jcrespo added a comment. It could be an enqueue issue, if thousands of those queries are sent at the same time (due to bot traffic, for example), they would be enqueued on server side and executed with controlled concurrency. I could check the binary logs to see if that is the case, and profile the database server when that happens (although I would need to know on which server/wiki that happens, and catch it in the moment).
We recently had issues with bots doing legit but heavier-than-usual traffic on wikidata, could be related. TASK DETAIL https://phabricator.wikimedia.org/T111769 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: jcrespo Cc: daniel, jcrespo, aude, Aklapper, Wikidata-bugs, GWicke, Krenair _______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs