cancel
Showing results for 
Search instead for 
Did you mean: 

Are characteristic restriction pushed down to HANA view

0 Kudos

Hello All,

I have a BEx query created on a composite provider. This composite provider has a union node with only a calculation view. The BEx query is expected to fetch the data based on fiscal period that user has requested.

So the question is - when the user enters the value in the prompts (used in characteristic restriction of BEx query), will HANA fetch only the required data and then perform the operations in view (or) will all the be processed in HANA and then filter is applied for required fiscal month.

This question is basically to understand the impact of the design process on performance of BEx query.

Accepted Solutions (0)

Answers (4)

Answers (4)

FCI
Active Contributor

For sure, your filter will be pushed down to the calculation view (which is managed by Hana). If the filter will go down up to the physical tables will depend on the way you build your calculation view. The plan Viz of your calculation view will show you if this is the case:

Regards,

Frederic

nbligh
Discoverer
0 Kudos

Hi Vikram,

Did you get anywhere with this? We are seeing similar issues.

Many thanks.

Nick.

FCI
Active Contributor
0 Kudos

Try to catch the SQL query generated by your query execution (for instance with an SQL trace - ST05) and see if the selection on FISCPER is there.

Regards,

Frederic

0 Kudos

Hi Frederic,

Many Thanks for quick reply.

I checked the with SQL trace. The line which is taking a lot of time is as below.

There is no information on SQL statement. Is there any way to find out what SQL is fired against this statement.

Thanks again,

Vikram

FCI
Active Contributor
0 Kudos

I can't see the image on your comment.

0 Kudos

Hi Frederic,

Many Thanks for your reply.

Can you please let me know how did you generate planviz for BEx query execution.

Plan view of CV is as below and when I ran with where condition on fiscal period (say 2015.011), I see that filter is pushed in HANA and overall performance is in terms of milliseconds.

Following is the design of Composite provider.

And I have BEx query on this composite provider. Please note that the Characteristic restrictions have fiscal period at BEx query level and not as input parameter in HANA view.

Now if I see the statistics of BEx query, I see that performance is as below.(screenshot of both the tabs were taken in two separate runs and hence they are not same)

If we see, the performance is very slow when compared to HANA view execution.

Can you/anyone suggest me what is going wrong in here. It is taking 5 seconds to fetch 1 record.

Where as HANA seconds takes in milliseconds.

Thanks and Best Regards,

Vikram