U
U
Urukhayy2015-09-01 13:33:53
MySQL
Urukhayy, 2015-09-01 13:33:53

Can long mysql queries be due to a 400 MHz processor?

The VPS has a 400 MHz processor. Requests to phpmyadmin take a long time to return.
I also noticed that applications like apache are slower to install on this VPS.

Answer the question

In order to leave comments, you need to log in

5 answer(s)
R
Roman Mirilaczvili, 2015-09-01
@2ord

Rather than guessing on coffee grounds, you need to take measurements.
4 Useful Commandline Tools to Monitor MySQL Perform...
Tuning Your MySQL Database
MySQLTuner-perl

A
Arris, 2015-09-01
@Arris

I get the impression that people generally cease to understand what megahertz is and what does it have to do with it at all. They cease to understand the connection between megahertz and the speed of work :(
Topikstarter, in your opinion, what does 400 MHz mean? 400 parrots? 400 million WHAT?
PS Started at 4.7 MHz :)

P
Puma Thailand, 2015-09-01
@opium

Well, then 400 megahertz is very small, so this is not surprising.

A
Alexey Yamschikov, 2015-09-01
@mobilesfinks

may

R
ramjke, 2015-09-01
@ramjke

Whether you are running out of CPU resources - you can tell by the output of the top command. If MySQL eats more than 90% while executing a query (assuming that you have one core) - there is definitely not enough processor performance.
See if you have gone to SWAP - you may not have enough RAM. The command free -m or top
Requests for a request are different - if your request consists of a dozen joins, then even a dozen cores will not save here.
In general, 400 MHz for a web server is not enough.
Please provide information on server and MySQL configuration, as well as an example query. Is your MySQL config default? With the inclusion of caching, the situation can change for the better (provided that there are enough resources for this).
You can enable the slow query log - add the lines
log-slow-queries=/var/log/slow_queries.log
long_query_time=3 to the mysql config

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question