You have the following options for checking the database structures of your database instance:
· Checking the database structures for all tables and indexes (CHECK DATA)
· Checking the database structures for selected tables (CHECK TABLE)
Checking a database structure takes a long time. You should therefore only schedule the check at times when there is a low database load (on a weekend, for example).
Check the database structure as infrequently as possible, however, at least once during a backup history. Also make sure that you remove a backup from the backup history only if a database structure check was performed after the backup was made.
You can perform this database structure check in the operational state ADMIN or ONLINE. The B* trees of the tables and indexes are checked. In the case of the database instance type liveCache, the corresponding liveCache structures are also checked.
If a data page flagged as BAD is found more than once when the database instance is ONLINE, then the corresponding B* tree or liveCache structure is also flagged as BAD. You can clean up this situation by checking the database structure.
If you check the database structure in the operational state ADMIN, any pages that are no longer referenced are taken out of the Converter.
Database Manager GUI, section Checking Database Structures
Database
Administration in CCMS: MySQL MaxDB, Scheduling a Database
Structure Check
Database Administration in CCMS: SAP
liveCache,
section Checking Database
Structures
You can make this database structure check in the operational state ONLINE only. You can check individual tables.
If a data page flagged as BAD is found when the database instance is ONLINE (and hence a B* tree flagged as BAD), then you can clean up this situation by checking the database structure.
·
Checking a table (OLTP and liveCache instances)
Database Administration in CCMS, section Tables/Views
·
Checking all tables (OLTP instances only)
Database Administration in CCMS: MySQL MaxDB, section Scheduling a Database
Structure Check