Quantcast
Channel: SCN : Unanswered Discussions - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 4343

Viewing Visualize Plan for variables vs. WHERE clause

$
0
0

Hi all, stumbled upon this and was wondering if anyone had seen something similar. This all came up in trying different ways to implement filters across the different BO tools (Analysis, Universe, Explorer, Lumira).

 

The core observation is that there seems to be a difference in the Explain plan for a given Analytic View when using a WHERE clause vs. using a variable (with the PLACEHOLDER technique). However, I am not seeing a performance difference in the query results.

 

What I was expecting to see was a BwPopSearch operation to filter out records a given attribute occurring in both of these. I only observed it in the WHERE clause statement.

 

Do variables/parameters not appear as visible within the Visualize plan? Again, these have the same runtimes, so I have to believe there is a filter pushdown/search happening somehow.

 

PARAMETER Example

SELECT

  Table__1."KUNNR",

  Table__1."KUKLA",

  Table__1."MATNR_T",

  sum(Table__1."SALES")

FROM

  "_SYS_BIC"."Main.Analytics.Sales/AN_INTEGRATED_SALES"

  (PLACEHOLDER."$$VAR_SIG$$" => 'MDSG')  Table__1

GROUP BY

  Table__1."KUNNR",

  Table__1."KUKLA",

  Table__1."MATNR_T"

 

No PopSearch

VARIABLE.JPG

 

WHERE clause Example

SELECT

  Table__1."KUNNR",

  Table__1."KUKLA",

  Table__1."MATNR_T",

  sum(Table__1."SALES")

FROM

  "_SYS_BIC"."Main.Analytics.Sales/AN_INTEGRATED_SALES"  Table__1

WHERE

  Table__1."SALE_ITEM_GROUP_ID"  =  'MDSG'

GROUP BY

  Table__1."KUNNR",

  Table__1."KUKLA",

  Table__1."MATNR_T"

 

PopSearch occurs

WHERE.JPG


Viewing all articles
Browse latest Browse all 4343

Trending Articles



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