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

Re: Select is slow on Scale-Out HANA db for BW

$
0
0

Hi Abhishek,

 

Can you please try the SQL insert into statement on all your servers to check how does the performance on the SQL engine at DB level. This may help you identify if the performance is really at the DB level or at the ABAP application server.

 

insert into lt_children (NODEID, PARENTID, HSID, ABC, ABCTY, ABC_PARNT)

SELECT dso."H_NODEID",

       dso."H_PARENTID",

       dso."/BIC/HSID",

       dso."/BIC/ABC",

       dso."/BIC/ABCTY",

       dso."/BIC/ABC"

FROM <user_name>."/BIC/AXP_O0500" as dso

   INNER JOIN ZTEMP_1 as parent

      ON  parent."NODEID" = dso."H_PARENTID"

WHERE "H_HIENM" = "P_HIENM"

AND  dso."/BIC/ABCTY" <> 'C';


This is your ABAP statement:

 

SELECT dso~H_NODEID as NODEID

       dso~H_PARENTID as PARENTID

       dso~/BIC/HSID as HSID

       dso~/BIC/ABC as ABC

       dso~/BIC/ABCTY as ABCTY

       dso~/BIC/ABC as ABC_PARNT

INTO TABLE lt_children

FROM /BIC/AXP_O0500 as dso

   INNER JOIN ZTEMP_1 as parent

      ON  parent~NODEID = dso~h_PARENTID

WHERE h_hienm = p_hienm

AND  dso~/BIC/ABCTY NE 'C'

 

Regards,

 

Ravi


Viewing all articles
Browse latest Browse all 11212

Trending Articles