Quantcast
Channel: SCN: Message List - SAP SQL Anywhere
Viewing all articles
Browse latest Browse all 2182

Re: Deleting a log file when using mirror server.

$
0
0

Hi Aron,

 

Deleting the log file between server starts is not recommended in a mirrored or non-mirrored setup. The log file is used for recovery in the event of database failure. Having said that, there are log file maintenance procedures available to help take care of log file growth. Transaction log maintenance can be done either through truncation or renaming. Renaming may be the preferred method, and is required for incremental backups.

 

Having said that, transaction log maintenance does become a bit more limited with database mirroring. Truncation is no longer an option, but renaming the transaction log is. After a period of time (e.g. scheduled database event), old renamed logs can be deleted from the file system (although care should be taken to ensure the logs are no longer required).

 

See the link below for more information:

DocCommentXchange

 

 

Hope this helps,

Tyson


Viewing all articles
Browse latest Browse all 2182

Trending Articles



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