You are on page 1of 2

bsa0020:HDB:abcadm /usr/sap/ABC/HDB02/vadbabc/trace> tail -f

indexserver_alert_vadbabc.trc
pop.setEstimatedResultSize(1)
[24497]{361811}[407/2076931479] SERVER_TRACE TextAttribute(10163) :
HANADBXY:.c017:1fs:jdx_targetgroup_memberinfo (11879878): rc=9

Reason for Error : Merge was done but during execution the Mergedog has recognized
that the data in delta are still uncommitted and can�t be processed further.

Solution :

Above Error, will come due to long running transaction without commit from
application or database side and if in between delta merge process will start for
the same table then the Merge need exclusive lock on the same table but due to long
running transaction on same table HANA will not allow to take exclusive lock so
delta merge process will fail on the same table then will getting column store
error: [2486].

this type situation we should identify long running transaction, running without
commit and we should inform Application team .once long running transaction
committed then HANA , will start delta merge process again and once it successfully
completed HANA automatically fix above error .

SQL Statement for checking Delta Merge Status:

---To check for the delta merge issues use the below Query in Studio-SQL console
.SQL statement to get the top 100 largest delta storages in memory

SELECT TOP 100 * from M_CS_TABLES ORDER BY MEMORY_SIZE_IN_DELTA DESC

---Query to identify the tables where Delta Memory Size > Main Memory Size

select * from m_cs_tables where schema_name = 'HANADBXY' and


raw_record_count_in_main < raw_record_count_in_delta order by
raw_record_count_in_delta desc;

---SQL statement to check when the last delta merges happened for problematic
tables.

SELECT * FROM M_DELTA_MERGE_STATISTICS WHERE table_name = 'SFSG_CODELIST_XYZ_DATA'

select AUTO_MERGE_ON from TABLES where TABLE_NAME = 'ACCESS_LIST2_ENTRY_XYZ_S'

SELECT table_name, schema_name, MEMORY_SIZE_IN_DELTA, MEMORY_SIZE_IN_MAIN from


SYS.M_CS_TABLES where table_name = 'ZADSD_AS_SS_EMAIL'

SELECT * FROM SYS.M_CS_TABLES where table_name='' and schema_name='';

---SQL statement for Disable & Enable Auto-merge for the Table.

alter table _SAPD041150.ZADSD_AS_EMAIL DISABLE AUTOMERGE

---If no alert was raised, you can check for the tables with the most records in
the delta.

SELECT * FROM SYS.M_CS_TABLES where record_count>0 order by


raw_record_count_in_delta desc;

If WRITE_COUNT is low, check the threshold value of "Check currently utilized


percentage of main memory" in Configure Check Settings of the Alerts tab in SAP
HANA studio.

select * from m_cs_tables where schema_name = 'SAPABAP1' and


raw_record_count_in_main < raw_record_count_in_delta order by
raw_record_count_in_delta desc;
hdbuserstore set default NEBHECQSY02:30015 ECQ_DBCO 'Symm3try'

hdbuserstore -i set BACKUP NEBHECQSY02:30015 system<<EOF

SELECT * FROM M_DELTA_MERGE_STATISTICS WHERE table_name = 'TXMI_USAGE'


select AUTO_MERGE_ON from TABLES where TABLE_NAME = 'TXMI_USAGE'

MERGE DELTA OF "SAPABAP1"."TXMI_USAGE" WITH PARAMETERS ('FORCED_MERGE' = 'ON')

SELECT * FROM M_DELTA_MERGE_STATISTICS WHERE table_name =


'ESH:ECQ200~ECQ200~INCOMING_INVOICE_H~%D027BF82'

"ECQ_DBCO"."ESH:ECQ200~ECQ200~INCOMING_INVOICE_H~%D027BF82"

https://10.41.19.57:1129/lmsl/HLM/ECQ/ui/?sid=ECQ

http://10.41.19.57:8000/sap/hana/admin/cockpit.

You might also like