Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8709

Re: CE_PROJECTION possible to order the result

$
0
0

Hi Steven,

 

Just by creating a graphical calculation view you can process your sample statement in the calculation engine. However you should not think about "converting" your statement but more on what you want to achieve..

 

  • Processed in CE engine:

SELECT "FIRST_NAME", "LAST_NAME", count("M_KEY") AS "M_KEY" FROM "_SYS_BIC"."demohana.customers/EMPLOYEE"

WHERE "FIRST_NAME" = 'John'

GROUP BY "FIRST_NAME", "LAST_NAME"

ORDER BY "LAST_NAME" DESC;

 

  • Processed in Join engine:

SELECT "FIRST_NAME", "LAST_NAME", count("M_KEY") AS "M_KEY" FROM "I053626"."EMPLOYEE"

WHERE "FIRST_NAME" = 'John'

GROUP BY "FIRST_NAME", "LAST_NAME"

ORDER BY "LAST_NAME" DESC;

 

Have a look at the visualize plan (by right-click on your statement).

 

In the 1st case you will see CE operations meaning Calculation Engine and in the second one you will see JE as Join engine.

VIZ_PLANS.jpg

Check out the webinar from Lars if you want more infos about viz plan:

http://scn.sap.com/community/hana-in-memory/blog/2013/07/03/advertisment--webinar-performance-in-sap-hana-databases-slide-deck

 

Alex.


Viewing all articles
Browse latest Browse all 8709

Trending Articles



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