Checking Physical Consistency in the DBA Planning Calendar (Informix) 

Use

You can use the DBA Planning Calendar in the Computing Center Management System (CCMS) to schedule checks on the physical consistency of your Informix database. SAPDBA is called to perform the checks, which do not change database data and do not require storage space.

For more information about consistency checks, see Data Consistency with SAPDBA.

Prerequisites

For more information about scheduling an action (for example, check physical consistency) in the DBA Planning Calendar, see Scheduling Actions in the DBA Planning Calendar.

Procedure

  1. Choose Tools ® CCMS ® DB Administration ® DBA Planning Calendar.
  2. Choose the day when you want the physical consistency to be checked.
  3. Choose Create action.
  4. Select Physical Consistency Check.
  5. Enter data as required in the fields Start Time, Period (weeks), and Calendar. For more information, see Scheduling Actions in the DBA Planning Calendar.
  6. Choose Continue.
  7. Select the type of check you want and enter data as required:

Type of check

Description

Unload to '/dev/null' checks

More thorough check method

    • for table

Checks a single named table

    • for dbspace

Checks a single named dbspace

    • for tables with 'BLOB' fields

Checks all tables with "blob" fields

    • for all tables of database

Checks all tables of the database, so can take a long time

ONCHECK

Less thorough check method – schedule when database not in productive use because of table locks

    • ONCHECK -cI

Checks the indexes of tables with "blob" fields

    • ONCHECK -CD

Checks the data of tables with "blob" fields

For more information, see Type and Frequency of Data Consistency Checks with SAPDBA (the same principles apply to checks performed in the DBA Planning Calendar).

"Blob" data is most likely to have consistency problems. Therefore, it is sensible to schedule checks on blob data more often than on other types of data.

  1. Choose Continue to start the check.

Result

The check is now scheduled. It will be executed at the scheduled date and time. For more information about looking at the results, see Checking the Results of Actions in the DBA Planning Calendar and Using the DB Operations Monitor.

If there are problems with the consistency check, you can look at the log written by SAPDBA. Refer to Log for Data Consistency with SAPDBA.