469,090 Members | 1,182 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,090 developers. It's quick & easy.

Tuning Mysql 4.1.10

I have a freebsd box with 1 gig of memory for mysql/php, I was
wondering what my my.cnf should look like, I am doing alot of searches
and writes on ISAM tables, I currently have the following:

[client]
port=3306
socket=/tmp/mysql.sock

[mysqld]
port=3306
socket=/tmp/mysql.sock
max_connections=300
interactive_timeout=10
wait_timeout=10
connect_timeout=10
thread_cache_size=256
key_buffer=256M
max_allowed_packet=15M
table_cache=1024
sort_buffer=2M
record_buffer=1M
join_buffer=1M
thread_cache=1028
thread_concurrency=4
query_cache_limit=1M
query_cache_size=32M
query_cache_type=1
ft_min_word_len =3
delay_key_write=ALL

Jul 23 '05 #1
1 1197
You can reference the comments in the sample files installed on you
system.
The sample files are: my-huge.cnf, my-large.cnf, my-medium.cnf, and
my-small.cnf
By reading the comments in each of those files, you can get a good idea
of which one most closely matches your needs.

Jul 23 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by mixo | last post: by
3 posts views Thread by Maryam | last post: by
11 posts views Thread by Dave [Hawk-Systems] | last post: by
4 posts views Thread by Simon Windsor | last post: by
13 posts views Thread by atlaste | last post: by
reply views Thread by Medhatithi | last post: by
3 posts views Thread by dunleav1 | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.