<?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: Extending procedure_analyse</title>
	<atom:link href="http://fernandoipar.com/2009/04/21/extending-procedure_analyse/feed/" rel="self" type="application/rss+xml" />
	<link>http://fernandoipar.com/2009/04/21/extending-procedure_analyse/</link>
	<description>I love mankind! Its people I can&#039;t stand!</description>
	<lastBuildDate>Wed, 27 Jan 2010 19:05:16 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Fernando Ipar</title>
		<link>http://fernandoipar.com/2009/04/21/extending-procedure_analyse/comment-page-1/#comment-49</link>
		<dc:creator>Fernando Ipar</dc:creator>
		<pubDate>Wed, 22 Apr 2009 04:33:20 +0000</pubDate>
		<guid isPermaLink="false">http://fernandoipar.com/?p=163#comment-49</guid>
		<description>Thanks for the additional suggestion, as I said, I expected that kind of problems. I&#039;ll look into that particular maatkit script for ideas, I don&#039;t intend to reinvent the wheel but rather to present DBAs with some useful screenshot of information, but it has to be useful and properly obtained :)</description>
		<content:encoded><![CDATA[<p>Thanks for the additional suggestion, as I said, I expected that kind of problems. I&#8217;ll look into that particular maatkit script for ideas, I don&#8217;t intend to reinvent the wheel but rather to present DBAs with some useful screenshot of information, but it has to be useful and properly obtained <img src='http://fernandoipar.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shlomi Noach</title>
		<link>http://fernandoipar.com/2009/04/21/extending-procedure_analyse/comment-page-1/#comment-48</link>
		<dc:creator>Shlomi Noach</dc:creator>
		<pubDate>Wed, 22 Apr 2009 03:58:54 +0000</pubDate>
		<guid isPermaLink="false">http://fernandoipar.com/?p=163#comment-48</guid>
		<description>Hi,
Still not complete. If the the index on (a) is UNIQUE, then an index (a,b) does make it redundant.
Since there&#039;s already a utility which checks for duplicate indexes, and it&#039;s quite complicated, I suggest you take a look how it does it. It is part of maatkit, and is called mk-duplicate-key-checker. See &lt;a href=&quot;http://code.google.com/p/maatkit/wiki/DeterminingDuplicateKeys&quot; rel=&quot;nofollow&quot;&gt;http://code.google.com/p/maatkit/wiki/DeterminingDuplicateKeys&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Still not complete. If the the index on (a) is UNIQUE, then an index (a,b) does make it redundant.<br />
Since there&#8217;s already a utility which checks for duplicate indexes, and it&#8217;s quite complicated, I suggest you take a look how it does it. It is part of maatkit, and is called mk-duplicate-key-checker. See <a href="http://code.google.com/p/maatkit/wiki/DeterminingDuplicateKeys" rel="nofollow">http://code.google.com/p/maatkit/wiki/DeterminingDuplicateKeys</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fernando Ipar</title>
		<link>http://fernandoipar.com/2009/04/21/extending-procedure_analyse/comment-page-1/#comment-47</link>
		<dc:creator>Fernando Ipar</dc:creator>
		<pubDate>Wed, 22 Apr 2009 03:49:13 +0000</pubDate>
		<guid isPermaLink="false">http://fernandoipar.com/?p=163#comment-47</guid>
		<description>Thanks a lot for the observation, that didn&#039;t occur to me :)

I&#039;ll have to look just for columns that have count(*) &gt; 1 and that are also indexed alone, this would be the useless index (of course, it might be that one index takes duplicates, the other not, I don&#039;t know if that still makes all cases useless, you&#039;ve really opened a can of worms for me :)

Fortunately we&#039;ve got the thing at bitbucket now so I&#039;ll report this as a bug and begin working on it ASAP!</description>
		<content:encoded><![CDATA[<p>Thanks a lot for the observation, that didn&#8217;t occur to me <img src='http://fernandoipar.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I&#8217;ll have to look just for columns that have count(*) &gt; 1 and that are also indexed alone, this would be the useless index (of course, it might be that one index takes duplicates, the other not, I don&#8217;t know if that still makes all cases useless, you&#8217;ve really opened a can of worms for me <img src='http://fernandoipar.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Fortunately we&#8217;ve got the thing at bitbucket now so I&#8217;ll report this as a bug and begin working on it ASAP!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shlomi Noach</title>
		<link>http://fernandoipar.com/2009/04/21/extending-procedure_analyse/comment-page-1/#comment-46</link>
		<dc:creator>Shlomi Noach</dc:creator>
		<pubDate>Wed, 22 Apr 2009 03:22:51 +0000</pubDate>
		<guid isPermaLink="false">http://fernandoipar.com/?p=163#comment-46</guid>
		<description>Good work.

With regard to overused indexes, you should note that an index on (a,b) and on (a,c) have nothing useless between them. But your code will report &quot;a&quot; as being over indexed.</description>
		<content:encoded><![CDATA[<p>Good work.</p>
<p>With regard to overused indexes, you should note that an index on (a,b) and on (a,c) have nothing useless between them. But your code will report &#8220;a&#8221; as being over indexed.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
