Installation and Initial Configuration 1-9
Upgrade an Earlier Version of OnLine

Run tbcheck

Verifythe integrity of the upgraded 5.x databases before you continue. Todo
this, execute the following commands from the system prompt:
If you encounter any inconsistencies, refer topage 4-6.
Create a New Level-0 Archive
After OnLine 5.x is initialized, create a level-0 archive of the OnLine 5.x
system. When the archive is completed, take OnLine to online mode.
Databases are automatically upgraded to OnLine 5.x format when they are
openedfor the first time. Part of the upgrading procedure for databases is the
creation of Version 5.x system catalog tables for each database. For further
informationabout the 5.x SQL system catalog, refer to the IBM Informix Guide
toSQL: Reference.
tbcheck -ci dbname Checks and verifies the integrity of the database
indexes.
tbcheck -cD dbname Checksand verifies the integrity of database data.
tbcheck -cc dbname Checks and verifies the integrity of the OnLine
5.x system catalog tables.
tbcheck -cr Checks and verifies the integrity of the OnLine
5.x reserved pages.