MySQL configuration for 16GB Linode

Hi, I am still pretty new and have a few Linode 2-4GB servers for development. I just had a client get a 16GB for a production site running Magneto.

When setting up the stack I am sure I can get better performance but I am not sure what config to use as there is no live data yet for comparison.

This is what the tutorial proposes for a 1GB Linode:

/etc/mysql/my.cnf

max_connections = 75

key_buffer = 32M

maxallowedpacket = 1M

thread_stack = 128K

table_cache = 32

Any suggestions is greatly appreciated.

2 Replies

Let it run for a week and run this https://raw.githubusercontent.com/major … qltuner.pl">https://raw.githubusercontent.com/major/MySQLTuner-perl/master/mysqltuner.pl it'll give you some ideas.

max_connections looks a little low for a 16GB I assume you're expecting a lot of traffic for a node that size.

Other useful options are innodbfilepertable and innodbbufferpoolsize if possible set innodbbufferpool_size to larger than your database size.

Are you using InnoDB or MyISAM (or both)?

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct