Hello
i see my mysql have much usage:
how i can see why have this usage? or how i can resolve that?
Thanks!
i see my mysql have much usage:
when i did run "mysqladmin processlist;" i saw one user have much process:PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
306175 mysql 20 0 10.9g 3.4g 1.2g S 161.2 7.2 1606:46 mysqld
also in dbtop command i see:| 418833 | par****a_ha****2 | localhost | par****a_ha****2 | Sleep | 0 | | |
| 418835 | par****a_ha****2 | localhost | par****a_ha****2 | Query | 1 | Sending data | SELECT COUNT(*) FROM td5ia_k2_comments WHERE itemID=28 AND published=1 |
| 418839 | par****a_ha****2 | localhost | par****a_ha****2 | Query | 0 | Sending data | SELECT COUNT(*) FROM td5ia_k2_comments WHERE itemID=23 AND published=1 |
| 418841 | par****a_ha****2 | localhost | par****a_ha****2 | Query | 0 | Sending data | SELECT COUNT(*) FROM td5ia_k2_comments WHERE itemID=22 AND published=1
| 418845 | par****a_ha****2 | localhost | par****a_ha****2 | Sleep | 0 | | |
they are for one user.User .cpu(%) * . read(B/s) . write(B/s) . CAUSE
pa***a 231/301/240 0/0/0 97974/84513/76185-
how i can see why have this usage? or how i can resolve that?
Thanks!
Last edited: