cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

HANA Migrated calculation views produces different execution plan

david_repton
Explorer
0 Kudos
645

Afternoon,

looking for some assistance in trouble shooting an situation that we currently have.

I have two identical, as far as I can tell, HANA system - DEV and TST.

Running 2.00.020.00.1500920972 (fa/hana2sp02) on SUSE Linux Enterprise Server 12.1, with Kernel Version SUSE Linux Enterprise Server 12.1.

Hana Studio is Version: 2.3.31

The issue we are experiencing is that content, calculation views, migrated via delivery unit produce difference execution plans - I have compared the result of the EXPLAIN STATEMENT against a SELECT from the final view.

The base tables used are identical and I have validated the imported content and am unable to see any differences.

Has anyone experienced anything similar before and if so, what was causing the difference. If not experienced before, any suggestions on how to analyse and determine the difference??


Any help, suggestions or solutions much appreciated as I have exhausted everything I can think of....

Dave



View Entire Topic
lbreddemann
Active Contributor
0 Kudos

What you describe really sounds like that the different data sets are at the root of the issue here.

The Visualize View feature is not that useful at that point of analysis as it shows the static representation of the view data flow structure, but not the execution plan.

My gut feel would be to check whether the base tables in both systems show the same kind of storage (row or column) and whether the data is similarly compressed. I've seen quite a couple of performance issues vanish by simply making sure the tables are column store tables with active delta merge.

Beyond these general hints, it's not possible to say much about the issue without actually seeing the explain plan, PlanViz etc.

GiorgosVas
Newcomer
0 Kudos

Hi guys,

sorry for re-commenting on this old topic.

I was just wondering if there are any chances that this problem could occur without this difference in the underlying data.

I saw the same behavior in the same TEST environment on a dataflow that has been unchanged for more than a year.

Suddenly, execution plan looks a certain way, and performance is terrible. Runs out of memory after a few minutes of running.

The next day, execution plan suddenly looks different and performance ok, everything is working fine.

I tried to track down if there are any changes to the underlying SAP HANA tables used in this dataflow but everything looks the same between these runs.

Any ideas about other possible causes to this issue, except from data differences?