<?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: Playing with the database</title>
	<atom:link href="http://www.tamba2.org.uk/T2/2005/03/27/playing-with-the-database/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tamba2.org.uk/T2/2005/03/27/playing-with-the-database/</link>
	<description>Eclectic.</description>
	<lastBuildDate>Sun, 03 Jan 2010 17:10:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Nick</title>
		<link>http://www.tamba2.org.uk/T2/2005/03/27/playing-with-the-database/comment-page-1/#comment-2678</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Fri, 01 Apr 2005 14:39:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.tamba2.org.uk/T2/archives/2005/03/27/playing-with-the-database/#comment-2678</guid>
		<description>I should probably delete my spam comments here soon...I&#039;m approaching 10,000 since I&#039;ve been running 1.5, which is about a month and a half.</description>
		<content:encoded><![CDATA[<p>I should probably delete my spam comments here soon&#8230;I&#8217;m approaching 10,000 since I&#8217;ve been running 1.5, which is about a month and a half.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://www.tamba2.org.uk/T2/2005/03/27/playing-with-the-database/comment-page-1/#comment-2631</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Mon, 28 Mar 2005 15:31:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.tamba2.org.uk/T2/archives/2005/03/27/playing-with-the-database/#comment-2631</guid>
		<description>drdave - with some subjects, I feel I fall squarely into the &quot;dangerous&quot; category :)</description>
		<content:encoded><![CDATA[<p>drdave &#8211; with some subjects, I feel I fall squarely into the &#8220;dangerous&#8221; category :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dr Dave</title>
		<link>http://www.tamba2.org.uk/T2/2005/03/27/playing-with-the-database/comment-page-1/#comment-2629</link>
		<dc:creator>dr Dave</dc:creator>
		<pubDate>Mon, 28 Mar 2005 04:17:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.tamba2.org.uk/T2/archives/2005/03/27/playing-with-the-database/#comment-2629</guid>
		<description>Mark,

Removing tables or rows in your DB is unlikely to affect significantly its speed. Especially if we are talking about straight consultation of your pages (i.e. no INSERT/UPDATE, only SELECT)... MySQL is quite optimized to do queries within thousands or even millions of records without so much as a flinch...

My personal bet is that most of the speed hits you are seeing are PHP. If the DB plays a role, it would be only through the query number and its overhead (i.e.: each query, even when taking a ridiculously small amount of time, creates an overhead in the PHP-MySQL dialogue, that will eventually add up if you have 50-90 of them...).

Spam Karma will also definitely put an overhead. Although it should only be noticeable at all when posting a comment. I will soon work on improving things (for SK2), but so far it&#039;s still reasonable, and lots of it is not under my control (the way the API works, plus reliance on external websites for IP checks)...

That being said, cleaning your data is never a bad idea... :)</description>
		<content:encoded><![CDATA[<p>Mark,</p>
<p>Removing tables or rows in your DB is unlikely to affect significantly its speed. Especially if we are talking about straight consultation of your pages (i.e. no INSERT/UPDATE, only SELECT)&#8230; MySQL is quite optimized to do queries within thousands or even millions of records without so much as a flinch&#8230;</p>
<p>My personal bet is that most of the speed hits you are seeing are PHP. If the DB plays a role, it would be only through the query number and its overhead (i.e.: each query, even when taking a ridiculously small amount of time, creates an overhead in the PHP-MySQL dialogue, that will eventually add up if you have 50-90 of them&#8230;).</p>
<p>Spam Karma will also definitely put an overhead. Although it should only be noticeable at all when posting a comment. I will soon work on improving things (for SK2), but so far it&#8217;s still reasonable, and lots of it is not under my control (the way the API works, plus reliance on external websites for IP checks)&#8230;</p>
<p>That being said, cleaning your data is never a bad idea&#8230; :)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
