Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 01-09-2013, 08:45 AM   #1
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,295
Anyone care to share your my.cnf optimizations?

Curious what you guys have for your setups.

here is mine

Quote:
skip-external-locking
bind-address = 127.0.0.1
key_buffer = 300M
max_allowed_packet = 16M
thread_stack = 128K
thread_cache_size = 384
max_connections = 400
table_cache = 1800
tmp_table_size = 64M
max_heap_table_size = 64M
max_connect_errors = 1000
wait_timeout = 7200
connect_timeout = 20
query_cache_limit = 4M
query_cache_size = 128M
thread_concurrency = 10
myisam_sort_buffer_size = 64M
join_buffer_size = 2M
read_buffer_size = 1M
sort_buffer_size = 64M
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-09-2013, 09:21 AM   #2
AdultEUhost
ORLY?
 
AdultEUhost's Avatar
 
Industry Role:
Join Date: Oct 2005
Location: NL & US
Posts: 2,579
it isn't really useful to share as it is very specific to your needs, how much memory you have available etc etc
one might use solely innodb while another does a lot of full text myisam stuff

Use something like MySQL Tuner to get you started

by the way, if you only bind to localhost, you should use skip-networking and connect through socket
__________________
ICQ: 267-443-722 / leon [at] adulteuhost [dotcom]

Nominated for an XBIZ Award as "Webhost of the Year" in 2007, 2012, 2013 and 2014

Last edited by AdultEUhost; 01-09-2013 at 09:22 AM..
AdultEUhost is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-09-2013, 10:33 AM   #3
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,295
Quote:
Originally Posted by AdultEUhost View Post
it isn't really useful to share as it is very specific to your needs, how much memory you have available etc etc
one might use solely innodb while another does a lot of full text myisam stuff

Use something like MySQL Tuner to get you started

by the way, if you only bind to localhost, you should use skip-networking and connect through socket
but when i do that i cant connect to mysql over ssh tunell, which i do to connect via navicat.
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-09-2013, 12:29 PM   #4
JamesM
Confirmed User
 
Industry Role:
Join Date: Nov 2012
Posts: 732
Everyone's is different as per their need/system.

We use mysqltuner.pl for better performance.
__________________


Ex GF Films | Grab Dollars
Up To 80% Rev-Share | 255 Day Cookie | Legal Content | Variety of Promo Tools | CCBill Program | GF Niche
james[at]grabdollars[dot]com | ICQ::611-99-zero-zero-20
JamesM is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-09-2013, 12:52 PM   #5
signupdamnit
Confirmed User
 
signupdamnit's Avatar
 
Industry Role:
Join Date: Aug 2007
Posts: 6,697
Quote:
Originally Posted by JamesM View Post
Everyone's is different as per their need/system.

We use mysqltuner.pl for better performance.
+1 It will take at least a few days and multiple adjustments to tune things correctly. Sometimes the programs/scripts themselves make a big difference and if they are written poorly it can be impossible or impractical to optimize them without changing the source. It's a good idea to check what others say in regards to 'mysqltuner.pl' settings if you find it tells you to constantly increase a limit. Sometimes it makes sense to leave it because it's the application responsible and increasing it will only make the system worse.
__________________

You don't like my posts? Put me on ignore or fuck right off. I'll say what I want.
signupdamnit is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 01-09-2013, 02:47 PM   #6
Why
MFBA
 
Industry Role:
Join Date: Mar 2003
Location: PNW
Posts: 7,230
Quote:
Originally Posted by signupdamnit View Post
+1 It will take at least a few days and multiple adjustments to tune things correctly. Sometimes the programs/scripts themselves make a big difference and if they are written poorly it can be impossible or impractical to optimize them without changing the source. It's a good idea to check what others say in regards to 'mysqltuner.pl' settings if you find it tells you to constantly increase a limit. Sometimes it makes sense to leave it because it's the application responsible and increasing it will only make the system worse.
good advice right there.

in some cases you just need to add an index or something.
Why is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.