<?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 locking delays in MySQL</title>
	<atom:link href="http://rackerhacker.com/2008/04/16/reducing-locking-delays-in-mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://rackerhacker.com/2008/04/16/reducing-locking-delays-in-mysql/</link>
	<description>Words of wisdom from a server administrator</description>
	<lastBuildDate>Mon, 21 May 2012 12:07:17 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: major</title>
		<link>http://rackerhacker.com/2008/04/16/reducing-locking-delays-in-mysql/#comment-808</link>
		<dc:creator>major</dc:creator>
		<pubDate>Sat, 03 May 2008 02:19:28 +0000</pubDate>
		<guid isPermaLink="false">http://rackerhacker.com/?p=290#comment-808</guid>
		<description>@jeffatrackaid: I usually specify a tmpdir that isn&#039;t /tmp just so I can put temporary tables on an alternate disk.  However, you could throw it on a RAM disk for a little extra performance.  I&#039;ve never tried it myself, however.  But, if you have the RAM available for that, I&#039;d figure you could configure MySQL to use more memory or you could improve your queries.</description>
		<content:encoded><![CDATA[<p>@jeffatrackaid: I usually specify a tmpdir that isn't /tmp just so I can put temporary tables on an alternate disk.  However, you could throw it on a RAM disk for a little extra performance.  I've never tried it myself, however.  But, if you have the RAM available for that, I'd figure you could configure MySQL to use more memory or you could improve your queries.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jeffatrackaid</title>
		<link>http://rackerhacker.com/2008/04/16/reducing-locking-delays-in-mysql/#comment-806</link>
		<dc:creator>jeffatrackaid</dc:creator>
		<pubDate>Sat, 03 May 2008 02:10:49 +0000</pubDate>
		<guid isPermaLink="false">http://rackerhacker.com/?p=290#comment-806</guid>
		<description>A major thing I&#039;ve run into is selects blocking writes due to disk IO.  In many cases, I&#039;ve found selects on BLOB/TEXT columns.  These columns cannot be handled with in-memory storage structures so they must be dumped to a tmp table, raising disk IO.  If you cannot re-work the SQL not to select these queries, especially with large result sets, then you may want to have mysql use a dedicated disk for tmp tables.  With mysql 5.1, you can actually specify many paths to get round-robin load balancing over your disk spindles.  
http://dev.mysql.com/doc/refman/5.1/en/temporary-files.html

I wonder if you used a RAM disk as your tmpdir if that would help?</description>
		<content:encoded><![CDATA[<p>A major thing I've run into is selects blocking writes due to disk IO.  In many cases, I've found selects on BLOB/TEXT columns.  These columns cannot be handled with in-memory storage structures so they must be dumped to a tmp table, raising disk IO.  If you cannot re-work the SQL not to select these queries, especially with large result sets, then you may want to have mysql use a dedicated disk for tmp tables.  With mysql 5.1, you can actually specify many paths to get round-robin load balancing over your disk spindles.<br />
<a href="http://dev.mysql.com/doc/refman/5.1/en/temporary-files.html" rel="nofollow">http://dev.mysql.com/doc/refman/5.1/en/temporary-files.html</a></p>
<p>I wonder if you used a RAM disk as your tmpdir if that would help?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

