How do I resolve LQMReportingUpdate error: "Could not update LQM reporting model"?



How do I resolve LQMReportingUpdate error: "Could not update LQM reporting model"?


To make reporting on test definitions and their attributes more efficient, the LQM Reporting tables store redundant data in flat tables. The tables are continuously updated by a background thread in a defined time interval. The default setting is 5 seconds, so every change in data is written to the LQM Reporting tables within 5 seconds. See the SilkCentral Administration Module Online Help (../silkroot/doc/en/SCAdminModule/SilkCentral/HTML/index.htm) for information on changing the update interval.

The LQM_DataLoads table is used by the updating thread to keep track of the data loads and the intervals to be processed. This table is not used for reporting purposes. For reporting purposes, the database view LQM_V_Tests combines information from the tables LQM_Tests and LQM_TestUDAs. This process is stored in the LQM_DataLoads table. When there is a violation or inconsistencies in this combination, the following error is produced in the Application Server log.

E;OV;2008-11-19;16:19:32;TM;LQMReportingUpdate;Could not update LQM reporting model: java.sql.SQLException: ORA-00001: unique constraint (BSC.I_LQM_TESTUDA_ID) violated

at oracle.jdbc.driver.DatabaseError.throwSqlException(
at oracle.jdbc.driver.T4CTTIoer.processError(
at oracle.jdbc.driver.T4CTTIoer.processError(
at oracle.jdbc.driver.T4C8Oall.receive(
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(
at oracle.jdbc.driver.T4CPreparedStatement.executeForRows(
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(
at org.apache.commons.dbcp.DelegatingPreparedStatement.executeUpdate(
at com.segue.scc.util.jdbc.OraclePreparedStatement.executeUpdate(

To resolve the issue, please execute the following SQL query on your SilkCentral Test Manager database.


This will force the system to repopulate the LQM tables and clean up any inconsistencies.

Note: Please perform a database backup before performing the above SQL operation. It is also best to stop the Application Server before executing the query - this avoids having to do this more than once. When everything is repopulated there should be no further exceptions in the log.

Old KB# 25157
Comment List
Related Discussions