Database Validation
Database migration includes a number of checks on the quality of the resulting database.
ERROR: One or more constraints cannot be enabled (step number 99).At the end of the migration process, there is a final schema check of the upgraded database to ensure that the upgrade has been successful. Messages from this database check may appear in your console towards the end of the process, after the migration itself is completed.
This check is included for the three main system databases: the compliance database, the inventory database, and the data warehouse database.
- The earlier database had previously been changed (either by database administrators or by a Flexera consultant) in ways that are not supported by the product
- A previous migration updated the database in ways that were not entirely correct, but not previously detected
- Something has occurred in the present migration that did not raise an error in the migration, but leaves the database in a less than perfect condition.
- Missing tables, indexes, columns, or foreign keys
- Extra indexes, columns or foreign keys
- Incorrectly configured columns (the size differs, or their nullability)
- An index configured in unexpected ways, either in its uniqueness, its clustering status, or in the columns it covers.
For the above cases, assistance from a database administrator or Flexera support engineer is also required to correct the schema. In many cases, the issues described in the log can be remedied in place, without requiring that the database migration process is restarted.