<< Click to Display Table of Contents >> Manual > Server Creation Guide > Action Edition > Action Reference > Summary Actions (Logging/Counting/Daily Reports) > Data maintenance (automatic deletion) |
About the automatic deletion process
The settings for log data maintenance (automatic deletion) are set in the DaysOfHoldingData property in the common properties section ([COMMON]) of the Summary Master File. When the period specified in DaysOfHoldingData is exceeded, the historical data is automatically deleted.
Log data is deleted at the following times:
When the date is changed
When the system is continuously online, such as during production operation, log data maintenance is performed at the time the date changes.
● When you put FA-Server online
When you switch from offline to online, we will determine whether maintenance is required and perform log maintenance if necessary. Even if you switch between online and offline several times in a day, maintenance will only be performed once a day.
CSV maintenance process
When logging to a CSV file, the maintenance process deletes the files with the target date. Since it only deletes the files, the process is fast. In addition, the decision as to whether to delete the files is made by identifying the files to be deleted from their file names according to the following date format.
"%Y%m%d%H%M%S" "%Y%m%d%H%M" "%Y%m%d%H" "%Y%m%d" "%Y%m" "%Y"
DB (ODBC) maintenance process
When maintenance is performed, records that are subject to deletion are deleted by issuing a SQL command.
Please make sure that the folders that store the log files that are automatically generated under the summary folder do not contain any files other than the log files. If other files are mixed in the folder in which the log files to be maintained are stored, the files may be deleted if they meet the automatic deletion conditions. |