<?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: WordPress permalinks and MySQL limits</title>
	<atom:link href="http://coreygilmore.com/blog/2008/04/10/wordpress-permalinks-and-mysql-limits/feed/" rel="self" type="application/rss+xml" />
	<link>http://coreygilmore.com/blog/2008/04/10/wordpress-permalinks-and-mysql-limits/</link>
	<description></description>
	<lastBuildDate>Mon, 06 Feb 2012 11:13:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Blaise Kal</title>
		<link>http://coreygilmore.com/blog/2008/04/10/wordpress-permalinks-and-mysql-limits/comment-page-1/#comment-64862</link>
		<dc:creator>Blaise Kal</dc:creator>
		<pubDate>Mon, 18 Apr 2011 09:37:37 +0000</pubDate>
		<guid isPermaLink="false">http://coreygilmore.com/?p=228#comment-64862</guid>
		<description>Wordpress is typically run on shared web hosting environments, where you don&#039;t have access to MySQL settings. This is a real problem.</description>
		<content:encoded><![CDATA[<p>WordPress is typically run on shared web hosting environments, where you don&#039;t have access to MySQL settings. This is a real problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sam</title>
		<link>http://coreygilmore.com/blog/2008/04/10/wordpress-permalinks-and-mysql-limits/comment-page-1/#comment-52605</link>
		<dc:creator>Sam</dc:creator>
		<pubDate>Fri, 16 Jul 2010 19:20:42 +0000</pubDate>
		<guid isPermaLink="false">http://coreygilmore.com/?p=228#comment-52605</guid>
		<description>Hi
I have run into this max_allowed_packet bottleneck on WP 3.0 recently

My rewrite rules are currently 1.6MB

It seems that it is not pages that are the culprit, but image attachment pages that are generating so many rewrite rules.

I only have about 200 pages on the site. But looking at the rewrite rules am seeing a lot of rules like:

s:50:&quot;index.php?attachment=$matches[1]&amp;cpage=$matches[2]&quot;;s:77:&quot;(world-cup-2010-galleries/world-cup-review/argentina-11-2)(/[0-9]+)?/?$&quot;;

which are from image attachments.

It seems like rewrite_rules are still a bottleneck in wordpress scalability....

Increasing the max_allowed_packet is only a temporary fix, as if your rewrite_rules get to be too large your server will be in danger of running out of memory every time the rewrite_rules are flushed and refreshed...</description>
		<content:encoded><![CDATA[<p>Hi<br />
I have run into this max_allowed_packet bottleneck on WP 3.0 recently</p>
<p>My rewrite rules are currently 1.6MB</p>
<p>It seems that it is not pages that are the culprit, but image attachment pages that are generating so many rewrite rules.</p>
<p>I only have about 200 pages on the site. But looking at the rewrite rules am seeing a lot of rules like:</p>
<p>s:50:&#034;index.php?attachment=$matches[1]&amp;cpage=$matches[2]&#034;;s:77:&#034;(world-cup-2010-galleries/world-cup-review/argentina-11-2)(/[0-9]+)?/?$&#034;;</p>
<p>which are from image attachments.</p>
<p>It seems like rewrite_rules are still a bottleneck in wordpress scalability&#8230;.</p>
<p>Increasing the max_allowed_packet is only a temporary fix, as if your rewrite_rules get to be too large your server will be in danger of running out of memory every time the rewrite_rules are flushed and refreshed&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Corey</title>
		<link>http://coreygilmore.com/blog/2008/04/10/wordpress-permalinks-and-mysql-limits/comment-page-1/#comment-3040</link>
		<dc:creator>Corey</dc:creator>
		<pubDate>Sun, 13 Apr 2008 18:25:43 +0000</pubDate>
		<guid isPermaLink="false">http://coreygilmore.com/?p=228#comment-3040</guid>
		<description>Ah that&#039;s great news Matt!  I&#039;d been following &lt;a href=&quot;http://trac.wordpress.org/ticket/3614&quot; rel=&quot;nofollow&quot;&gt;bug 3614&lt;/a&gt; and noticed it had been fixed in 2.5. On 2.3.3 I&#039;m replacing the WP_Rewrite class during init with a slightly modified version that doesn&#039;t write any feed or trackback entries resulting in about a 70% performance increase.  I haven&#039;t begun to test the site with 2.5 yet, but I&#039;ll make sure to file a bug report if I&#039;m still seeing the issue.</description>
		<content:encoded><![CDATA[<p>Ah that&#039;s great news Matt!  I&#039;d been following <a href="http://trac.wordpress.org/ticket/3614" rel="nofollow">bug 3614</a> and noticed it had been fixed in 2.5. On 2.3.3 I&#039;m replacing the WP_Rewrite class during init with a slightly modified version that doesn&#039;t write any feed or trackback entries resulting in about a 70% performance increase.  I haven&#039;t begun to test the site with 2.5 yet, but I&#039;ll make sure to file a bug report if I&#039;m still seeing the issue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt</title>
		<link>http://coreygilmore.com/blog/2008/04/10/wordpress-permalinks-and-mysql-limits/comment-page-1/#comment-3039</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Sun, 13 Apr 2008 18:15:41 +0000</pubDate>
		<guid isPermaLink="false">http://coreygilmore.com/?p=228#comment-3039</guid>
		<description>I&#039;m pretty sure this isn&#039;t an issue anymore in 2.5, rewrite rules have been minimized.</description>
		<content:encoded><![CDATA[<p>I&#039;m pretty sure this isn&#039;t an issue anymore in 2.5, rewrite rules have been minimized.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced
Database Caching using disk: basic
Object Caching 384/401 objects using disk: basic
Content Delivery Network via Amazon Web Services: S3: cdn01.coreygilmore.com

Served from: coreygilmore.com @ 2012-02-08 00:02:15 -->
