Help > Setting up XBOUND > Logging > Collecting statistical data

Collecting statistical data

XBOUND can collect statistical data in a separate database during the processing of documents. You can interpret these statistics using common analysis tools. Functionality in the XBOUND Server detects new and changed Closeddata sets and adds them to the statistics database. (ClosedMore information.)

For in-depth details needed by those wanting to create their own reports etc., see the separate help file XBOUND Statistics Database.

Note: Document names are not checked. For example, if a new document enters the XBOUND database and has the same name as a document that is already in the statistics database, the new document is copied into the statistics database anyway.

Important: Data is not deleted from the statistics database automatically. You must do this manually.

Collecting statistical data

Use this procedure to configure the collection of statistical data:

  1. Set up the statistics database using the procedure described in the XBOUND Installation Guide, in the section called "Creating the databases." Use the database script located in the Statistics subdirectory of the folder mentioned in the instructions.

    Recommended: Run the statistics database on an separate database server so that the performance of the XBOUND database is not adversely affected.

  2. Using the XBOUND Management Center, open a console containing the Data Manager.

  3. Under Statistics, click the link that says Click here for reading or changing the settings. The Connect to Statistics Database dialog is displayed.

  4. Specify the connection data for the statistics database, and click Check connection to test the connection.

  5. Select Activate statistics.

  6. Optional: Select Write history data. (ClosedMore information.)

    This option makes it possible to trace changes to documents or fields. It is possible to evaluate which fields were changed, and when (such as during Verification), or whether a document's document type was changed.

  7. Click Synchronize now and confirm with Yes. The statistical data and (if selected) history data from the production database start synchronizing to the statistics database. Wait until the action has finished.

    This can take several minutes or even hours, depending on the amount of production data and the database server's performance.

  8. Click OK.

  9. Check the status line in the Process Designer to see whether synchronization was successful. If there was an error, double-click the error message to see a more detailed description and resolve the problem.

Now any changes to the data sets listed above are automatically kept synchronized in the statistics database.

Tip: In the Number of statistics sync requests report in the Report Manager Dashboard you can see the number of statistics synchronization processes that are waiting to be written to the statistics database. At the bottom you can also see the average synchronization time in milliseconds, and the date and time of the oldest item in the queue.

Stop collecting statistical data

To stop collecting statistical data, deselect Activate statistics. If you activate the statistics again later, synchronize the statistical data again (see step 6 above).

Deleting old data from databases

Setting up logging

Setting up XBOUND: Overview

XBOUND databases