Quantcast
Viewing all articles
Browse latest Browse all 1545

Steps to empty SAPDB (MaxDB) log file

Hello All,

i am on Redhat Unix Os with NW 7.1 CE and SAPDB as Back end. I am trying to login but my log file is full. Ii want to empty log file but i havn't done any data backup yet. Can anybody guide me how toproceed to handle this problem.

I do have some idea what to do like the steps below

1.  take databackup (but i want to skip this step if possible) since this is a QA system and we are not a production company.

2. Take log backup using same methos as data backup but with Log type (am i right or there is somethign else)

3. It will automatically overwrite log after log backups.

 

or should i use this as an alternative, i found this in note Note 869267 - FAQ: SAP MaxDB LOG area

Can the log area be overwritten cyclically without having to make a log backup?

 

Yes, the log area can be automatically overwritten without log backups. Use the DBM command

util_execute SET LOG AUTO OVERWRITE ON

to set this status. The behavior of the database corresponds to the DEMO log mode in older versions. With version 7.4.03 and above, this behavior can be set online.

Log backups are not possible after switching on automatic overwrite. Backup history is broken down and flagged by the abbreviation HISTLOST in the backup history (dbm.knl file). The backup history is restarted when you switch off automatic overwrite without log backups using the command

util_execute SET LOG AUTO OVERWRITE OFF

and by creating a complete data backup in the ADMIN or ONLINE status.

Automatic overwrite of the log area without log backups is NOT suitable for production operation. Since no backup history exists for the following changes in the database, you cannot track transactions in the case of recovery.

 

any reply will be highly appreciated.

 

Thanks

Mani


Viewing all articles
Browse latest Browse all 1545

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>