<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Hash Aggregate</title><link>http://blogs.msdn.com/b/craigfr/archive/2006/09/20/hash-aggregate.aspx</link><description>In my prior two posts, I wrote about the stream aggregate operator. Stream aggregate is great for scalar aggregates and for aggregations where we have an index to provide a sort order on the group by column(s) or where we need to sort anyhow (e.g., due</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>Partial Aggregation</title><link>http://blogs.msdn.com/b/craigfr/archive/2006/09/20/hash-aggregate.aspx#7152585</link><pubDate>Fri, 18 Jan 2008 23:05:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7152585</guid><dc:creator>Noticias externas</dc:creator><description>&lt;p&gt;In some of my past posts, I&amp;amp;#39;ve discussed at how SQL Server implements aggregation including the stream&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7152585" width="1" height="1"&gt;</description></item><item><title>Partial Aggregation</title><link>http://blogs.msdn.com/b/craigfr/archive/2006/09/20/hash-aggregate.aspx#7152157</link><pubDate>Fri, 18 Jan 2008 22:17:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7152157</guid><dc:creator>Craig Freedman's SQL Server Blog</dc:creator><description>&lt;p&gt;In some of my past posts, I've discussed at how SQL Server implements aggregation including the stream&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=7152157" width="1" height="1"&gt;</description></item><item><title>Aggregation WITH ROLLUP</title><link>http://blogs.msdn.com/b/craigfr/archive/2006/09/20/hash-aggregate.aspx#5037897</link><pubDate>Fri, 21 Sep 2007 21:41:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5037897</guid><dc:creator>Noticias externas</dc:creator><description>&lt;p&gt;In this post, I&amp;amp;#39;m going to discuss how aggregation WITH ROLLUP works. The WITH ROLLUP clause permits&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=5037897" width="1" height="1"&gt;</description></item><item><title>Aggregation WITH ROLLUP</title><link>http://blogs.msdn.com/b/craigfr/archive/2006/09/20/hash-aggregate.aspx#5036691</link><pubDate>Fri, 21 Sep 2007 20:47:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5036691</guid><dc:creator>Craig Freedman's WebLog</dc:creator><description>&lt;p&gt;In this post, I'm going to discuss how aggregation WITH ROLLUP works. The WITH ROLLUP clause permits&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=5036691" width="1" height="1"&gt;</description></item><item><title>PIVOT Query Plans</title><link>http://blogs.msdn.com/b/craigfr/archive/2006/09/20/hash-aggregate.aspx#3784441</link><pubDate>Mon, 09 Jul 2007 21:29:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3784441</guid><dc:creator>Craig Freedman's WebLog</dc:creator><description>&lt;p&gt;In my last post , I gave an overview of the PIVOT operator. In this post, I'm going to take a look at&lt;/p&gt;
&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=3784441" width="1" height="1"&gt;</description></item><item><title>re: Hash Aggregate</title><link>http://blogs.msdn.com/b/craigfr/archive/2006/09/20/hash-aggregate.aspx#2699056</link><pubDate>Thu, 17 May 2007 20:28:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2699056</guid><dc:creator>Craig Freedman</dc:creator><description>&lt;p&gt;In the discussion of memory and spilling, I originally wrote that “with a hash join, if we run out of memory, we spill some of the rows already in memory to disk to free some space. &amp;nbsp;With a hash aggregate, we keep the existing groups in memory. &amp;nbsp;When we run out of space for new groups, we simply begin spilling any new input rows that do not belong to an existing group.” &amp;nbsp;This description of the algorithm was not correct. &amp;nbsp;I’ve corrected the post as follows: “We spill one or more buckets or partitions including any partially aggregated results along with any additional new rows that hash to the spilled buckets or partitions.”&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=2699056" width="1" height="1"&gt;</description></item></channel></rss>