Garayed.com  

Go Back   Garayed.com > mySQL
FAQ Members List Calendar Search Today's Posts Mark Forums Read


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-23-2007, 11:45 AM
FFMG
 
Posts: n/a
Default Settings for a medium(ish) site?


Hi,

What setting would you recommend for a medium site?
My site is currently running at around 20/30 queries per seconds, no
slow queries as far as the log can tell.

At the moment I have max.concurrent connections set to 4 should I
increase that?

What other setting should I change for the site to run properly?

Many thanks

FFMG


--

'webmaster forum' (http://www.httppoint.com) | 'webmaster Directory'
(http://www.webhostshunter.com/) | 'Recreation Vehicle insurance'
(http://www.insurance-owl.com/other/car_rec.php)
'Free URL redirection service' (http://urlkick.com/)
------------------------------------------------------------------------
FFMG's Profile: http://www.httppoint.com/member.php?userid=580
View this thread: http://www.httppoint.com/showthread.php?t=18667

Message Posted via the webmaster forum http://www.httppoint.com, (Ad revenue sharing).

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 07-23-2007, 01:47 PM
lark
 
Posts: n/a
Default Re: Settings for a medium(ish) site?

FFMG wrote:
> Hi,
>
> What setting would you recommend for a medium site?
> My site is currently running at around 20/30 queries per seconds, no
> slow queries as far as the log can tell.
>
> At the moment I have max.concurrent connections set to 4 should I
> increase that?
>
> What other setting should I change for the site to run properly?
>
> Many thanks
>
> FFMG
>
>

when you installed mysql, the install program creates a folder called
support-files. inside that folder you'll find several configuration
files one for small, medium and large sites/servers. here's the
beginning of the one they have for medium type of systems:


# This is for a system with little memory (32M - 64M) where MySQL plays
# an important part, or systems up to 128M where MySQL is used together with
# other programs (such as a web server
# The following options will be passed to all MySQL clients
[client]
#password = your_password
port = 3306
socket = /tmp/mysql.sock

# Here follows entries for some specific programs

# The MySQL server
[mysqld]
port = 3306
socket = /tmp/mysql.sock
skip-locking
key_buffer = 16M
max_allowed_packet = 1M
table_cache = 64
sort_buffer_size = 512K
net_buffer_length = 8K
read_buffer_size = 256K
read_rnd_buffer_size = 512K
myisam_sort_buffer_size = 8M
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 09:41 PM.




LinkBacks Enabled by vBSEO 3.0.0 © 2007, Crawlability, Inc.