Developing Good Practice for Logical-Log Backup
Use
This section discusses guidelines for creating logical-log backups on your Informix database with
ON-Bar , ON-Archive or ontape .
It is very important to back up the logical log on time. Otherwise, if it completely fills, the database stops processing. You then have to perform
Different backup approaches offer differing levels of protection against a full logical log. For a summary of measures you can take to avoid this problem, see
Preventing Emergency Logical-Log Backup.Procedure
SAP strongly recommends you to run your production database with logical-log backup turned on. Make sure that the
In general, continuous is the best kind of logical-log backup, because:
However, the choice of backup mode depends on the data recovery tool you use:
Refer to
Choosing Continuous or Manual Logical-Log Backup (ON-Bar).Refer to
Choosing Automatic Logical-Log Backup (ON-Archive) and Choosing Continuous Logical-Log Backup (ON-Archive).Refer to
Choosing Automatic or Continuous Logical-Log Backup (ontape).To avoid competition with archives (
For more information on tape devices, see:
With a slow storage device, the logical-log files might fill up more quickly than they can be backed up. This is more likely to happen with a remote device. The best solution is to use a fast local device (for example, a fast local tape drive).
Certain activities cause the logical log to fill up rapidly, for example, data conversion. Monitor the logical log closely at such times and do the following:
Result
The logical logs are backed up using best practice. Therefore, you can be more sure that, in the event of failure involving data loss, you have a suitable logical-log backup that you can use to quickly restore the database with minimal data loss.
See also:
Informix documentation