Default language.

Improving system performance by using the Data Cleanup utility


You can achieve better performance and maintain database sanity by regularly deleting the stale data that exists in the forms and record definitions. Use the Data Cleanup utility to scan and delete the stale data from forms and record definitions that are not used by the .

By default, the Data Cleanup utility runs on a set of pre-defined forms and records definitions with non-functional data which tend to grow quickly.

Use the AR System: Stale Data Cleanup form through  to update the out-of-the-box forms and record definitions and define the age of data in your environment.

An administrator schedules the Data Cleanup utility run by using the Stale-Data-Cleanup-Cron-Job-Schedule setting in the Centralized Configuration.


Watch the following video (2:15) to understand the overview of the Data Cleanup utility.

icon_play.pnghttp://youtube.com/watch?v=irGf3oAkgKo


To update out-of-the-box settings for the Data Cleanup utility

An administrator uses the AR System: Stale Data Cleanup form to update the list of  out-of-the-box forms and record definitions:

  1. To update out-of-the-box forms, open the AR System: Stale Data Cleanup form through .
    ARSystemStaleDataCleanupForm.png
    1. In Form Name, update the forms and record definitions.
      The Form Name shows the default list of forms and record definitions where the Data Cleanup utility runs. 
    2. In Keep Days, update the age of data kept in forms and record definitions.
    3. In Timeout in Minutes, specify how long the Data Cleanup utility runs on a form.
      Default 120 minutes.
      • You can configure different timeouts for different forms and record definitions.
      • The timeout mentioned for the forms or record definitions must be lesser than the timeout you specify for the Data Cleanup utility.
        For example, if the Data Cleanup utility timeout is 120 minutes, the form or record definition timeout must be less than 120 minutes.
    4. In Enable Form, select an option to enable the Data Cleanup utility run on selected forms and record definitions.
      Valid values:
      • Yes — Run the Data Cleanup utility for the forms selected in the Form Name field.
      • No — Do not run the Data Cleanup utility for the forms selected in the Form Name field.

  2. In the Centralized Configuration, update the default value of the Stale-Data-Cleanup-Cron-Job-Schedule setting.

    Best practice
    We recommend to schedule the Data Cleanup utility during non-business hours.

The Data Cleanup utility run is scheduled.


Considerations for running the Data Cleanup utility on the historic_process_context form

Consider the following points when you run the Data Cleanup utility on the historic_process_context form:

  • You can delete the out-of-the-box record definitions only if the historic process context is enabled. For more information, see Disabling history of process instances in  documentation.
  • If child forms are disabled, the Data Cleanup utility does not delete records from the parent form.
  • If timeout occurs for the child form, the Data Cleanup utility does not delete records from the parent form.
  • All entries in the historic_process_context form are deleted if the following conditions are true:
    • The historic process context is disabled 
    • The form create date is lesser than the value in the Keep days field of the Stale Data Cleanup form.


List of out-of-the-box forms and record definitions

By default, the Data Cleanup utility runs on the following forms and record definitions:

Form name

Age of data for cleanup

SYS:Action

30

SYS:Application Status Enabler

30

ASI:SYSAction

30

CAI:Events

30

CAI:EventParams

30

NTE:Notifier

30

CMDB:JobRunInfo

7

AR System Email Error Logs

30

Server Statistics: Longest SQLs

30

KPI:DataCollection

365

ACT_HI_ACTINST

30

ACT_HI_ATTACHMENT

30

ACT_HI_COMMENT

30

ACT_HI_DETAIL

30

ACT_HI_IDENTITYLINK

30

ACT_HI_TASKINST

30

ACT_GE_BYTEARRAY

30

ACT_HI_VARINST

30

ACT_HI_PROCINST

30

historic_process_context

30

historic_process_context_archi

30


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*