Msg#: 4159337 posted 6:21 am on Jun 26, 2010 (gmt 0)
In general adding RAM will help performance, but it is good to know where the actual bottleneck is. MySQL execution can also be slow due to insufficient indexes, and adding extra RAM will only marginally help in that case.
You should also know that adding 2GB of RAM to your server doesn't make 4GB usable memory on a 32 bit Linux distribution. In practice only 3GB will be available due to mapping of hardware devices to parts of the addressable memory space.