Entering content frame

Procedure documentation Solving Problems with Corruption Locate the document in its SAP Library structure

Use

This section tells you about the problem when Informix data or index pages are corrupted, that is, they are destroyed and can no longer be processed. This section covers how to:

Caution

Give checking for corruption very high priority because the consequences of corruption going undetected for some time are serious. For more information, see SAP note 29155 and How to Run Data Consistency Checks with SAPDBA.

We strongly recommend you to check the entire database for corruption at least once per turnaround cycle of backup media (for example, tapes). Otherwise there is no way to restore the data in the event of corruption.

Procedure

Checking for Corruption

How you check for corruption depends on how much downtime you can afford on the production system and whether you have a test system available on a different machine:

Note

To check the entire database can take several hours, depending on the size of the database. During this time the system cannot be used productively because otherwise the results of the check are unreliable.

Caution

If you do not check for corruption regularly, you might run into serious problems with the backup. If you back up a corrupted database, the backup will also be corrupted. A corrupted backup can sometimes not be used for a restore. Or, if a corrupted backup is usable, it still contains the corruption, that is, destroyed data.

Therefore, the last method described above is the best.

Dealing with Corruption

  1. Check your hardware. Corruption is very often caused by defective controllers, disks, and so on.
  2. If necessary, repair or replace your hardware.
  3. Decide how to recover the database to a consistent state, depending on the nature of the corruption:

Note

Contact the Informix hotline in the following cases:

Result

You identify corruption as soon as possible after it has occurred. This means that you can react quickly and effectively, so keeping data loss and the associated costs to a minimum.

Leaving content frame