Quantcast
Channel: SCN: Message List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 9165

Re: Server processing time for SQLScript stored procedure

$
0
0

hi Daniel,

 

you may wish to look at using the Expensive Statements trace in hana studio > double click on your system > Trace Configuration tab. you can set the threshold to a low amount and set the trace to the main table affected by the stored proc.

 

 

Untitled.jpg

 

after you activate this, go to the Performance tab > Expensive Statements Trace. you can further filter this or export the results to a file. there is also then a view that you can utilize  M_EXPENSIVE_STATEMENTS in the sql console.

 

the pic below is the call from the stored proc that i just put a trace on as a test.

 

Untitled.jpg

 

for more info on this trace, there's a video in the sap hana academy here under Performance and Monitoring.

 

i hope this helps,

jamie


Viewing all articles
Browse latest Browse all 9165

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>