MySQL Forums
Forum List  »  InnoDB

Re: sanity check on innodb config
Posted by: kevin foote
Date: December 02, 2009 07:33AM

So .. not sure if innodb_fast_shutdown is what I really want to do then, but glad to know its there.

I think O_DIRECT will help with the minimal swaping that I'm seeing. Using vmstat si and so are only in the range of 20 to 50, not 1k to 2k like the 'High Performance MySQL' book depicts. I might also throw in setting swappiness to 0 rather than the default 60..


One other observation on my innodb / mysql server set up.

While innotop reports mysql as having ~ 4.5g allocated via the "Buffer Pool" view page, the OS is reporting RES (Resident Memory) usage never going above ~ 2.4g

--- top output ---
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
25892 mysql 15 0 4996m 2.2g 18m S 5.7 29.1 67:35.80 mysqld

Am I hitting a restrictive limit via the OS? (previously mentioned I have not messed with sysctl etc) Is this due to paging size or some sysctl setting that I'm missing? Is this even relevant on x86_64?

>
> Why do you need to stop mysql more than, say, once a year?
>

Well once I get all this ironed out I don't really see the need but currently I do need to restart things. Which gives the pain of 10 or 20 minutes..

One other reason to restart that I've had lately is to disconnect clients. Haven't found a way to do that within mysql yet.. :-) FLUSH HOSTS just flushes the host knowledge I think.. errors etc..


Thanks for all the help on this..
kevin

Options: ReplyQuote


Subject
Views
Written By
Posted
5263
December 01, 2009 01:46PM
2306
December 01, 2009 11:09PM
Re: sanity check on innodb config
2016
December 02, 2009 07:33AM
2444
December 02, 2009 08:25AM
1966
December 02, 2009 10:42AM
1834
December 02, 2009 02:53PM
3096
December 09, 2009 08:34AM
1868
December 09, 2009 08:33PM
2561
December 10, 2009 10:21AM
1903
December 10, 2009 10:44PM


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.