slow performance

  • Grace09 (7/15/2015)


    Jeff, the compilation Time is on 6/13. Thank you.

    That means that the code only ran a little over 6,500 times a day. It DOES, however, have an average IO of about 3,300 and that seems a bit high for a simple cursor FETCH as does the 5 or so ms. I'd have to see what all the other stuff was and what their compile dates are to make a better judgment as to whether to go after this or not.

    If you're not a 24/7 shop, it might be worth doing a DBCC FREEPROCCACHE right after midnight some night and see what the same report that you used previously reports 24 hours later.

    --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)
    Intro to Tally Tables and Functions

Viewing post 16 (of 15 total)

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