Hi,
I've just installed MySQL as per Linode's Getting Started Guide and I have two questions:
1.)
In the
documentation under Database > Optimizing MySQL for a Linode 512, there are recommendations which I wonder if they're obsolete, since they don't exist in the factory my.cnf file that was added when I just installed MySQL (Ver 14.14 Distrib 5.1.58, for debian-linux-gnu (i686) using readline 6.2).
Linode's Getting Started Guide's recommendations are:
Code:
key_buffer = 16K
max_allowed_packet = 1M
thread_stack = 64K
table_cache = 4
sort_buffer = 64K
net_buffer_length = 2K
The latter two (
sort_buffer and
net_buffer_length) don't seem to appear in my.cnf …
Should I add these or leave them out? Have they been renamed and now correspond to something else that *does* exist in the current my.cnf?
As a newbie, I find these discrepancies a little bit confusing.
2.)
The guide also recommends that I skip_innodb, if I'm not going to use it. I guess I should *know* whether I'll use InnoDB or not, but right now I'm not sure.
Is it ok to leave both InnoDB and MyISAM enabled at the same time? I wonder if there's a potential/significant drawback having both enabled ("not skipped") simultaneously.
Best regards, Henrik