<?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: MySQL Table Locking &amp; WordPress Scalability</title>
	<atom:link href="http://www.allthingscahill.com/2008/07/mysql-table-locking-wordpress-scalability/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.allthingscahill.com/2008/07/mysql-table-locking-wordpress-scalability/</link>
	<description>The online home for Mark Cahill, and indeed, all things Cahill!</description>
	<lastBuildDate>Wed, 08 Feb 2012 18:48:04 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Mark Cahill</title>
		<link>http://www.allthingscahill.com/2008/07/mysql-table-locking-wordpress-scalability/comment-page-1/#comment-2751</link>
		<dc:creator>Mark Cahill</dc:creator>
		<pubDate>Wed, 08 Dec 2010 18:00:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.allthingscahill.com/?p=540#comment-2751</guid>
		<description>We are talking here about what was then cutting edge WP 2.6.  Now very out of date.

If you&#039;re having a specific problem with scalability, email me and I&#039;ll see if I can help.</description>
		<content:encoded><![CDATA[<p>We are talking here about what was then cutting edge WP 2.6.  Now very out of date.</p>
<p>If you&#8217;re having a specific problem with scalability, email me and I&#8217;ll see if I can help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kotak</title>
		<link>http://www.allthingscahill.com/2008/07/mysql-table-locking-wordpress-scalability/comment-page-1/#comment-2692</link>
		<dc:creator>Kotak</dc:creator>
		<pubDate>Mon, 06 Dec 2010 03:18:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.allthingscahill.com/?p=540#comment-2692</guid>
		<description>hi, i&#039;m interested with this paragraph :

&quot;...a simple date limit on the query brought it’s execution time down from 35 seconds to milliseconds...&quot;

could you explain about it in more details?</description>
		<content:encoded><![CDATA[<p>hi, i&#8217;m interested with this paragraph :</p>
<p>&#8220;&#8230;a simple date limit on the query brought it’s execution time down from 35 seconds to milliseconds&#8230;&#8221;</p>
<p>could you explain about it in more details?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Cahill</title>
		<link>http://www.allthingscahill.com/2008/07/mysql-table-locking-wordpress-scalability/comment-page-1/#comment-1105</link>
		<dc:creator>Mark Cahill</dc:creator>
		<pubDate>Fri, 06 Mar 2009 13:25:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.allthingscahill.com/?p=540#comment-1105</guid>
		<description>We went through the code and made sure there were reasonable limits on what we were attempting to return.  Basically we found there were several &quot;select *
 from wp_posts&quot; querires that were then having 99% of the results trashed in the code that processed the them.  So simply adding a &quot;limit 10&quot; rather than returning everything then dumping it in the code later was the answer.

Best advice is to turn of slow query logging for a couple days and watch what turns up.  You&#039;ll see the same queries over and over again, and those are obviously the ones that need to be optimized if possible.  Add an index, etc.  

You hint at something I&#039;ve been meaning to do: get Glenn Nadeau to write a guest post on these types of issues.</description>
		<content:encoded><![CDATA[<p>We went through the code and made sure there were reasonable limits on what we were attempting to return.  Basically we found there were several &#8220;select *<br />
 from wp_posts&#8221; querires that were then having 99% of the results trashed in the code that processed the them.  So simply adding a &#8220;limit 10&#8243; rather than returning everything then dumping it in the code later was the answer.</p>
<p>Best advice is to turn of slow query logging for a couple days and watch what turns up.  You&#8217;ll see the same queries over and over again, and those are obviously the ones that need to be optimized if possible.  Add an index, etc.  </p>
<p>You hint at something I&#8217;ve been meaning to do: get Glenn Nadeau to write a guest post on these types of issues.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Craig</title>
		<link>http://www.allthingscahill.com/2008/07/mysql-table-locking-wordpress-scalability/comment-page-1/#comment-1104</link>
		<dc:creator>Craig</dc:creator>
		<pubDate>Fri, 06 Mar 2009 06:54:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.allthingscahill.com/?p=540#comment-1104</guid>
		<description>Did you make changes to the core to fix that? or just fixed the plugins?</description>
		<content:encoded><![CDATA[<p>Did you make changes to the core to fix that? or just fixed the plugins?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

