how can one know that each process or a thread is consuming how much memory in MYSQL?
+1
A:
Assuming you just want just the memory usage of the mysql server program.
On windows you can use Process Explorer
On linux you can use the top command.
- Use "ps -e" to find the pid of the mysql process
- Then use "top -p {pid}" where {pid} is the pid of the mysql process.
epochwolf
2008-09-19 00:30:56
A:
on linux you can also use top|grep mysql to get a running report of the stats of the mysql process, 1 row per top refresh period.
cori
2008-09-19 00:38:18