MySQL Forums
Forum List  »  Performance

Re: Performances problems with MySQL and ASP
Posted by: Aleksey Kishkin
Date: October 30, 2004 04:53AM

Usualy this picture means mysql tries to eat more memory than OS can dedicate for mysql. OS begins to hardly use swap memory. Each connection use some amount of memory and from some threshold OS feels lack of memory. There is an article with explanation how mysql uses memory .

http://dev.mysql.com/doc/mysql/en/Memory_use.html

How to check settings of your mysql instance: http://dev.mysql.com/doc/mysql/en/Server_parameters.html


Another possible explanation: mysql has too small buffers and since some moment mysql has to refresh buffers too often. For 'main' :-) buffer (key_buffer) you can check it if compare Key_read_requests (how much times mysql tried to read index page) and Key_reads (how many times mysql actually read page from disk). Optimal key_read_requests/key_reads must be about 0.01..0.05
(there is explanation how to check these status variables: http://dev.mysql.com/doc/mysql/en/Server_status_variables.html )

Best regards,
Aleksey Kishkin

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Performances problems with MySQL and ASP
2310
October 30, 2004 04:53AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.