<?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/"
	xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
	>
<channel>
	<title>Comments on: Want To Crash Teradata? Give It Some LOV&#8230;</title>
	<atom:link href="http://www.dagira.com/2010/02/26/want-to-crash-teradata-give-it-some-lov/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dagira.com/2010/02/26/want-to-crash-teradata-give-it-some-lov/</link>
	<description>...you are in a twisty maze of passageways, all different...</description>
	<lastBuildDate>Tue, 07 Feb 2012 17:17:49 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: JK</title>
		<link>http://www.dagira.com/2010/02/26/want-to-crash-teradata-give-it-some-lov/comment-page-1/#comment-1476</link>
		<dc:creator>JK</dc:creator>
		<pubDate>Wed, 27 Oct 2010 20:51:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagira.com/?p=240#comment-1476</guid>
		<description>Dave, 
Being an old &#039;Teradactyl&#039;, your article was interesting. The DISTINCT option (within TD) internally processes the data differently than the GROUP BY and in the process does an internal sort before it removes duplicate values. With the GROUP BY, it will remove all the duplicats on each unit of parallelism before further processing and the result set is not in any order - as per Relational Theory;-) I know from a BI tool perspective this might seem to be a &#039;neat feature&#039; but in terms of an underlying DBMS, it should not be taken for granted - i.e. a sorted order result set, unless it is specified in an ORDR BY clause. It appears in TD13 that Teradata finally &#039;fixed&#039; the differences in processing and used the internal logic of the GROUP BY. B-T-B, GROUP BY is &#039;usually&#039; a lot faster internally and the final sort has a very low overhead as that is done in its parallelism result processiing logic. So if you are on earlier releases, the GROUP BY will generally be faster - BUT - you must use the ORDER BY if you want a sorted LOV!

