Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

SQL vs CE Functions Performance

$
0
0

Hello,

 

I understand the point that we should now be using SQL statements over CE Functions.  The system I am using is on SP10 and I have come across a big performance gap between the two methods above and am trying to figure out why this could be in a scripted calculation view ( select all records from calculation view).  Also to note, there is much more to this code but I have limited it to this specific piece.

 

CE Function

 

var_out = CE_CALC_VIEW("<CALC_VIEW>")

 

 

 

When using this, I get the output in approx. 12 seconds.

 

SQL

 

var_out = SELECT * FROM <CALC_VIEW>

 

When using this, I get the output in approx. 2min 30 seconds.  I also get about the same time using the graphical calculation view.

 

Does anyone have any ideas on what might be causing this?

 

Thanks,

Travis


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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