Z
Z
zelsky2015-09-10 15:38:27
MySQL
zelsky, 2015-09-10 15:38:27

Why is Mysql eating RAM?

That's where 9.7 -% of the total memory. There is a similar question but there is no solution.
In which direction should I dig in the config? Connection 1-o.
0b726ad335e64725aeab17bbbb2ee814.png

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Andre la'Balm, 2015-09-10
@zelsky

The normal state is that mysql eats RAM. No need to add up the consumed megabytes - this is shared memory (well, or something like that is called).
In general, if 602 meters are shown, it means that for all streams, and not for each separately.
In this case, it is necessary to distinguish between allocated, reserved, used memory.
sudo apt-get install mysqltop
sudo mysqltop

R
Ruslan Fedoseev, 2015-09-10
@martin74ua

This is normal behavior.
Run mysqltuner.pl - it will give you, among other things, a breakdown from memory, how much the server needs and why ...
If you do not have mysqltuner.pl -
wget mysqltuner.pl -o mysqltuner.pl
;)

S
Swartalf, 2015-09-10
@Swartalf

you don’t understand what’s on the screen, it’s more clear that this is the top / htop output in which the mysqld server threads are displayed, but it’s not at all clear why you decided that it eats more RAM than necessary

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question