Automatic database cleanup

The latest version of the ABBYY FlexiCapture Reporting Service supports automatic database cleanup. To purge outdated records, the database is partitioned and then certain partitions are truncated. The value of one partition is set to one month. The service will periodically check if there are any partitions (i.e. months) to truncate and initiate the cleanup process where appropriate. The database cleanup feature is enabled by default. All database cleanup events will be logged.

Data retention times and other cleanup parameters can be specified in the "AppSettings" section of the appsettings.json file (the default location of this file is C:\inetpub\wwwroot\FlexiCapture12Reporting\). You can specify the following parameters:

  • CheckPartitionsPeriodSec - How often the service should check for outdated partitions (in seconds). The default value is 6 hours. If this parameter is set to 0, no cleanup will be done.
  • ReservedPartitionsCountMonths - The number of partitions to reserve. The default value is 6. When the database is first created, partitions will be reserved for the current month and for the 6 months following the current month.
  • DataStorageIntervalMonth - How long the data should be retained (in months, including the current month). The default value is 2. No data will be deleted from the active partition currently accepting data.

25.05.2023 7:55:03

Please leave your feedback about this article

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.