SAP IQ: Truncate the Transaction Log
Introduction
The transaction log file of a SAP IQ database can grow to undesirable size. It is recommended to truncate it frequently.
Here is a simple method to truncate the transaction log file when no backup is need. No downtime is necessary. Please note that there are other methods to backup and control grow of the transaction log file.
Limitation
This procedure has been tested on SAP IQ 15 and IQ 16 on Solaris10.
Procedures
- Log into the Solaris server as user with access to SAP IQ tools
- Verify that you are using the right dbbackup utility.
which dbbackup
/IQ/Server/IQ-16SP8/IQ-16_0/bin64/dbbackup
- Execute dbbackup with the –xo option (truncate transaction log)
dbbackup -c ‘eng=SAPIQSrvr;dbn=SAPIQDb;uid=myUser;pwd=myPassword’ -xo
SQL Anywhere Backup Utility Version 16.0.0.807
Transaction log truncation completed
Done!
This post was first published on my personal blog at SAP IQ: Truncate the Transaction Log | ARBIME
Hi
It's a very good way to truncate it.
Thanks
Gi-Sung Jang