Performance concernce

  • Just ran through a handful of test harnesses, not impressed, vNext is more like vLast
    😎

    Versions/difference20172019Difference
    Duplicate-records_TEST_HARNESS.sql78512999171973116.82%
    PreGroupingTestHarness.sql37199834463291119.98%
    Running-total-over-partition-order_Test_Harness.sql2763052432891528119.04%
    Test_harness_eomonth_03.sql456129964545092899.64%
    Test_harness_datefromparts_SQLQuery24.sql60693436676009110.00%
    Return-last-amount-larger-than-0_test_harness_02.sql22329252619093117.29%
  • Eirikur Eiriksson - Sunday, October 7, 2018 8:47 AM

    vNext is more like vLast
    😎

    Ok, Eirikur... you owe me a new monitor AND keyboard.  I blew a mouth full of coffee out of my nose on that one. πŸ˜€

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

  • Jeff Moden - Sunday, October 7, 2018 10:27 AM

    Eirikur Eiriksson - Sunday, October 7, 2018 8:47 AM

    vNext is more like vLast
    😎

    Ok, Eirikur... you owe me a new monitor AND keyboard.  I blew a mouth full of coffee out of my nose on that one. πŸ˜€

    So that would be your normal 4 inch monitor and a three button child keyboard (yes,no don't know)?
     πŸ˜Ž

  • Eirikur Eiriksson - Sunday, October 7, 2018 8:47 AM

    Just ran through a handful of test harnesses, not impressed, vNext is more like vLast
    😎

    Versions/difference20172019Difference
    Duplicate-records_TEST_HARNESS.sql78512999171973116.82%
    PreGroupingTestHarness.sql37199834463291119.98%
    Running-total-over-partition-order_Test_Harness.sql2763052432891528119.04%
    Test_harness_eomonth_03.sql456129964545092899.64%
    Test_harness_datefromparts_SQLQuery24.sql60693436676009110.00%
    Return-last-amount-larger-than-0_test_harness_02.sql22329252619093117.29%

    It's designed for the next gen of (128 bit) CPU's.
    For 64bit CPU's you have a server-wide setting - "Halfbit".

    β€œWrite the query the simplest way. If through testing it becomes clear that the performance is inadequate, consider alternative query forms.” - Gail Shaw

    For fast, accurate and documented assistance in answering your questions, please read this article.
    Understanding and using APPLY, (I) and (II) Paul White
    Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden

  • ChrisM@Work - Monday, October 8, 2018 3:16 AM

    Eirikur Eiriksson - Sunday, October 7, 2018 8:47 AM

    Just ran through a handful of test harnesses, not impressed, vNext is more like vLast
    😎

    Versions/difference20172019Difference
    Duplicate-records_TEST_HARNESS.sql78512999171973116.82%
    PreGroupingTestHarness.sql37199834463291119.98%
    Running-total-over-partition-order_Test_Harness.sql2763052432891528119.04%
    Test_harness_eomonth_03.sql456129964545092899.64%
    Test_harness_datefromparts_SQLQuery24.sql60693436676009110.00%
    Return-last-amount-larger-than-0_test_harness_02.sql22329252619093117.29%

    It's designed for the next gen of (128 bit) CPU's.
    For 64bit CPU's you have a server-wide setting - "Halfbit".

    I must be a "Halfwit", cannot find the "Halfbit" πŸ˜€
    😎

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply