Quantcast
Channel: SCN: Message List - SAP HANA and In-Memory Computing
Viewing all articles
Browse latest Browse all 8968

Out of memory Error while querying SQL Script based Calculation View

$
0
0

Hi All,

 

I wanted to test the performance of Graphical and SQL Script based Calculation views.

 

Created Graphical (CA_GRPH) and SQL Script (CA_SQL) Calculation views.

 

Analytic View (AN_GRPH) for both Calculation views are the same which is Graphical based (90 Attributes and 5 Measures)

 

In Analytic View data foundation I have a Fact table which has 1.5 Billion records and 9 Dimension Tables –collectively 500 million records (7 Attribute Views). 9 Referential joins with cardinality N:1 and 1 Referential join with cardinality N:N.

 

 

I wanted to keep (CA_GRPH) and (CA_SQL) as a base Calculation views and leverage those to create various calculation views (Will be creating different Calc views for respective Business segments)

 

In order to test this I have created below calc views on top of base calc views.

 

Graphical Based: Created (CA_GRAPH_XYZ) by having CA_GRPHin projection with 30 Calculated Columns. – This retrieves data in 13 secs

 

SQL Script Based:Created (CA_GRPH_ABC) by having CA_SQL in projection view with 30 calculated columns – This errors out after 1.50 mins.

 

Could not execute 'SELECT "COLUMN_A","COLUMN _B"," COLUMN _C"," COLUMN _D", SUM("COLUMN _REVENUE") AS ...' in 1:50.480 minutes .

SAP DBTech JDBC: [2048]: column store error:  [2048] column store error: search table error: [1000002] Error executing physical plan: exception 1000002:

ltt/impl/memory.cpp:63

Out of memory ; $size$=1507711; $name$=ihm; $type$=pool; $inuse_count$=170104; $allocated_size$=219215007925

exception 1000002:


 

Any suggestion / help in fixing this issue will be greatly appreciated.

 

 

Regards,

Av


Viewing all articles
Browse latest Browse all 8968

Trending Articles



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