High MySQL CPU Load
I am currently running the following:
OS X Server 10.5.5
2x3GHz Multi-Core Xserve
8GBs RAM
MySQL Server v5.0.67
One problem I am having is that when someone does a MySQL database search on a particular webpage the CPU load can get upwards to 400% render the search useless to all other clients. The MySQL CPU load is getting so high that no one can then do a search and the results never come back until the other queries are finished first.
Why won't MySQL use the 8GBs of memory I have installed instead of sucking up CPU? Is there a way to allocate this in the OS or terminal? If not, should I be optimizing MySQL settings instead to better work with my query statement and 8GBs of memory that I have installed? I'm not exactly sure what to adjust within the MySQL settings if this is the case.
Any help would be greatly appreciated!
Thank you very much!
Support all Mac machines, Mac OS X (10.5.7)