Forum Replies Created

Viewing 15 posts - 8,206 through 8,220 (of 8,416 total)

  • RE: Performance issue with tally solution

    Phil Factor (4/25/2009)


    Most data feeds are a bit more regular, I'll admit, but then it is great for testing text parsing routines. I've had to parse larger strings than this...

  • RE: Finding one of a list of strings in a number of text rows

    Bob Hovious (4/25/2009)


    Paul, your solution is interesting and I'm guessing will perform better. I'm going to set up and test a little with this. ...

  • RE: Finding one of a list of strings in a number of text rows

    If you can't use full-text for whatever reason, another approach would be to use a trigger on the PickItFrom table to save the occurrences of a PickPhrase within each new...

  • RE: Performance issue with tally solution

    Jeff Moden (4/25/2009)


    Paul White (4/25/2009)


    One last thing. Using SELECT INTO to create the result table is a bit unfair on any method (e.g. a stored procedure) which cannot be...

  • RE: Performance issue with tally solution

    Jeff Moden (4/25/2009)


    That's exactly what my testing was showing me. Randomness of position of the delimiters from row to row makes or breaks the double barreled Tally methods and...

  • RE: Performance issue with tally solution

    Flo,

    As threatened^H^H^H^H promised, here is a quick example of the BCP method (in SQLCMD mode in SSMS):

    Doing this in tempdb obviates the need to set recovery appropriately to enable fast...

  • RE: Performance issue with tally solution

    Florian Reischl (4/25/2009)


    *ARGH!*

    Yeah, I know how you feel...!

    By the way, reading the whole data column (all rows at once) inside the CLR TVF works very well. Splitting that data...

  • RE: Performance issue with tally solution

    Phil Factor (4/25/2009)


    It certainly seems to put the while loop even more in the lead...

    Which one, Phil? :unsure:

      [dbo].[fnParseList]

      [dbo].[ufn_SplitLines_Cursor]

      [dbo].[WhileSplit]

    All seem to feature a while loop - those are from Flo's DDL.sql...

  • RE: Performance issue with tally solution

    Hey Flo!

    These new tally solutions are only fast if all the rows in dbo.JBMTest are identical.

    The QO can tell from the string statistics on the CSV column that there is...

  • RE: CLR and multi-threading

    Barry,

    RBarryYoung (4/23/2009)


    I have read this presentation and I do not see anything in it that contradicts what either Gail or I have said.

    Gail


    If you play with threads in a CLR...

  • RE: Performance issue with tally solution

    Derek and everyone,

    I think it's worth pointing out now that we have wandered quite a long way from the original question by Flo. This is not a complaint -...

  • RE: CLR and multi-threading

    GilaMonster (4/21/2009)


    Do not play with threading in CLR. I believe it requires UNSAFE and, if you're not careful you could crash the entire SQL instance. If you play with threads...

  • RE: T-SQL 2005 UPSERT help

    James.N (4/22/2009)


    ...I was told that, EXISTS works much faster on SQL server by big guys here at work

    James,

    Several of us have already posted example code that does what you ask,...

  • RE: Performance issue with tally solution

    Bob Hovious (4/22/2009)


    But it also convinces me that CLR isn't a magic bullet. A mediocre CLR routine might not be the fastest technique either. 🙂

    Absolutely. ...

  • RE: Performance issue with tally solution

    Bob Hovious (4/21/2009)


    Can you help me tune her up a bit?

    Hey Bob,

    I *was* going to suggest rewriting it in CLR...?

    :laugh:

    Paul

Viewing 15 posts - 8,206 through 8,220 (of 8,416 total)