Skip to main content
Solved

The /hana/log directory is filling up

  • August 30, 2022
  • 4 replies
  • 5456 views

Forum|alt.badge.img+1

Hello Team!

 

I have a server with SAP Hana configured and although the archive log jobs are running it is not clearing the log area.

 

The /hana/log directory has reached 99% utilization and to work around the situation I ran the "alter system reclaim log".

 

I would like to know if there is any configuration for the log area to be cleared after the Archive Log job is completed and prevent it from reaching the limit.

 

Thanks!

 

Best answer by Damian Andre

Hi @Caue,

I checked with one of our SAP experts - we do not clean up archive/backup logs for SAP HANA. Apparently we do not have any controls for this, and it has to be managed on the SAP Hana side.

Here are some resources that can help you out:

https://help.sap.com/docs/SAP_HANA_PLATFORM/6b94445c94ae495c83a19646e7c3fd56/cac903c28b0e4301b39814ef41dbf568.html?version=2.0.02&locale=en-US&q=delete%20archive%20logs

https://userapps.support.sap.com/sap/support/knowledge/en/2096851

https://www.reddit.com/r/SAP/comments/fea9oo/how_to_clean_log_backup_in_sap_hana/

 

 

View original
Did this answer your question?

4 replies

Damian Andre
Vaulter
Forum|alt.badge.img+23
  • Vaulter
  • 1301 replies
  • Answer
  • August 31, 2022

Hi @Caue,

I checked with one of our SAP experts - we do not clean up archive/backup logs for SAP HANA. Apparently we do not have any controls for this, and it has to be managed on the SAP Hana side.

Here are some resources that can help you out:

https://help.sap.com/docs/SAP_HANA_PLATFORM/6b94445c94ae495c83a19646e7c3fd56/cac903c28b0e4301b39814ef41dbf568.html?version=2.0.02&locale=en-US&q=delete%20archive%20logs

https://userapps.support.sap.com/sap/support/knowledge/en/2096851

https://www.reddit.com/r/SAP/comments/fea9oo/how_to_clean_log_backup_in_sap_hana/

 

 


Sunil
Vaulter
Forum|alt.badge.img+13
  • Vaulter
  • 300 replies
  • August 31, 2022

Hi @Caue 

To add to Damian, please see if the log_mode of your HANA instance is set to legacy. It’s rare to use it, but this causes the logs to be kept since the last full backup.

 

Thanks,

Sunil-

 


Forum|alt.badge.img+1
  • Author
  • Byte
  • 1 reply
  • August 31, 2022

I’ll talk to my DBA and suggest these options.

 

Thank you so much guys! 👍🏼


Forum|alt.badge.img
  • Bit
  • 1 reply
  • May 3, 2023

Hello @Caue 

could you please share what was the cause of your issue and how you resolved it?

Thanks

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings