<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.2" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Duplicate index checker version 1.9 released</title>
	<link>http://www.xaprb.com/blog/2006/10/01/duplicate-index-checker-version-19-released/</link>
	<description>Stay curious!</description>
	<pubDate>Fri, 29 Aug 2008 19:33:40 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.2</generator>

	<item>
		<title>By: Xaprb</title>
		<link>http://www.xaprb.com/blog/2006/10/01/duplicate-index-checker-version-19-released/#comment-2102</link>
		<author>Xaprb</author>
		<pubDate>Thu, 05 Oct 2006 22:43:21 +0000</pubDate>
		<guid>http://www.xaprb.com/blog/2006/10/01/duplicate-index-checker-version-19-released/#comment-2102</guid>
		<description>&lt;p&gt;Hello my brother, I love you too :-)&lt;/p&gt;

&lt;p&gt;[Note: "john" above really is my brother, whose name isn't John.]&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Hello my brother, I love you too :-)</p>
<p>[Note: &#8220;john&#8221; above really is my brother, whose name isn&#8217;t John.]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: john</title>
		<link>http://www.xaprb.com/blog/2006/10/01/duplicate-index-checker-version-19-released/#comment-2101</link>
		<author>john</author>
		<pubDate>Thu, 05 Oct 2006 22:09:51 +0000</pubDate>
		<guid>http://www.xaprb.com/blog/2006/10/01/duplicate-index-checker-version-19-released/#comment-2101</guid>
		<description>&lt;p&gt;Yeah, well this whole idea isn't very helpful to me. I need the thing to make it not do that stuff. If  you could fix that it will help my employees be much more efficient. See, I run a large enterprise company that deals in interactive software that uses databases. We have a large Access database that we administrate. Let me know if you want to work for us, we could make a good offer.&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Yeah, well this whole idea isn&#8217;t very helpful to me. I need the thing to make it not do that stuff. If  you could fix that it will help my employees be much more efficient. See, I run a large enterprise company that deals in interactive software that uses databases. We have a large Access database that we administrate. Let me know if you want to work for us, we could make a good offer.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Xaprb</title>
		<link>http://www.xaprb.com/blog/2006/10/01/duplicate-index-checker-version-19-released/#comment-2092</link>
		<author>Xaprb</author>
		<pubDate>Wed, 04 Oct 2006 23:46:10 +0000</pubDate>
		<guid>http://www.xaprb.com/blog/2006/10/01/duplicate-index-checker-version-19-released/#comment-2092</guid>
		<description>&lt;p&gt;Yes, prefixes made it break silently.  I fixed that, and in the process made it ignore column prefixes entirely.  Now these key definitions end up being exactly the same, so they will be reported as duplicates:&lt;/p&gt;

&lt;pre&gt;  PRIMARY KEY  (`day`,`account`),
  KEY `day` (`day`(12),`account`),
  KEY `day` (`day`,`account`(5)),&lt;/pre&gt;

&lt;p&gt;Of course, they're not really duplicates, or might not be anyway, but my whole philosophy with this tool is "catch enough problems to be helpful, then report them and let the DBA figure it out."&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Yes, prefixes made it break silently.  I fixed that, and in the process made it ignore column prefixes entirely.  Now these key definitions end up being exactly the same, so they will be reported as duplicates:</p>
<pre>  PRIMARY KEY  (`day`,`account`),
  KEY `day` (`day`(12),`account`),
  KEY `day` (`day`,`account`(5)),</pre>
<p>Of course, they&#8217;re not really duplicates, or might not be anyway, but my whole philosophy with this tool is &#8220;catch enough problems to be helpful, then report them and let the DBA figure it out.&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Xaprb</title>
		<link>http://www.xaprb.com/blog/2006/10/01/duplicate-index-checker-version-19-released/#comment-2062</link>
		<author>Xaprb</author>
		<pubDate>Mon, 02 Oct 2006 11:37:36 +0000</pubDate>
		<guid>http://www.xaprb.com/blog/2006/10/01/duplicate-index-checker-version-19-released/#comment-2062</guid>
		<description>&lt;p&gt;I thought about prefixes but decided not to go there.  I could, though.  I guess it wouldn't be too hard to take out the parenthesized prefix notation and leave just the column names.&lt;/p&gt;

&lt;p&gt;Now that I think about it, I bet my regular expression breaks and doesn't get all the column names when there's a parenthesized prefix.  I should look into this.&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>I thought about prefixes but decided not to go there.  I could, though.  I guess it wouldn&#8217;t be too hard to take out the parenthesized prefix notation and leave just the column names.</p>
<p>Now that I think about it, I bet my regular expression breaks and doesn&#8217;t get all the column names when there&#8217;s a parenthesized prefix.  I should look into this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roland Bouman</title>
		<link>http://www.xaprb.com/blog/2006/10/01/duplicate-index-checker-version-19-released/#comment-2054</link>
		<author>Roland Bouman</author>
		<pubDate>Mon, 02 Oct 2006 00:58:24 +0000</pubDate>
		<guid>http://www.xaprb.com/blog/2006/10/01/duplicate-index-checker-version-19-released/#comment-2054</guid>
		<description>&lt;p&gt;Hi Baron,&lt;/p&gt;

&lt;p&gt;great to hear you got round the bug...let's hope it gets fixed anyway :)&lt;/p&gt;

&lt;p&gt;By the way, what's your take on the column prefixes? I bumped into that when I was well into writing my article and at that point I just felt like "...oh no, not another complicating factor...".  For example, we could have:&lt;/p&gt;

&lt;pre&gt;table (col1 varchar(1000), col2 char(1))

index1 (col1(100))
index2 (col1(1),col2)&lt;/pre&gt;

&lt;p&gt;And if it get's as insane as this it is likely that index1 is more selective than index2. In the end, that's what determines the performance, and the 'left-prefix' criterion is just a simple and mostly effective measure for the selectivity.&lt;/p&gt;</description>
		<content:encoded><![CDATA[<p>Hi Baron,</p>
<p>great to hear you got round the bug&#8230;let&#8217;s hope it gets fixed anyway :)</p>
<p>By the way, what&#8217;s your take on the column prefixes? I bumped into that when I was well into writing my article and at that point I just felt like &#8220;&#8230;oh no, not another complicating factor&#8230;&#8221;.  For example, we could have:</p>
<pre>table (col1 varchar(1000), col2 char(1))

index1 (col1(100))
index2 (col1(1),col2)</pre>
<p>And if it get&#8217;s as insane as this it is likely that index1 is more selective than index2. In the end, that&#8217;s what determines the performance, and the &#8216;left-prefix&#8217; criterion is just a simple and mostly effective measure for the selectivity.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
