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

High memory usage after upgrading from SP85 to SP112

$
0
0

We are testing Hana SP112 in our dev service and we noticed high memory usage and frequent OOM issues post SP112 upgrade. We see a new component ( Pool/PersistenceManager/UnifiedTableContainer ) which is taking up most of the memory and always the top memory consumer. We did notice that delta area allocations in SP 112 are very high when compared to our current SP 85 version. as you can see below for 32K empty tables SP112 allocated 12G for delta (we have verified this in SP85 and it only used about 3G for 32K empty tables in memory) We need your help to understand this behaviour change and the UnifiedTableContainer components usage. hdbsql A01=> select 'norows in delta loaded',count(*) , round(sum(memory_size_in_main)/(1024*1024)), round(sum(memory_size_in_delta)/(1024*1024)) from m_cs_tables where raw_record_count_in_delta = 0 and loaded <>'NO' union select 'norows in delta not loaded',count(*) , round(sum(memory_size_in_main)/(1024*1024)), round(sum(memory_size_in_delta)/(1024*1024)) from m_cs_tables where raw_record_count_in_delta = 0 and loaded ='NO' union select 'rows in delta', count(*) ,round(sum(memory_size_in_main)/(1024*1024)), round(sum(memory_size_in_delta)/(1024*1024)) from m_cs_tables where raw_record_count_in_delta > 0 > > > > >> ; | 'norows in delta l | COUNT(*) | ROUND(SUM(MEMORY_S | ROUND(SUM(MEMORY_S | | -------------------------- | -------------------- | ---------------------------------------------- | ----------------------------------------------- | | norows in delta loaded | 32945 | 2208 | 12543 | | norows in delta not loaded | 163091 | 0 | 0 | | rows in delta | 223 | 631 | 214 | 3 rows selected (overall time 3114.839 msec; server time 3113.962 msec) hdbsql A01=> SELECT top 10 heap_memory.host, CATEGORY, round(EXCLUSIVE_SIZE_IN_USE / 1024 / 1024, 2) AS SIZE_IN_MB FROM "SYS"."M_HEAP_MEMORY" heap_memory, M_VOLUMES volumes where heap_memory.volume_id=volumes.volume_id and volumes.service_name='indexserver' order by heap_memory.host, EXCLUSIVE_SIZE_IN_USE desc;> > >| HOST | CATEGORY | SIZE_IN_MB | | ------- | ------------------------------------------------------- | ------------------------------------- | | hana123 | Pool/PersistenceManager/UnifiedTableContainer | 21606.13 | | hana123 | Pool/Statistics | 8974.33 | | hana123 | Pool/ColumnStoreTables/Delta/LeafNodes | 6550.06 | | hana123 | Pool/ColumnStoreTables/Delta | 6045.41 | | hana123 | Pool/PersistenceManager/PersistentSpace/DefaultLPA/Page | 4191.58 | | hana123 | Pool/AttributeEngine | 3324.57 | | hana123 | Pool/malloc/libhdbcs.so | 2851.15 | | hana123 | Pool/ColumnStoreTables/Delta/BtreeDictionary | 2202.07 | | hana123 | Pool/ColumnStoreTables/Main/Uncompressed | 2069.42 | | hana123 | Pool/PersistenceManager/ContainerDirectory | 845.5 |


Viewing all articles
Browse latest Browse all 4343

Trending Articles



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