Viewing 15 posts - 16 through 30 (of 40 total)
I bring up the lack of randomness as it works in the favor of delimitedsplit8k, as the optimizer can basically get to reuse its row plans. (Running the test script...
May 23, 2015 at 9:36 am
Eirikur Eiriksson (5/22/2015)
Jeff Moden (5/22/2015)
Excellent. I'll try to take a look at this over the weekend, unless they hit me with the next ton-o-bricks at work.
Just ran a quick...
May 22, 2015 at 5:39 pm
Sure Jeff, I've added the generator and the full test script into my gist.
Here is a direct link to the script:
https://gist.github.com/mburbea/5e142f846d0141c714a1#file-testscript-sql
This was run against a Sql server 2014 instance....
May 22, 2015 at 9:35 am
Most of the methods described are worse than delimitedsplit8k. The CLR splitter is decent. And TVPs are unusual and unfortunately, unwieldy to use without storeprocedures and non-normal client code. They...
May 22, 2015 at 9:06 am
I discovered something interesting today using the LAG and LEAD function. You can use them in TVFs to create cached versions of ctes and intermediary results, the trick is to...
May 21, 2015 at 6:59 pm
Solomon Rutzky (9/9/2014)
Regarding the two items you mentioned, Tally function and splitter, both are available for free in the SQL#[/url] library, along with quite a few others. There are several...
September 10, 2014 at 8:07 am
To be fair, Microsoft did give us master data services which has a CLR udf splitter (an awful one) that still requires enabling CLR on so most DBAs just say...
September 9, 2014 at 2:19 pm
It seems that Paul is right, which explains why it appears that the memory optimized tally tables splitter beat CLR functions at first blush. (This isn't true sadly). Adding the...
July 9, 2014 at 2:46 pm
If you look at my github I included an update test script which should make it easier to test your functions. Simply add them to the function array on top...
May 27, 2014 at 8:48 am
For those looking for the fastest way to split 8k CSVs in SQL Server, I present hybrid.
Hybrid performs about TWICE as fast as Paul White's Split CLR function. And about...
May 25, 2014 at 10:26 am
Paul's CLR split method is quite excellent and so simple. However, in this trial part of its pain points is that it takes an nvarchar(max) and so every call has...
May 22, 2014 at 4:16 pm
Solomon Rutzky (5/20/2014)
Regarding recycling the App Domain, here is a little known trick that I stumbled upon while testing something a couple of years ago: ALTER an Assembly in that...
May 20, 2014 at 2:11 pm
One thing I discovered is that Jeff's test harness is a bit biased at least when it comes to the CLR functions.
I was trying to write a faster CLR...
May 20, 2014 at 10:10 am
Thank you Paul for figuring out why this benchmark was suddenly flying after upgrading from 2008 R2 to 2014. It's still nice and fast but a lot more reasonable.
Out of...
May 15, 2014 at 11:39 pm
Usman's reformation of the query to remove the union from "cteStart" and add it to the final result as has a nice appreciable gain in performance. It now seems to...
May 14, 2014 at 10:44 am
Viewing 15 posts - 16 through 30 (of 40 total)