See T390510: Fatal DBUnexpectedError: "Database servers in extension1 are overloaded"
First {T391153}
Then T390510#10772985 (CREATE INDEX translation_started_by_last_updated_timestamp ON cx_translations (translation_started_by, translation_last_updated_timestamp))
Then: T390510#10772917 (cx_suggestions (cxs_source_language, cxs_title))
Then: T390510#10772940 (cxs_source_language_title ON cx_suggestions (cxs_source_language, cxs_title)) This has been scanning 3M rows every time a user made a query. T390510#10772985
Now it's much better but:
- Please add the indexes I added to the code. And we should add them to testwiki and other places
- Please audit your code for missing indexes. I have found three so far but according to graphs, there might be more.
- Please make sure new issues like this doesn't get introduced again (by doing queries on conditions that don't have indexes)