Use > JMX Reference > Modeling Methods > How to Rebuild the Database in case of an Error

How to Rebuild the Database in Case of an Error

If an error occurs while working with views in the Modeling managers, when adding CIs to the CMDB, or when updating existing CIs, and the error log indicates that objects are missing in the database, do the following:

  1. Perform a DB backup.
  2. Access the JMX console and run the following methods under service=DAL services:

    • rebuildModelViews
    • rebuildModelDBSchemaAndViews

Caution Invoking the above JMX method could drop the following: attributes, tables, indexes. Random usage is prohibited.