Skip to Content

Retrieve successfully executed time or server processing time

Hi Experts,

Could you please let me know how to get values of server processing time or successfully executed time when any view is executed using select statement. I want to know from which table i can get execution time of the select statement.

I know from sql console we can get it but i want to know how it is being calculated/retrieved from table. I want to update these execution/server processing times in a custom table on a regular basis.

BestRegards

sasi

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Sep 18, 2016 at 12:04 AM
    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 19, 2016 at 12:13 AM

    Hi Sheshi,

    SQL plan cache in the Administration editor on the Performance tab might work for your request. There are two views which can be useful:

    M_SQL_PLAN_CACHE_OVERVIEW

    M_SQL_PLAN_CACHE

    This SQL plan cache contains a lot of information. You can also filter using TOTAL_EXECUTION_TIME, AVG_EXECUTION_TIME and EXECUTION_COUNT columns to help you identify processing/execution time.

    You may have a look here for more details.

    Kind regards,

    Alper Somuncu

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.