On my HANA database, I executed delta merge on a few tables that I had executed a number of INSERT statements
I see that the merge command is completed successfully
On the other hand, when I query M_CS_TABLES table, I see that the MEMORY_SIZE_IN_DELTA is bigger than zero and a high percentage when compared with MEMORY_SIZE_IN_MAIN. I was expecting to see 0 or a less percentage in fact.
Could you please help me to understand this delta merge and memory size in delta issue?
I created sample column tables in my schema on a HANA database and populated with data using INSERT commands. Then I executed following command
MERGE DELTA OF "SALESORDERHEADER";
To query merge statistics for column tables,
select * from M_CS_TABLES where schema_name = Current_schema;
Although the table sizes are quite small, I expected the delta or row-store section of the tables to be near zero
Additionally, RAW_RECORD_COUNT_IN_DELTA for all tables are 0 as I understand this means there are no records waiting in delta to be merged.
For column based statistics, I executed
select * from M_CS_ALL_COLUMNS
where schema_name = Current_schema and table_name = 'SALESORDERHEADER';
Output is as