Stored Procedure Execution time

  • Hi,

    I have stored procedure that use local temp table and drop it at the end of the procedure.

    It takes 56 Seconds to execute at the first time. At second time, It takes 16 seconds to execute it again. Then, It takes 6 secs to execute it again.

    I wait for 5 mins and execute the same procedure again, it takes 56 seconds again.

    Do you have any idea? Why it takes 56s after waiting for 5 mins.

    Mya

  • Perhaps if you posted the procedure and some sample data we might be able to help you?



    MCSE: Data Platform
    MCSE: Business Intelligence
    Follow me on Twitter: @WazzTheBadger
    LinkedIn Profile: Simon Osborne

Viewing 2 posts - 1 through 1 (of 1 total)

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