December 9, 2013 at 9:57 pm
Comments posted to this topic are about the item Ordered Data
December 9, 2013 at 10:40 pm
Yet another great question that required some digging to ensure the correct answer...
Referencing BOL
The Stream Aggregate operator requires input ordered by the columns within its groups. The optimizer will use a Sort operator prior to this operator if the data is not already sorted due to a prior Sort operator or due to an ordered index seek or scan.
Hope this helps...
Ford Fairlane
Rock and Roll Detective
December 10, 2013 at 4:35 am
Ford Fairlane (12/9/2013)
Yet another great question that required some digging to ensure the correct answer...
+1 , Excellent question its make you dig 🙂
thanks for sharing
December 10, 2013 at 5:15 am
'Lazy Spool' - never come across that before...
December 10, 2013 at 5:29 am
paul s-306273 (12/10/2013)
'Lazy Spool' - never come across that before...
if you need to know it in detail then you can refer to the following link
https://www.simple-talk.com/sql/learn-sql-server/showplan-operator-of-the-week---lazy-spool/
December 10, 2013 at 5:41 am
Yup - It make me research it as well. Thanks for the question.
December 10, 2013 at 6:17 am
Steve, nice and easy. Thanks
+1
December 10, 2013 at 6:20 am
Thanks, Steve. Good question.
December 10, 2013 at 6:30 am
Ford Fairlane (12/9/2013)
Yet another great question that required some digging to ensure the correct answer...
+ 1, Thanks 🙂
Thanks & Best Regards,
Hany Helmy
SQL Server Database Consultant
December 10, 2013 at 12:23 pm
Had to do some research on this one too. At first I thought it was regarding SSIS transforms. Granted, had that been the case, only aggregate and union would have made any sense. Also, operator wouldn't have been the correct term to use. After pausing for some coffee, I switched my focus to the query plans.
Thanks Steve!
December 11, 2013 at 1:52 am
Great question, thanks!
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
December 11, 2013 at 2:47 am
This was removed by the editor as SPAM
December 12, 2013 at 12:57 am
Excellent question..
Thanks Steve.
December 19, 2013 at 1:33 am
Good question. Worth searching. 🙂
April 9, 2014 at 8:09 pm
Stream Aggregate only requires its input to be sorted by the GROUP BY keys. For a scalar aggregate (no GROUP BY clause) no ordering is required.
Viewing 15 posts - 1 through 14 (of 14 total)
You must be logged in to reply to this topic. Login to reply