Author: Robert Sample
Posted: Sun Sep 11, 2016 8:02 am (GMT 5.5)
This is pretty much a meaningless statement. Quantify things when you post. If "very high CPU" is 35 to 40 CPU seconds out of 100 total, you don't really have much room to improve things. If it is 700 to 800 out of 2000, that is different.
What does "it" refer to here -- the 35 to 40% CPU usage or the intermediate binds? You are not clear which you're asking about.
What does your site support group and your DBA(s) say?
_________________
TANSTAAFL
The first rule of code reuse is that the code needs to be worth re-using.
"We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil." -- Donald Knuth
Posted: Sun Sep 11, 2016 8:02 am (GMT 5.5)
Quote: |
The stored procedure CALL statement is consuming a very high CPU. |
Quote: |
Is it because the call is thru a host variable prefixed with qualifier? Is it due to a high number of inout parameters? |
What does your site support group and your DBA(s) say?
_________________
TANSTAAFL
The first rule of code reuse is that the code needs to be worth re-using.
"We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil." -- Donald Knuth