Summary
Configure the database flush and its frequency to set a schedule for flushing data from the memory to the disk and resolve issues related to corrupted database.
Details
To configure the database flushing:
- Go to ..\PCCSRV\ folder of the Security Server.
- Open the ofcscan.ini. with a text editor such as Notepad.
- Find "INI_DBFILE_SECTION".
- Under the "INI_DBFILE_SECTION" section, locate the following and assign the appropriate values:
DB_ENFORCE_DBFLUSH_PERIOD={y}Where y is a value from 300 to 86400 seconds. This is the frequency of the flush process and the default value is 7200.
By default, the database process runs the flush task every two hours after the latest flush.Notes: If DB_ENFORCE_DBFLUSH_PERIOD is between 1 and 300, set the time to 300.
If DB_ENFORCE_DBFLUSH_PERIOD is larger than 86400, set the time to 86400.
If you set DB_ENFORCE_DBFLUSH_PERIOD to "0", it will skip the enforced flush. - Save and close the file.
- Restart the Security Server Master Service using the Services console.