Tune Stored Proc

  • Mike Levan (3/9/2009)


    Jeff

    Probably 1 hr for each step.

    thanks

    As the others have suggested, there's something wrong with that picture, Mike, and we probably won't be able to help from here.

    First, check and make sure it's actually a table and not a view. An aggregated view could certainly be the problem.

    Second, if it's not a view, then there's probably a little index work needed. See what Gail said about that above.

    I think, at this point, that you might need to get your DBA involved in tuning this up. We can only give you advice here and there... your DBA will be able to see what's wrong. Or is that being ironic on my part?

    --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)

Viewing post 16 (of 16 total)

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