Answer the question
In order to leave comments, you need to log in
Mysql freezes due to the queue and sending data takes a very long time, why?
mysql freezes due to queue and very long execution of sending data, why ?
that is, for some reason it turns out that the request is being executed for a very long time, although the value is about tens of thousands, the server is multi-core and has a lot of operatives, M2 are hard, who knows what? options)?
the picture shows the option how it slows down, below the query option
(several sites) can ngix give something wrong?
here is an example request
Answer the question
In order to leave comments, you need to log in
In short, the matter was in the physical plate, the operatives
talked here and decided
https://debianforum.ru/index.php/topic,16064.new.h...
LIKE is slow by definition.
can it turn out to concatenate all this into one field and hang a full-text index on it?
there are all sorts of sphinxes for this (( why force a muscle (
and you can also think about applying like not for all records, but for those that satisfy the rest of the conditions. Greedy calculations, yes, and you can think about indexes, I think the original table can be traversed faster than created, given the selection.
Judging by iotop, MariaDB is working. Moreover, in the aggregate, requests intensively work on writing, and not on reading. Possibly to create temporary tables.
If this is shared hosting, then there is nothing special to do here. Unless to offer hosting tenants an improved version of their software.
I doubt it's just the one query given in the question.
First of all, I would analyze slow queries (slow query log).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question