You will have to increase your keybuffer in your my.cnf file. this will increas the amount of memory that mysql will use by default is set for low memory machines. The following are the settings impact performance that I use for my.cnf:
Code:
key_buffer = 16M
max_allowed_packet = 16M
table_cache = 256
sort_buffer_size = 32M
read_buffer_size = 256K
read_rnd_buffer_size = 512K
myisam_sort_buffer_size = 16M
# query cache 2M
query_cache_size = 2M
# query type OFF=0, ON=1, DEMAND=2
query_cache_type = 1
#
tmp_table_size = 16M
max_heap_table_size = 32M
We are running about 10,000 contacts and my response times hover arround 1 second. The big factor is the key_buffer as this is used by indexes to hold keys in memory. The second most important is table_cache. I also have has some problems with the max_packet_size with some queries involving the email part of SugarCRM. For more information on tuning MySQL check out http://dev.mysql.com/doc/refman/4.1/...arameters.html
Bookmarks