D
D
Dmitry2015-11-16 12:19:53
Highload
Dmitry, 2015-11-16 12:19:53

About a month the site slows down very much, how to calculate the reason?

Our online store has been operating for about six years. It is self-written (php + SQL). All the years worked, there were no problems. But the last month or two there has been such a trend that he is very stupid. Pages take a long time to load, especially in the admin panel. Everything is ok with hosting, there were no changes. Tell me how to calculate the reason for the long response. We don't have the qualifications ourselves. There is a suspicion that the matter is in the overgrown database. Some tables have become very "big". But very often pages slow down when loading which does not access these heavy tables.
Can anyone tell me what tools to measure any indicators?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Lebedev, 2015-11-16
@swanrnd

1) Look at the top queries to the database, the heaviest the most frequent.
2) Arrange indexes.
3) Cache the results of heavy and frequent queries.
4) Analyze the load, maybe there is not enough processor or memory.
Perhaps the problem is blocking.

K
Kirill, 2015-11-16
@kshvakov

If it brings you money - look for consulting, you yourself now, apparently, will not be able to overcome the
mysql situation https://ru.linkedin.com/in/vfedorkov
postgres postgresql-consulting.ru

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question