<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Tales from the Datacenter &#187; MySQL</title>
	<atom:link href="http://www.pburch.com/blog/category/mysql/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pburch.com/blog</link>
	<description>Tales from the Datacenter</description>
	<lastBuildDate>Thu, 10 Jun 2010 17:51:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>MyISAM vs. InnoDB</title>
		<link>http://www.pburch.com/blog/2009/03/07/myisam-vs-innodb/</link>
		<comments>http://www.pburch.com/blog/2009/03/07/myisam-vs-innodb/#comments</comments>
		<pubDate>Sat, 07 Mar 2009 17:59:53 +0000</pubDate>
		<dc:creator>Patrick</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[iis]]></category>
		<category><![CDATA[innodb]]></category>
		<category><![CDATA[myisam]]></category>
		<category><![CDATA[mysql administrator]]></category>
		<category><![CDATA[Server 2008]]></category>

		<guid isPermaLink="false">http://www.pburch.com/blog/?p=102</guid>
		<description><![CDATA[So, recently, I&#8217;ve switched my blog (and the whole domain, consequently) to IIS.  I used to have my domain hosted over at Host Gator (highly recommended if you don&#8217;t have the resources to host your own content), but recently have switched to IIS running 2008 x64 on a virtual guest at work.  So far, I [...]]]></description>
			<content:encoded><![CDATA[<p>So, recently, I&#8217;ve switched my blog (and the whole domain, consequently) to IIS.  I used to have my domain hosted over at <a href="http://www.hostgator.com" target="_blank">Host Gator</a> (highly recommended if you don&#8217;t have the resources to host your own content), but recently have switched to IIS running 2008 x64 on a virtual guest at work.  So far, I like it.</p>
<p>However, I was disappointed to find that WordPress performed poorly at first.  Then, in my tinkering, I figured out (dumb luck, eh?) that if I switch the tables in the WP database from InnoDB to MyISAM, performance increased noticeably.  I&#8217;m not sure if this was the &#8220;real&#8221; reason WordPress was sucking it up, but it seemed to fix it immediately.</p>
<blockquote><p>Edit March 10, 2008:</p></blockquote>
<p>I&#8217;m not sure how much of a performance boost this gave me.  I&#8217;m noticing a slowdown again, so I&#8217;m not sure if this did anything at all.  It looked like it was helping when I first made the change, but now I can&#8217;t be so sure.  Anyway&#8230;<span id="more-102"></span></p>
<p>For <a href="http://nukeitmike.com/blog/2009/03/06/wordpress-performance/" target="_blank">Michael&#8217;s</a> benefit, this can be accomplished by downloading and installing the <a href="http://dev.mysql.com/downloads/gui-tools/5.0.html" target="_blank">MySQL GUI Tools</a>.  Open MySQL Administrator and authenticate as root (or as the database user that has full administrative privileges).</p>
<p style="text-align: center;"><a href="http://www.pburch.com/blog/wp-content/uploads/2009/03/mysqladminlogin.png"><img class="size-medium wp-image-116 aligncenter" title="mysqladminlogin" src="http://www.pburch.com/blog/wp-content/uploads/2009/03/mysqladminlogin-300x227.png" alt="mysqladminlogin" width="300" height="227" /></a></p>
<p>In the lefthand navigation pane, select &#8220;Catalogs.&#8221;  This will open below it a list of the databases you are currently running.  Select the appropriate database, and the table structure will open up in the right side of the window.</p>
<p style="text-align: center;"><a href="http://www.pburch.com/blog/wp-content/uploads/2009/03/mysqladmincat.png"><img class="size-medium wp-image-117 aligncenter" title="mysqladmincat" src="http://www.pburch.com/blog/wp-content/uploads/2009/03/mysqladmincat-191x300.png" alt="In the lefthand navigation pane, select &quot;Catalogs.&quot;" width="191" height="300" /></a></p>
<p style="text-align: left;">Now, you will notice than my &#8220;Engine&#8221; column already says &#8220;MyISAM.&#8221;  This was not always the case.  If you want to change the engine, double click a table.</p>
<p style="text-align: center;"><a href="http://www.pburch.com/blog/wp-content/uploads/2009/03/mysqltables.png"><img class="aligncenter size-full wp-image-118" title="mysqltables" src="http://www.pburch.com/blog/wp-content/uploads/2009/03/mysqltables.png" alt="mysqltables" width="232" height="252" /></a></p>
<p style="text-align: left;">Once you&#8217;ve opened the Table Editor, there are three tabs.  You&#8217;re looking for the &#8220;Table Options&#8221; tab.  Here, you can change the Table Engine to something else.</p>
<p style="text-align: center;"><a href="http://www.pburch.com/blog/wp-content/uploads/2009/03/mysqltableoptions.png"><img class="aligncenter size-medium wp-image-119" title="mysqltableoptions" src="http://www.pburch.com/blog/wp-content/uploads/2009/03/mysqltableoptions-300x122.png" alt="mysqltableoptions" width="300" height="122" /></a></p>
<p style="text-align: left;">Now, don&#8217;t you feel better?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.pburch.com/blog/2009/03/07/myisam-vs-innodb/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
