I have a question regarding mysql memory settings. I am currently experimenting on very large tables. When I run complicated queries on them, mysql runs out of memory.
What is the appropriate settings in mysql that will allow a larger size of data to be processed at a time? and How do I change it?
Any info?
If you are new to this then you have a lot of effort to get up to speed. MySQL is not nearly as bad as tuning Oracle but it does require some work. Sorry for the bad news. I would recommend you get yourself a copy of High Performance MySQL and look at the section on MySQL profiling and particularly Chapter 6 on optimizing server settings.
Without details, as colleagues have pointed out, it is hard to make any sort of recommendations.
Also you may take a look at the following Google Video (http://www.youtube.com/watch?v=UcQVeO1JxSM) It is old but concepts are there.
Good luck
PS – also check out http://dev.mysql.com/doc/refman/4.1/en/option-files.html for help on option files (cnf)