Viewing 10 posts - 31 through 40 (of 40 total)
Usman actually seems to be right. The avg row size of the intermediate CTE tables seems to have no real bearing on the plan. THe conversion to smallint/int of row_number...
May 14, 2014 at 8:37 am
Yes, I'm aware as I've already read that article and I rarely use rCTEs for that reason.
While you can use the few blessed aggregate function that support an over...
May 13, 2014 at 9:16 pm
That's rather odd. I found it best not to mess with the CteStart derived table. Changing that seems to slow things down. For my use case which is comma delimited...
May 13, 2014 at 8:58 pm
The collate binary, short row optimization seems to really only help on 2014. My guess is that the new estimator is much more clever (and faster). It seems...
May 13, 2014 at 3:55 pm
That makes sense.
After playing with the new Lead variant, my conclusion is that it seems to be slower than the mister.magoo collate latin1_general_bin version. That seems to be the best...
May 13, 2014 at 1:32 pm
Have you tried switching the memory optimized tally table durability to just schema? I read that a table will perform best in this mode and its pretty easy to add...
May 9, 2014 at 1:59 pm
That's what I figured. I hate scalar udfs in sql server as they tend to perform so poorly 🙁
May 8, 2014 at 7:44 am
Sure understood. Here is an example script that shows what I want.
Basically, I want to only create an audit when a user changes data for the table "tableName". I...
May 7, 2014 at 12:42 pm
Paul do you have a similar trick that will work in the output clause? Output statements do not allow subqueries 🙁
I have a store procedure that is called with a...
May 7, 2014 at 9:35 am
While this article is a bit old I did want to comment on a trick that I've discovered to build an itvf for a xml splitter. This will perform better...
August 22, 2012 at 10:18 am
Viewing 10 posts - 31 through 40 (of 40 total)