<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Reducing MySQL Memory Usage for Low End Boxes</title>
	<atom:link href="http://www.lowendbox.com/blog/reducing-mysql-memory-usage-for-low-end-boxes/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lowendbox.com/blog/reducing-mysql-memory-usage-for-low-end-boxes/</link>
	<description>Hosting Websites on Bare Minimum VPS/Dedicated Servers</description>
	<lastBuildDate>Thu, 09 Feb 2012 09:12:56 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: George</title>
		<link>http://www.lowendbox.com/blog/reducing-mysql-memory-usage-for-low-end-boxes/#comment-44024</link>
		<dc:creator>George</dc:creator>
		<pubDate>Thu, 01 Sep 2011 02:53:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.lowendbox.com/blog/reducing-mysql-memory-usage-for-low-end-boxes/#comment-44024</guid>
		<description>Just a note skip-bdb is deprecated in latest mysql versions and adding it to my.cnf may result in mysql server not starting or restarting. So remove it. 

For MariaDB 5.2 mysql folks add skip-pbxt if you don&#039;t use PBXT storage engine.</description>
		<content:encoded><![CDATA[<p>Just a note skip-bdb is deprecated in latest mysql versions and adding it to my.cnf may result in mysql server not starting or restarting. So remove it. </p>
<p>For MariaDB 5.2 mysql folks add skip-pbxt if you don&#8217;t use PBXT storage engine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yash</title>
		<link>http://www.lowendbox.com/blog/reducing-mysql-memory-usage-for-low-end-boxes/#comment-43671</link>
		<dc:creator>Yash</dc:creator>
		<pubDate>Mon, 29 Aug 2011 03:38:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.lowendbox.com/blog/reducing-mysql-memory-usage-for-low-end-boxes/#comment-43671</guid>
		<description>I know this is an old post, but the LxAdmin my.cnf that I blindly copied and pasted didn&#039;t work (mysql wouldn&#039;t start), so I took the Debian mysql-small.cnf, modified it a bit, and now I have MySQL down to 5.2 meg RSS :).
Here is my &quot;my.cnf&quot; - 


# The following options will be passed to all MySQL clients
[client]
#password	= your_password
port		= 3306
socket		= /var/run/mysqld/mysqld.sock

# Here follows entries for some specific programs

# The MySQL server
[mysqld]
port		= 3306
socket		= /var/run/mysqld/mysqld.sock
skip-locking
key_buffer = 16K
max_allowed_packet = 1M
table_cache = 4
sort_buffer_size = 64K
read_buffer_size = 256K
read_rnd_buffer_size = 256K
net_buffer_length = 2K
thread_stack = 64K

# Don&#039;t listen on a TCP/IP port at all. This can be a security enhancement,
# if all processes that need to connect to mysqld run on the same host.
# All interaction with mysqld must be made via Unix sockets or named pipes.
# Note that using this option without enabling named pipes on Windows
# (using the &quot;enable-named-pipe&quot; option) will render mysqld useless!
# 
#skip-networking
server-id	= 1

# Uncomment the following if you want to log updates
#log-bin=mysql-bin

# Uncomment the following if you are NOT using BDB tables
skip-bdb

# Uncomment the following if you are using InnoDB tables
#innodb_data_home_dir = /var/lib/mysql/
#innodb_data_file_path = ibdata1:10M:autoextend
#innodb_log_group_home_dir = /var/lib/mysql/
#innodb_log_arch_dir = /var/lib/mysql/
# You can set .._buffer_pool_size up to 50 - 80 %
# of RAM but beware of setting memory usage too high
#innodb_buffer_pool_size = 16M
#innodb_additional_mem_pool_size = 2M
# Set .._log_file_size to 25 % of buffer pool size
#innodb_log_file_size = 5M
#innodb_log_buffer_size = 8M
#innodb_flush_log_at_trx_commit = 1
#innodb_lock_wait_timeout = 50
skip-innodb
[mysqldump]
quick
max_allowed_packet = 16M

[mysql]
no-auto-rehash
# Remove the next comment character if you are not familiar with SQL
#safe-updates

[isamchk]
key_buffer = 1M
sort_buffer_size = 1M

[myisamchk]
key_buffer = 1M
sort_buffer_size = 1M

[mysqlhotcopy]
interactive-timeout</description>
		<content:encoded><![CDATA[<p>I know this is an old post, but the LxAdmin my.cnf that I blindly copied and pasted didn&#8217;t work (mysql wouldn&#8217;t start), so I took the Debian mysql-small.cnf, modified it a bit, and now I have MySQL down to 5.2 meg RSS :).<br />
Here is my &#8220;my.cnf&#8221; &#8211; </p>
<p># The following options will be passed to all MySQL clients<br />
[client]<br />
#password	= your_password<br />
port		= 3306<br />
socket		= /var/run/mysqld/mysqld.sock</p>
<p># Here follows entries for some specific programs</p>
<p># The MySQL server<br />
[mysqld]<br />
port		= 3306<br />
socket		= /var/run/mysqld/mysqld.sock<br />
skip-locking<br />
key_buffer = 16K<br />
max_allowed_packet = 1M<br />
table_cache = 4<br />
sort_buffer_size = 64K<br />
read_buffer_size = 256K<br />
read_rnd_buffer_size = 256K<br />
net_buffer_length = 2K<br />
thread_stack = 64K</p>
<p># Don&#8217;t listen on a TCP/IP port at all. This can be a security enhancement,<br />
# if all processes that need to connect to mysqld run on the same host.<br />
# All interaction with mysqld must be made via Unix sockets or named pipes.<br />
# Note that using this option without enabling named pipes on Windows<br />
# (using the &#8220;enable-named-pipe&#8221; option) will render mysqld useless!<br />
#<br />
#skip-networking<br />
server-id	= 1</p>
<p># Uncomment the following if you want to log updates<br />
#log-bin=mysql-bin</p>
<p># Uncomment the following if you are NOT using BDB tables<br />
skip-bdb</p>
<p># Uncomment the following if you are using InnoDB tables<br />
#innodb_data_home_dir = /var/lib/mysql/<br />
#innodb_data_file_path = ibdata1:10M:autoextend<br />
#innodb_log_group_home_dir = /var/lib/mysql/<br />
#innodb_log_arch_dir = /var/lib/mysql/<br />
# You can set .._buffer_pool_size up to 50 &#8211; 80 %<br />
# of RAM but beware of setting memory usage too high<br />
#innodb_buffer_pool_size = 16M<br />
#innodb_additional_mem_pool_size = 2M<br />
# Set .._log_file_size to 25 % of buffer pool size<br />
#innodb_log_file_size = 5M<br />
#innodb_log_buffer_size = 8M<br />
#innodb_flush_log_at_trx_commit = 1<br />
#innodb_lock_wait_timeout = 50<br />
skip-innodb<br />
[mysqldump]<br />
quick<br />
max_allowed_packet = 16M</p>
<p>[mysql]<br />
no-auto-rehash<br />
# Remove the next comment character if you are not familiar with SQL<br />
#safe-updates</p>
<p>[isamchk]<br />
key_buffer = 1M<br />
sort_buffer_size = 1M</p>
<p>[myisamchk]<br />
key_buffer = 1M<br />
sort_buffer_size = 1M</p>
<p>[mysqlhotcopy]<br />
interactive-timeout</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard</title>
		<link>http://www.lowendbox.com/blog/reducing-mysql-memory-usage-for-low-end-boxes/#comment-27059</link>
		<dc:creator>Richard</dc:creator>
		<pubDate>Thu, 07 Apr 2011 00:05:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.lowendbox.com/blog/reducing-mysql-memory-usage-for-low-end-boxes/#comment-27059</guid>
		<description>Sometimes, it won&#039;t run since it can&#039;t find bdb to disable. It will just hang. Check /var/log/mysql/mysql.err for more info.</description>
		<content:encoded><![CDATA[<p>Sometimes, it won&#8217;t run since it can&#8217;t find bdb to disable. It will just hang. Check /var/log/mysql/mysql.err for more info.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yomero</title>
		<link>http://www.lowendbox.com/blog/reducing-mysql-memory-usage-for-low-end-boxes/#comment-25812</link>
		<dc:creator>Yomero</dc:creator>
		<pubDate>Mon, 28 Mar 2011 09:05:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.lowendbox.com/blog/reducing-mysql-memory-usage-for-low-end-boxes/#comment-25812</guid>
		<description>Pfff, Innodb is insanely fat.</description>
		<content:encoded><![CDATA[<p>Pfff, Innodb is insanely fat.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: calvin</title>
		<link>http://www.lowendbox.com/blog/reducing-mysql-memory-usage-for-low-end-boxes/#comment-25807</link>
		<dc:creator>calvin</dc:creator>
		<pubDate>Mon, 28 Mar 2011 07:46:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.lowendbox.com/blog/reducing-mysql-memory-usage-for-low-end-boxes/#comment-25807</guid>
		<description>I&#039;m using configuration from this:
http://wordpress.org/support/topic/high-traffic-database-tips?replies=3

now my6SQL in my vps only using 71 MB ram. I hope nothing goes wrong though...</description>
		<content:encoded><![CDATA[<p>I&#8217;m using configuration from this:<br />
<a href="http://wordpress.org/support/topic/high-traffic-database-tips?replies=3" rel="nofollow">http://wordpress.org/support/topic/high-traffic-database-tips?replies=3</a></p>
<p>now my6SQL in my vps only using 71 MB ram. I hope nothing goes wrong though&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://www.lowendbox.com/blog/reducing-mysql-memory-usage-for-low-end-boxes/#comment-15025</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Fri, 19 Nov 2010 04:47:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.lowendbox.com/blog/reducing-mysql-memory-usage-for-low-end-boxes/#comment-15025</guid>
		<description>Just a little error noted: the &lt;code&gt;my-small.cnf&lt;/code&gt; in Debian 5 is locate in the directory &lt;code&gt;/usr/share/doc/mysql-server-5.0/examples&lt;/code&gt; not &lt;code&gt;/usr/share/doc/my-server-5.0/examples&lt;/code&gt; (note missing &#039;sql&#039;).  Perhaps you could update the post?

Thanks for a great tip though.</description>
		<content:encoded><![CDATA[<p>Just a little error noted: the <code>my-small.cnf</code> in Debian 5 is locate in the directory <code>/usr/share/doc/mysql-server-5.0/examples</code> not <code>/usr/share/doc/my-server-5.0/examples</code> (note missing &#8216;sql&#8217;).  Perhaps you could update the post?</p>
<p>Thanks for a great tip though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AceLNMP [aT] 誰的部落格</title>
		<link>http://www.lowendbox.com/blog/reducing-mysql-memory-usage-for-low-end-boxes/#comment-2063</link>
		<dc:creator>AceLNMP [aT] 誰的部落格</dc:creator>
		<pubDate>Sun, 15 Nov 2009 09:06:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.lowendbox.com/blog/reducing-mysql-memory-usage-for-low-end-boxes/#comment-2063</guid>
		<description>[...] LowEndBox 的 Reducing MySQL Memory Usage for Low End Boxes 這篇文章來設定記憶體小於 256MB 的 VPS，另外MySQL [...]</description>
		<content:encoded><![CDATA[<p>[...] LowEndBox 的 Reducing MySQL Memory Usage for Low End Boxes 這篇文章來設定記憶體小於 256MB 的 VPS，另外MySQL [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Philip Sahli</title>
		<link>http://www.lowendbox.com/blog/reducing-mysql-memory-usage-for-low-end-boxes/#comment-754</link>
		<dc:creator>Philip Sahli</dc:creator>
		<pubDate>Thu, 15 Jan 2009 08:09:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.lowendbox.com/blog/reducing-mysql-memory-usage-for-low-end-boxes/#comment-754</guid>
		<description>I found two free mysql hoster:
- freemysql.net    --&gt; very slow...
- db4free --&gt; fast, not yet sure if its very stable because its designate for testers and developers.</description>
		<content:encoded><![CDATA[<p>I found two free mysql hoster:<br />
- freemysql.net    &#8211;&gt; very slow&#8230;<br />
- db4free &#8211;&gt; fast, not yet sure if its very stable because its designate for testers and developers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://www.lowendbox.com/blog/reducing-mysql-memory-usage-for-low-end-boxes/#comment-686</link>
		<dc:creator>David</dc:creator>
		<pubDate>Thu, 11 Dec 2008 00:54:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.lowendbox.com/blog/reducing-mysql-memory-usage-for-low-end-boxes/#comment-686</guid>
		<description>Theo, memory alocate sounds like yer outta ram yes..

mysql is probably not suitable for a 128 ram&#039;ed VPS (out of the box).. personally i&#039;ve got my VPS running plenty of sites+email+spam filters+nginx+apache the lot.. but you need to be alert and monitor your RAM.

I suggest you try the following:
check your ram when you start/stop services: free
monitor your ram/cpu longterm: sysstat
try something else than mysql: sqlite, pmwiki etc
not to forget looking at the attached mysql.cnf in the article.</description>
		<content:encoded><![CDATA[<p>Theo, memory alocate sounds like yer outta ram yes..</p>
<p>mysql is probably not suitable for a 128 ram&#8217;ed VPS (out of the box).. personally i&#8217;ve got my VPS running plenty of sites+email+spam filters+nginx+apache the lot.. but you need to be alert and monitor your RAM.</p>
<p>I suggest you try the following:<br />
check your ram when you start/stop services: free<br />
monitor your ram/cpu longterm: sysstat<br />
try something else than mysql: sqlite, pmwiki etc<br />
not to forget looking at the attached mysql.cnf in the article.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Theo</title>
		<link>http://www.lowendbox.com/blog/reducing-mysql-memory-usage-for-low-end-boxes/#comment-662</link>
		<dc:creator>Theo</dc:creator>
		<pubDate>Sat, 22 Nov 2008 18:47:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.lowendbox.com/blog/reducing-mysql-memory-usage-for-low-end-boxes/#comment-662</guid>
		<description>Hello, i bought a vps with 128mb ram..

The first commands i executed:
apt-get update
apt-get upgrade
apt-get install mysql-server mysql-client

And i got Memory Alocate Problem.. I pressed Ctrl+C..Did the mysql installed ok or will i have problems?</description>
		<content:encoded><![CDATA[<p>Hello, i bought a vps with 128mb ram..</p>
<p>The first commands i executed:<br />
apt-get update<br />
apt-get upgrade<br />
apt-get install mysql-server mysql-client</p>
<p>And i got Memory Alocate Problem.. I pressed Ctrl+C..Did the mysql installed ok or will i have problems?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: junkiest</title>
		<link>http://www.lowendbox.com/blog/reducing-mysql-memory-usage-for-low-end-boxes/#comment-495</link>
		<dc:creator>junkiest</dc:creator>
		<pubDate>Thu, 25 Sep 2008 16:08:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.lowendbox.com/blog/reducing-mysql-memory-usage-for-low-end-boxes/#comment-495</guid>
		<description>i have a problem about that on my VPS.
with 128 RAM but it won&#039;t run.
can you give me the example &lt;b&gt;my.conf ?

i&#039;m really need 
thanks</description>
		<content:encoded><![CDATA[<p>i have a problem about that on my VPS.<br />
with 128 RAM but it won&#8217;t run.<br />
can you give me the example <b>my.conf ?</p>
<p>i&#8217;m really need<br />
thanks</b></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: invar</title>
		<link>http://www.lowendbox.com/blog/reducing-mysql-memory-usage-for-low-end-boxes/#comment-317</link>
		<dc:creator>invar</dc:creator>
		<pubDate>Tue, 26 Aug 2008 13:51:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.lowendbox.com/blog/reducing-mysql-memory-usage-for-low-end-boxes/#comment-317</guid>
		<description>PunBB/Flux also supports SQLite</description>
		<content:encoded><![CDATA[<p>PunBB/Flux also supports SQLite</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nilesh</title>
		<link>http://www.lowendbox.com/blog/reducing-mysql-memory-usage-for-low-end-boxes/#comment-146</link>
		<dc:creator>Nilesh</dc:creator>
		<pubDate>Thu, 24 Apr 2008 17:38:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.lowendbox.com/blog/reducing-mysql-memory-usage-for-low-end-boxes/#comment-146</guid>
		<description>flat file (sqlite2) DB engine forum = phpBB3</description>
		<content:encoded><![CDATA[<p>flat file (sqlite2) DB engine forum = phpBB3</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: weakish</title>
		<link>http://www.lowendbox.com/blog/reducing-mysql-memory-usage-for-low-end-boxes/#comment-145</link>
		<dc:creator>weakish</dc:creator>
		<pubDate>Thu, 24 Apr 2008 12:05:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.lowendbox.com/blog/reducing-mysql-memory-usage-for-low-end-boxes/#comment-145</guid>
		<description>Thanks for your information. IMO, E-Blah seems the best of them.</description>
		<content:encoded><![CDATA[<p>Thanks for your information. IMO, E-Blah seems the best of them.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: LowEndAdmin</title>
		<link>http://www.lowendbox.com/blog/reducing-mysql-memory-usage-for-low-end-boxes/#comment-143</link>
		<dc:creator>LowEndAdmin</dc:creator>
		<pubDate>Thu, 24 Apr 2008 00:33:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.lowendbox.com/blog/reducing-mysql-memory-usage-for-low-end-boxes/#comment-143</guid>
		<description>As of flat file forums -- according to ForumMatrix, these are the candidates:

http://www.forummatrix.org/compare/E-Blah+Vistix+YaBB</description>
		<content:encoded><![CDATA[<p>As of flat file forums &#8212; according to ForumMatrix, these are the candidates:</p>
<p><a href="http://www.forummatrix.org/compare/E-Blah+Vistix+YaBB" rel="nofollow">http://www.forummatrix.org/compare/E-Blah+Vistix+YaBB</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: LowEndAdmin</title>
		<link>http://www.lowendbox.com/blog/reducing-mysql-memory-usage-for-low-end-boxes/#comment-142</link>
		<dc:creator>LowEndAdmin</dc:creator>
		<pubDate>Thu, 24 Apr 2008 00:21:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.lowendbox.com/blog/reducing-mysql-memory-usage-for-low-end-boxes/#comment-142</guid>
		<description>Thanks for the suggestion. Personally I found file-based apps are also easier to backup than DB-backed, but then the choice would be a bit limiting.</description>
		<content:encoded><![CDATA[<p>Thanks for the suggestion. Personally I found file-based apps are also easier to backup than DB-backed, but then the choice would be a bit limiting.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: weakish</title>
		<link>http://www.lowendbox.com/blog/reducing-mysql-memory-usage-for-low-end-boxes/#comment-129</link>
		<dc:creator>weakish</dc:creator>
		<pubDate>Tue, 15 Apr 2008 12:32:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.lowendbox.com/blog/reducing-mysql-memory-usage-for-low-end-boxes/#comment-129</guid>
		<description>Good article. Another good idea is to avoid MySQL. There is some nice blog system on flat file system. Flatpress(php), blosxom (perl), pyblosxom (python), blosxomy (ruby). And wiki systems: dokuwiki (php), Oddmuse (perl), MoinMoin (python).

Though I haven&#039;t heard of any forum on flat file.</description>
		<content:encoded><![CDATA[<p>Good article. Another good idea is to avoid MySQL. There is some nice blog system on flat file system. Flatpress(php), blosxom (perl), pyblosxom (python), blosxomy (ruby). And wiki systems: dokuwiki (php), Oddmuse (perl), MoinMoin (python).</p>
<p>Though I haven&#8217;t heard of any forum on flat file.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

