MySQL Performance Tips
Memory use is very important
Global caches/buffers
key_buffer
innodb_buffer_pool
table_cache
thread_cache
Per-thread caches/buffers
sort_buffer
record_buffer
join_buffer
Leave some memory for the OS
Copyright 2003, Jeremy Zawodny