I am in the process of re tweaking my mysql conf
Rather than ask a specific question firsrt, I just want to get a general idea of what to indentify a problem
For example, I read that:
query_cache_size= 32MB for every 1GB of RAM
Now, if I have 3GB of RAM, that would mean 96MB right?
I actually have it set to 512MB. I have never reverted back, due to the fact I never go into SWAP. With this said, if there is no swap, increasing to 512 is not causing a problem thus can only be better than having it set to 96MB
Or am I missing something?
Same applies for
key_buffer = 128MB for every 1GB of RAM
I read that those 2 our really important, so again I have assigned 956MB to the key buffer and still the memory threshold seems to cope as I never go into swap
Is this a good way to go about it, or will this cause problems. When my site gets busy, problems are popping up.
Should I revise my my.cnf methods or is swap = 10k a reason to turn a blind eye to the points I have mentioned above
THANKS!



LinkBack URL
About LinkBacks
Reply With Quote





