on 2023 Oct 23 1:32 PM
Hi Experts,
How to find out the execution time, elapsed time and scanned records count history of a particular SQL statement.
Please answer.
Thanks in advance
Request clarification before answering.
Have you looked into : 2180165 - FAQ: SAP HANA Expensive Statements Trace ?
You can basically get the information from M_EXPENSIVE_STATEMENTS based on the STATEMENT_STRING column.
Best Regards,
Abhi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Daniel,
You can refer to m_expensive_statements monitoring view and query it with respect to statement_string to find the required query and the records column would help to get the results records count.
The operation column would tell you for which operation its for .(select,call etc)
hope this helps
Re
Sayantan
| User | Count |
|---|---|
| 17 | |
| 7 | |
| 6 | |
| 6 | |
| 4 | |
| 4 | |
| 4 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.