Product Documentation
Abstract
Content consistency checks that are performed with a date range selected can be optimized for better query performance by adding indexes to the DocVersion and Annotation database tables.
Content
- In the case where a content consistency check is performed by using either a "Validate by Date Created" or "Validate by Date Modified" validation range, improvements in query performance might be achieved. Improvements are possible by appending an "Order by..." statement to the Consistency Checker SQL statement, and by adding database indexes to the DocVersion and Annotation tables. The amount of improvement can vary, depending on the data.
- Run the Content Consistency Checker tool.
- Open the Options window (File > Options).
From the Report file location field, get the location of the ./plugins run-time directory, for example:
C:/Users/Administrator/Desktop/workspace/.metadata/.plugins/com.ibm.filenet.ecm.consistencychecker - Use Windows Explorer to navigate to the org.eclipse.core.runtime/.settings subdirectory of the .plugins directory, for example:
C:/Users/Administrator/Desktop/workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings - Save a copy of the com.ibm.filenet.ecm.consistencychecker.prefs file that is contained in the .settings directory.
- Modify the com.ibm.filenet.ecm.consistencychecker.prefs file.
Add an AppendOrderBy=1 name and value property pair and save the file. - Exit the Content Consistency Checker tool.
- Add indexes to the DocVersion and Annotation tables.
- For ".... Order by DateCreated":
create index I_Comp1 on schema.DocVersion ( storage_area_id, create_date, object_id)
create index I_Comp1 on schema.Annotation ( storage_area_id, create_date, object_id) - For ".... Order by DateLastModified":
create index I_Comp1 on schema.DocVersion ( storage_area_id, modify_date, object_id)
create index I_Comp1 on schema.Annotation ( storage_area_id, modify_date, object_id)
The AppendOrderBy preference was added in Content Platform Engine 5.2.1.2 for the purpose of appending the required "Order by DateCreated" or "Order by DateLastModified" (depending on the type of validation range selected) to the Consistency Checker SQL statement. Do not set this preference unless the required database indexes are also added to the DocVersion and Annotation tables.
Follow the steps below to set or clear the AppendOrderBy preference:
[{"Product":{"code":"SSNVNV","label":"FileNet Content Manager"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Content Platform Engine","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"5.2.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSGLW6","label":"IBM Content Foundation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Content Platform Engine","Platform":[{"code":"","label":""}],"Version":"","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]
Was this topic helpful?
Document Information
Modified date:
17 June 2018
UID
swg27045946