Configuring MySQL for Low Memory VPS
I’ve found the following configuration helps when you’re trying to squeeze out as much memory from a VPS as possible. [mysqld] port = 3306 socket = /var/lib/mysql/mysql.sock skip-locking key_buffer = 16K max_allowed_packet = 1M table_cache = 4 sort_buffer_size = 64K read_buffer_size = 256K read_rnd_buffer_size = 256K net_buffer_length = 2K thread_stack = 64K # For … Read more