Symptom
- You notice log segment accumulated on replication tier site while replication status is active.
- You can use the following command at os level to check the log states:
- for i in $(find -L /hana/log/${DIR_INSTANCE:9:3} -name 'hdb*' -type d) ; do echo $i ; hdblogdiag seglist $i | grep -oP 'Formatting|Preallocated|Writing|Closed|Truncated|BackedUp|RetainedFree|\bFree\b' | sort | uniq -c ; done
- After checking the log segment's status, you find they are all in RetainedFree status.
Read more...
Environment
- SAP HANA, platform edition 2.0
- Multi-tier system replication
Product
SAP HANA, platform edition 2.0
Keywords
system replication; RetainedFree; retention; enable_log_retention; force; force_on_takeover; multitier; primary; secondary; tier , KBA , HAN-DB-HA , SAP HANA High Availability (System Replication, DR, etc.) , 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