P.S. - beware of using &#039;internal TD option settings&#039; that support a previous release functionality - they tend to be dropped/removed at later dates (FYI)</description>
		<content:encoded><![CDATA[<p>Dave,<br />
Being an old &#8216;Teradactyl&#8217;, your article was interesting. The DISTINCT option (within TD) internally processes the data differently than the GROUP BY and in the process does an internal sort before it removes duplicate values. With the GROUP BY, it will remove all the duplicats on each unit of parallelism before further processing and the result set is not in any order &#8211; as per Relational Theory;-) I know from a BI tool perspective this might seem to be a &#8216;neat feature&#8217; but in terms of an underlying DBMS, it should not be taken for granted &#8211; i.e. a sorted order result set, unless it is specified in an ORDR BY clause. It appears in TD13 that Teradata finally &#8216;fixed&#8217; the differences in processing and used the internal logic of the GROUP BY. B-T-B, GROUP BY is &#8216;usually&#8217; a lot faster internally and the final sort has a very low overhead as that is done in its parallelism result processiing logic. So if you are on earlier releases, the GROUP BY will generally be faster &#8211; BUT &#8211; you must use the ORDER BY if you want a sorted LOV!</p>
<p>P.S. &#8211; beware of using &#8216;internal TD option settings&#8217; that support a previous release functionality &#8211; they tend to be dropped/removed at later dates (FYI)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Rathbun</title>
		<link>http://www.dagira.com/2010/02/26/want-to-crash-teradata-give-it-some-lov/comment-page-1/#comment-1053</link>
		<dc:creator>Dave Rathbun</dc:creator>
		<pubDate>Thu, 25 Mar 2010 03:46:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagira.com/?p=240#comment-1053</guid>
		<description>Hi, Boris, and thanks for your question. I understand why you asked :) but I can tell you that the BOXI version is of no consequence as we were able to cause the exact same issue by running the SQL via SQL Assistant. The major version for Teradata was 13; I don&#039;t know what fix level we were using at the time.</description>
		<content:encoded><![CDATA[<p>Hi, Boris, and thanks for your question. I understand why you asked <img src='http://www.dagira.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  but I can tell you that the BOXI version is of no consequence as we were able to cause the exact same issue by running the SQL via SQL Assistant. The major version for Teradata was 13; I don&#8217;t know what fix level we were using at the time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Boris</title>
		<link>http://www.dagira.com/2010/02/26/want-to-crash-teradata-give-it-some-lov/comment-page-1/#comment-1050</link>
		<dc:creator>Boris</dc:creator>
		<pubDate>Wed, 24 Mar 2010 20:52:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagira.com/?p=240#comment-1050</guid>
		<description>Dave -- interesting problem.  Can you please post the exact system information:
  DBS version (including e-fix) and OS
  ODBC version and OS
  BOXI version and OS
This may help everyone!</description>
		<content:encoded><![CDATA[<p>Dave &#8212; interesting problem.  Can you please post the exact system information:<br />
  DBS version (including e-fix) and OS<br />
  ODBC version and OS<br />
  BOXI version and OS<br />
This may help everyone!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Rathbun</title>
		<link>http://www.dagira.com/2010/02/26/want-to-crash-teradata-give-it-some-lov/comment-page-1/#comment-1039</link>
		<dc:creator>Dave Rathbun</dc:creator>
		<pubDate>Fri, 12 Mar 2010 23:15:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagira.com/?p=240#comment-1039</guid>
		<description>Hi, Kuldeep, thank you for your question. To this point in my career I have never managed to work with Netezza. Given that, I don&#039;t expect to write much if anything about it.</description>
		<content:encoded><![CDATA[<p>Hi, Kuldeep, thank you for your question. To this point in my career I have never managed to work with Netezza. Given that, I don&#8217;t expect to write much if anything about it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kuldeep</title>
		<link>http://www.dagira.com/2010/02/26/want-to-crash-teradata-give-it-some-lov/comment-page-1/#comment-1037</link>
		<dc:creator>Kuldeep</dc:creator>
		<pubDate>Fri, 12 Mar 2010 10:28:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagira.com/?p=240#comment-1037</guid>
		<description>Dave, Just wanted to know if you ever tried connecting BO to Netezza, If yes Do you plan to write on this topic.</description>
		<content:encoded><![CDATA[<p>Dave, Just wanted to know if you ever tried connecting BO to Netezza, If yes Do you plan to write on this topic.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Rathbun</title>
		<link>http://www.dagira.com/2010/02/26/want-to-crash-teradata-give-it-some-lov/comment-page-1/#comment-1028</link>
		<dc:creator>Dave Rathbun</dc:creator>
		<pubDate>Thu, 04 Mar 2010 00:25:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagira.com/?p=240#comment-1028</guid>
		<description>We have run into a snag, of course. Some of the LOV definitions in another universe use the ability to &quot;sort by&quot; an object that does not exist in the select clause. This results in invalid SQL once the distinct is removed and the group by is added because the additional column does not show up in the group by clause...

No solution yet.</description>
		<content:encoded><![CDATA[<p>We have run into a snag, of course. Some of the LOV definitions in another universe use the ability to &#8220;sort by&#8221; an object that does not exist in the select clause. This results in invalid SQL once the distinct is removed and the group by is added because the additional column does not show up in the group by clause&#8230;</p>
<p>No solution yet.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Rathbun</title>
		<link>http://www.dagira.com/2010/02/26/want-to-crash-teradata-give-it-some-lov/comment-page-1/#comment-1027</link>
		<dc:creator>Dave Rathbun</dc:creator>
		<pubDate>Mon, 01 Mar 2010 16:50:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagira.com/?p=240#comment-1027</guid>
		<description>Thani, welcome and thank you for your comment. The parameter does, in fact, change the behavior of the &quot;retrieve duplicate rows&quot; option. It will also use a GROUP BY rather than a DISTINCT. The net result should be the same.</description>
		<content:encoded><![CDATA[<p>Thani, welcome and thank you for your comment. The parameter does, in fact, change the behavior of the &#8220;retrieve duplicate rows&#8221; option. It will also use a GROUP BY rather than a DISTINCT. The net result should be the same.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dave Rathbun</title>
		<link>http://www.dagira.com/2010/02/26/want-to-crash-teradata-give-it-some-lov/comment-page-1/#comment-1026</link>
		<dc:creator>Dave Rathbun</dc:creator>
		<pubDate>Mon, 01 Mar 2010 16:48:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagira.com/?p=240#comment-1026</guid>
		<description>I am not aware of a method to exclude any LOV from this sort parameter.</description>
		<content:encoded><![CDATA[<p>I am not aware of a method to exclude any LOV from this sort parameter.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yoav</title>
		<link>http://www.dagira.com/2010/02/26/want-to-crash-teradata-give-it-some-lov/comment-page-1/#comment-1023</link>
		<dc:creator>Yoav</dc:creator>
		<pubDate>Mon, 01 Mar 2010 08:10:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagira.com/?p=240#comment-1023</guid>
		<description>Thanks for the clarification,

The parameter will be global and you can’t exclude a specific LOV object out of it, right ?

Yoav</description>
		<content:encoded><![CDATA[<p>Thanks for the clarification,</p>
<p>The parameter will be global and you can’t exclude a specific LOV object out of it, right ?</p>
<p>Yoav</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thani</title>
		<link>http://www.dagira.com/2010/02/26/want-to-crash-teradata-give-it-some-lov/comment-page-1/#comment-1022</link>
		<dc:creator>Thani</dc:creator>
		<pubDate>Mon, 01 Mar 2010 06:09:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.dagira.com/?p=240#comment-1022</guid>
		<description>Hi Dave,

By changing this Universe parameter DISTINCT=GROUPBY, will this not affect the report queries as well or just to LOV query.
And how does the “Retrieve duplicate rows” WebI property will work by un-checking it?

Thanks.</description>
		<content:encoded><![CDATA[<p>Hi Dave,</p>
<p>By changing this Universe parameter DISTINCT=GROUPBY, will this not affect the report queries as well or just to LOV query.<br />
And how does the “Retrieve duplicate rows” WebI property will work by un-checking it?</p>
<p>Thanks.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

