View Full Version : recommended table cache settings
werehere
Wed 3rd May '00, 4:29am
I have a dedicated p3 600MHZ with 128MB RAM and I am wondering what specific table cahce settings would be best to use for this. Or any other MySQL specific settings would be best.
Thanks
werehere
Thu 4th May '00, 2:28am
Anybody have any info to offer on this subject?:)
John
Thu 4th May '00, 2:40am
In MySQL, I would recommend increasing the values of these variables:
max_connections
tmp_table_size
For PHP, I would increase:
memory_limit
magic_quotes_gpc -> off
You could, if you are on a win32 system, look at loading the databases onto a ramdrive - I'm not sure if there is an equivalent for Unix. You would have to be careful of power outages.
That's all I can think of off the top of my head.
John
bigsoccer tech
Mon 8th May '00, 3:01am
John,
Can you please advise what a good setting is? I'm learning this stuff...
Jesse
werehere
Wed 10th May '00, 1:13pm
Just wanted to tell you that I changed around the php.ini settings a little and my forum seems to be screaming now like this one.
memory_limit = 12
magic_quotes_gpc -> off
So I upped the memory from 8MB to 12MB and turned the magic_quotes_gpc off and it seems to be much better. I also upped max_connections to 800 (for my forums, but that is forum specific I would guess).
Cold Steel
Wed 31st May '00, 11:05pm
What would be optimal for these two?
max_connections
tmp_table_size
Currently the values are
max_connections - 250
tmp_table_size - 1048576
Thanks!
Cold Steel
Fri 2nd Jun '00, 3:40am
I'm upping the max_connections to 800, what about tmp_table_size?
Thanks!
Cold Steel
Tue 6th Jun '00, 2:20am
I have a dedicated AMD K6-2 400 MHZ with 128 RAM. Can someone help me with the recommended tmp_table_size?
werehere
Tue 6th Jun '00, 3:21am
Well dont take my word for this necessarily, but I have not found that it makes much differnce no matter if it set to default, or doubled. Have tried both, could not even tell.:)
[Edited by werehere on 06-06-2000 at 03:22 PM]
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.