<?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 is playing funny buggers.</title>
	<atom:link href="http://clubtroppo.com.au/2008/04/14/mysql-is-playing-funny-buggers/feed/" rel="self" type="application/rss+xml" />
	<link>http://clubtroppo.com.au/2008/04/14/mysql-is-playing-funny-buggers/</link>
	<description>Fearlessly dispensing political, legal and economic analysis (and some whimsy) since 2002</description>
	<lastBuildDate>Fri, 25 May 2012 04:13:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: David Rubie</title>
		<link>http://clubtroppo.com.au/2008/04/14/mysql-is-playing-funny-buggers/#comment-261977</link>
		<dc:creator>David Rubie</dc:creator>
		<pubDate>Wed, 16 Apr 2008 01:46:45 +0000</pubDate>
		<guid isPermaLink="false">http://clubtroppo.com.au/2008/04/14/mysql-is-playing-funny-buggers/#comment-261977</guid>
		<description>Let your mum out of the boot Chris, if she rides up front she will be less inclined to thump.</description>
		<content:encoded><![CDATA[<p>Let your mum out of the boot Chris, if she rides up front she will be less inclined to thump.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://clubtroppo.com.au/2008/04/14/mysql-is-playing-funny-buggers/#comment-261767</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Tue, 15 Apr 2008 10:23:23 +0000</pubDate>
		<guid isPermaLink="false">http://clubtroppo.com.au/2008/04/14/mysql-is-playing-funny-buggers/#comment-261767</guid>
		<description>&lt;blockquote&gt;The computer people will have heard this one, but for any non-geaks reading this thread who wanted to understand how the experts fix problems (not taking a dig at anybody here)&lt;/blockquote&gt;

My mum&#039;s car at the moment has a problem where it sometimes starts making a thumping noise. The only way to fix it is to pull over, turn the car off and then on again. Everything is then fine.</description>
		<content:encoded><![CDATA[<blockquote><p>The computer people will have heard this one, but for any non-geaks reading this thread who wanted to understand how the experts fix problems (not taking a dig at anybody here)</p></blockquote>
<p>My mum&#8217;s car at the moment has a problem where it sometimes starts making a thumping noise. The only way to fix it is to pull over, turn the car off and then on again. Everything is then fine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jacques Chester</title>
		<link>http://clubtroppo.com.au/2008/04/14/mysql-is-playing-funny-buggers/#comment-261640</link>
		<dc:creator>Jacques Chester</dc:creator>
		<pubDate>Tue, 15 Apr 2008 04:16:25 +0000</pubDate>
		<guid isPermaLink="false">http://clubtroppo.com.au/2008/04/14/mysql-is-playing-funny-buggers/#comment-261640</guid>
		<description>Dave;

That last port is from WP 1.2.

Besides, one word: plugins.

Two more words: Wordpress sucks.</description>
		<content:encoded><![CDATA[<p>Dave;</p>
<p>That last port is from WP 1.2.</p>
<p>Besides, one word: plugins.</p>
<p>Two more words: Wordpress sucks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Bath</title>
		<link>http://clubtroppo.com.au/2008/04/14/mysql-is-playing-funny-buggers/#comment-261634</link>
		<dc:creator>Dave Bath</dc:creator>
		<pubDate>Tue, 15 Apr 2008 03:39:08 +0000</pubDate>
		<guid isPermaLink="false">http://clubtroppo.com.au/2008/04/14/mysql-is-playing-funny-buggers/#comment-261634</guid>
		<description>Just why I prefer to use Oracle or PostgreSQL whenever possible: scalable, good stats/optimizer functions, and reliable:

wordpress-pg.sourceforge.net
codex.wordpress.org/Using_Alternative_Databases</description>
		<content:encoded><![CDATA[<p>Just why I prefer to use Oracle or PostgreSQL whenever possible: scalable, good stats/optimizer functions, and reliable:</p>
<p>wordpress-pg.sourceforge.net<br />
codex.wordpress.org/Using_Alternative_Databases</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: swio</title>
		<link>http://clubtroppo.com.au/2008/04/14/mysql-is-playing-funny-buggers/#comment-261620</link>
		<dc:creator>swio</dc:creator>
		<pubDate>Tue, 15 Apr 2008 02:09:30 +0000</pubDate>
		<guid isPermaLink="false">http://clubtroppo.com.au/2008/04/14/mysql-is-playing-funny-buggers/#comment-261620</guid>
		<description>The computer people will have heard this one, but for any non-geaks reading this thread who wanted to understand how the experts fix problems (not taking a dig at anybody here)

&lt;blockquote&gt;
One day, a Mechanical Engineer, Electrical Engineer, Chemical Engineer and Computer Engineerwere driving down the street in the same car. All of a sudden, the car broke down.

The Mechanical Engineer said, &quot;I think a rod broke.&quot;

The Chemical Engineer said, &quot;The way it sputtered at the end, I don&#039;t think it&#039;s getting gas.&quot;

The Electrical Engineer said, &quot;I think there was a spark and something is wrong with the electrical system.&quot;

All three turned to the computer engineer and said, &quot;What do you think?&quot;

The Computer Engineer said, &quot;I think we should all get out and get back in.&quot;
&lt;/blockquote&gt;

Or you could just run it on a mainframe ;-)

swio - MF analyst/programmer</description>
		<content:encoded><![CDATA[<p>The computer people will have heard this one, but for any non-geaks reading this thread who wanted to understand how the experts fix problems (not taking a dig at anybody here)</p>
<blockquote><p>
One day, a Mechanical Engineer, Electrical Engineer, Chemical Engineer and Computer Engineerwere driving down the street in the same car. All of a sudden, the car broke down.</p>
<p>The Mechanical Engineer said, &#8220;I think a rod broke.&#8221;</p>
<p>The Chemical Engineer said, &#8220;The way it sputtered at the end, I don&#8217;t think it&#8217;s getting gas.&#8221;</p>
<p>The Electrical Engineer said, &#8220;I think there was a spark and something is wrong with the electrical system.&#8221;</p>
<p>All three turned to the computer engineer and said, &#8220;What do you think?&#8221;</p>
<p>The Computer Engineer said, &#8220;I think we should all get out and get back in.&#8221;
</p></blockquote>
<p>Or you could just run it on a mainframe ;-)</p>
<p>swio &#8211; MF analyst/programmer</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jacques Chester</title>
		<link>http://clubtroppo.com.au/2008/04/14/mysql-is-playing-funny-buggers/#comment-261613</link>
		<dc:creator>Jacques Chester</dc:creator>
		<pubDate>Tue, 15 Apr 2008 01:20:06 +0000</pubDate>
		<guid isPermaLink="false">http://clubtroppo.com.au/2008/04/14/mysql-is-playing-funny-buggers/#comment-261613</guid>
		<description>I&#039;ve added an index to the id column and at some point I&#039;ll need to dive into the queries to see what other indices are appropriate.

Or I could do a data warehousing thing, dump it off for analysis on my own computer.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve added an index to the id column and at some point I&#8217;ll need to dive into the queries to see what other indices are appropriate.</p>
<p>Or I could do a data warehousing thing, dump it off for analysis on my own computer.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gilmae</title>
		<link>http://clubtroppo.com.au/2008/04/14/mysql-is-playing-funny-buggers/#comment-261511</link>
		<dc:creator>gilmae</dc:creator>
		<pubDate>Mon, 14 Apr 2008 20:53:25 +0000</pubDate>
		<guid isPermaLink="false">http://clubtroppo.com.au/2008/04/14/mysql-is-playing-funny-buggers/#comment-261511</guid>
		<description>meep!</description>
		<content:encoded><![CDATA[<p>meep!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jacques Chester</title>
		<link>http://clubtroppo.com.au/2008/04/14/mysql-is-playing-funny-buggers/#comment-261434</link>
		<dc:creator>Jacques Chester</dc:creator>
		<pubDate>Mon, 14 Apr 2008 13:55:08 +0000</pubDate>
		<guid isPermaLink="false">http://clubtroppo.com.au/2008/04/14/mysql-is-playing-funny-buggers/#comment-261434</guid>
		<description>David;

I don&#039;t believe MySQL does that automatically, but I reckon I might run the rebuild and optimise functions now anyway.

Also, I think our on-server stats package might be a problem. It&#039;s got about 850,000 records and not a single index on any column.</description>
		<content:encoded><![CDATA[<p>David;</p>
<p>I don&#8217;t believe MySQL does that automatically, but I reckon I might run the rebuild and optimise functions now anyway.</p>
<p>Also, I think our on-server stats package might be a problem. It&#8217;s got about 850,000 records and not a single index on any column.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Rubie</title>
		<link>http://clubtroppo.com.au/2008/04/14/mysql-is-playing-funny-buggers/#comment-261427</link>
		<dc:creator>David Rubie</dc:creator>
		<pubDate>Mon, 14 Apr 2008 13:10:24 +0000</pubDate>
		<guid isPermaLink="false">http://clubtroppo.com.au/2008/04/14/mysql-is-playing-funny-buggers/#comment-261427</guid>
		<description>Is it something silly like a background re-indexing operation?  I&#039;m not familiar with MySQL, but other (stupid) databases like Sybase and SQL Server can occasionally act stupid because of the type of scavenging scheme you are running to reclaim resources after (say) a big delete operation.  Not all of them show up in the process list either.  The other type of issue it might be is a query that is mis-hitting a cached query plan (SQL Server is awful for this) although you usually get 100% utilisation and a query sitting there in the 100% run state without returning anything.

I&#039;d suggest with any big database you want to rebuild the indexes weekly at a quiet time to avoid those kinds of issues.</description>
		<content:encoded><![CDATA[<p>Is it something silly like a background re-indexing operation?  I&#8217;m not familiar with MySQL, but other (stupid) databases like Sybase and SQL Server can occasionally act stupid because of the type of scavenging scheme you are running to reclaim resources after (say) a big delete operation.  Not all of them show up in the process list either.  The other type of issue it might be is a query that is mis-hitting a cached query plan (SQL Server is awful for this) although you usually get 100% utilisation and a query sitting there in the 100% run state without returning anything.</p>
<p>I&#8217;d suggest with any big database you want to rebuild the indexes weekly at a quiet time to avoid those kinds of issues.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jacques Chester</title>
		<link>http://clubtroppo.com.au/2008/04/14/mysql-is-playing-funny-buggers/#comment-261418</link>
		<dc:creator>Jacques Chester</dc:creator>
		<pubDate>Mon, 14 Apr 2008 11:46:25 +0000</pubDate>
		<guid isPermaLink="false">http://clubtroppo.com.au/2008/04/14/mysql-is-playing-funny-buggers/#comment-261418</guid>
		<description>MySQL itself was jammed up. 100% utilisation of a single CPU, which was suggestive of a single query running at full blast -- but no entry in the slow queries log to match.</description>
		<content:encoded><![CDATA[<p>MySQL itself was jammed up. 100% utilisation of a single CPU, which was suggestive of a single query running at full blast &#8212; but no entry in the slow queries log to match.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: gilmae</title>
		<link>http://clubtroppo.com.au/2008/04/14/mysql-is-playing-funny-buggers/#comment-261409</link>
		<dc:creator>gilmae</dc:creator>
		<pubDate>Mon, 14 Apr 2008 10:44:54 +0000</pubDate>
		<guid isPermaLink="false">http://clubtroppo.com.au/2008/04/14/mysql-is-playing-funny-buggers/#comment-261409</guid>
		<description>Which script choked, Jacques?</description>
		<content:encoded><![CDATA[<p>Which script choked, Jacques?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TimT</title>
		<link>http://clubtroppo.com.au/2008/04/14/mysql-is-playing-funny-buggers/#comment-261400</link>
		<dc:creator>TimT</dc:creator>
		<pubDate>Mon, 14 Apr 2008 09:21:31 +0000</pubDate>
		<guid isPermaLink="false">http://clubtroppo.com.au/2008/04/14/mysql-is-playing-funny-buggers/#comment-261400</guid>
		<description>Old Jungle saying: never trust MySQL, Myspace, or MY DIERRHAERETIC ARSE.</description>
		<content:encoded><![CDATA[<p>Old Jungle saying: never trust MySQL, Myspace, or MY DIERRHAERETIC ARSE.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jacques Chester</title>
		<link>http://clubtroppo.com.au/2008/04/14/mysql-is-playing-funny-buggers/#comment-261398</link>
		<dc:creator>Jacques Chester</dc:creator>
		<pubDate>Mon, 14 Apr 2008 09:12:54 +0000</pubDate>
		<guid isPermaLink="false">http://clubtroppo.com.au/2008/04/14/mysql-is-playing-funny-buggers/#comment-261398</guid>
		<description>Clinton;

I do have the slow query log turned on. Nothing in it looks like it should have maxed out the server for five minutes. The worst query in the last day took 6 seconds to do a complex join-and-aggregate over nearly a million records.</description>
		<content:encoded><![CDATA[<p>Clinton;</p>
<p>I do have the slow query log turned on. Nothing in it looks like it should have maxed out the server for five minutes. The worst query in the last day took 6 seconds to do a complex join-and-aggregate over nearly a million records.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Clinton Roy</title>
		<link>http://clubtroppo.com.au/2008/04/14/mysql-is-playing-funny-buggers/#comment-261397</link>
		<dc:creator>Clinton Roy</dc:creator>
		<pubDate>Mon, 14 Apr 2008 09:04:40 +0000</pubDate>
		<guid isPermaLink="false">http://clubtroppo.com.au/2008/04/14/mysql-is-playing-funny-buggers/#comment-261397</guid>
		<description>Have you turned the slow log on?

log_slow_queries       = /var/log/mysql/mysql-slow.log

that let me discover that one of our greylisting databases was terribly slow because it was
using a silly backend for update heavy usage.</description>
		<content:encoded><![CDATA[<p>Have you turned the slow log on?</p>
<p>log_slow_queries       = /var/log/mysql/mysql-slow.log</p>
<p>that let me discover that one of our greylisting databases was terribly slow because it was<br />
using a silly backend for update heavy usage.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

