Specify tuning parameters for audit file shift
- Last UpdatedOct 04, 2024
- 1 minute read
- PI System
- PI Server
Over time Audit Database files can grow large, which can cause performance problems when the files are re-opened after viewing or other maintenance operations. You can configure the maximum size of your audit files based on audit file size, number of audit records, or both. When an audit file reaches the maximum size setting, Data Archive automatically closes the audit file, appends the date and time to the name of the file, and opens a new file. This is called an audit file shift.
-
Use the following tuning parameters to control audit file shifts:
-
AuditMaxKBytes
-
AuditMaxRecords
-
-
Use PI SMT to set these parameters (see Edit Data Archive tuning parameters).
Note: Audit file shift parameters are not available before version 3.4.370. For these versions, you must periodically create new audit database files.