Symptom
- Some HANA DB tables with a low-moderate record count are observed having unusually high consumption on Disk, when compared with other tables showcasing a much larger record count, but lower size on disk and in memory.
- Further investigation shows that the table contains LOB files. For example using the 'HANA_Tables_LargestTables_<>.txt' script may show this under the 'LOBS' & 'LOB_GB' columns :
[OUTPUT PARAMETERS]
- LOBS: Type and number of LOB columns of the table ('M' for in memory LOBs, 'H' for hybrid LOBs, 'T' for text LOBs, 'V' for various column LOB types)
[EXAMPLE OUTPUT]
----------------------------------------------------------------------------------------------------------------------------------------------------------------
|SCHEMA_NAME|TABLE_NAME |S|L|HOST |T|U|POS|COLS|RECORDS |DISK_GB|MAX_MEM_GB|CUR_MEM_GB|MEM_PCT|CUM_PCT|PARTS|TAB_MEM_GB|IND.|IND_MEM_GB|LOBS|LOB_GB|
----------------------------------------------------------------------------------------------------------------------------------------------------------------
|SAPERP |KONV |C|P|saphana1| |X| 1| 68| 81064180097|2272.79| 2305.67| 2307.95| 12.49| 12.49| 136| 1429.99| 2| 877.96| | 0.00|
|SAPERP |CDPOS |C|P|saphana2| |X| 2| 16| 22567985786|1061.47| 1111.22| 1136.48| 6.15| 18.65| 40| 366.15| 1| 770.32| | 0.00|
|SAPERP |SOFFCONT1 |C|Y|saphana2|X|X| 3| 7| 33090538| 729.97| 3.90| 3.90| 0.02| 18.67| 1| 3.26| 1| 0.64| H1|726.09|
- Details on the LOB files of the table show the total number of LOBs and the average physical size per LOB file in KB with 'HANA_LOBs_DiskLOBs_2.00.040+.txt'
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|HOST |PORT |SERVICE_NAME|SCHEMA_NAME|TABLE_NAME|COLUMN_NAME|LOB_TYPE|STORE |NUM_LOBS |PHYS_SIZE_MB|BIN_SIZE_MB| FRAG_SIZE_MB|FRAG_PCT|AVG_PHYS_KB|AVG_BIN_KB |MEM_SIZE_MB|READS|
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|Hostname|31003|indexserver |SAPABAP1 |TSPADS |DATA |FILE |COLUMN| 21661| 612569.39| 576589.93| 35979.46| 5.87| 28958.54| 27257.65| 6149.40| 747|
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Read more...
Environment
SAP HANA Platform Edition 2.0
Product
SAP HANA, platform edition 2.0
Keywords
Hana , LOB, size, Large Object, Housekeeping, Data Management, LargestTables, DiskLOB, NUM_LOBS, AVG_PHYS_KB , KBA , HAN-DB-PER , SAP HANA Database Persistence , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.
SAP Knowledge Base Article - Preview