I have a site which has around 10000 members registered in it. Server Config : Intel(R) Xeon(R) CPU X3210 @ 2.13GHz 2GB Ram I've noticed that the site load some times reaches 4. When i checked in the WHM, I found that MYSQL load it very high. What should i do to decrease the load? Also i have noticed that my earlier coder has used double instead of decimal in the type in a table. Because of this, some of the users balance is being shown as 1.19999999 instead of 1.2. Is it fine to change the type to decimal (11,2)?
Need more details.....like what version of MySQL do you use ? And still need to know the code. So many programmer write a code, connect to mysql and never close the connection. IMO, this will load more resources
If you PM me a link & some details, I can give you a quote for optimisation. I'll inspect for free etc... however any modifications will cost - of course, depending of the ability of your previous coder, I'm sure at least 50% of the queries could be optimised. PM me for further info.
Indexes can help the system run orders of magnitude faster. Create a slow-queries log file and set it to something like 1 second to log. Post the queries here and I'll suggest a few indexes.
Think they mean like if they are using a CMS like WP so then you can tell why server load might be high
Or what to look for to reduce the load. Like caching or additional plugins or server adjustments or the like.