Protect existing archive values
- Last UpdatedOct 04, 2024
- 1 minute read
- PI System
- PI Server 2018
- PI Server
A properly selected merge type can protect existing events when you add new events to an existing archive. The merge type determines how the merge process handles multiple events with the same timestamp when merging new events into an existing archive. The Archive Editor tool offers six possible values of Merge Type:
-
Replace Duplicates
Replaces an existing event with the same timestamp (if present) and sets its Substituted attribute to True. Otherwise, adds a new event.
-
Insert Duplicates
Adds a new event, but does not affect existing events with the same timestamp (if present).
-
Error for Duplicates
Displays an error message if there is an existing event with the same timestamp, but does not replace that event or add a new event.
-
Replace only Duplicates
Overwrites one of the existing events with the same timestamp (if present) and sets its Substituted attribute to True. Otherwise, displays an error message.
-
Reject Duplicates Without Checking for Errors
Adds the new event only if there is no existing event with the same timestamp. Otherwise, PI Archive Subsystem writes an error to the PI message log on the Data Archive server, or an error message may be displayed.
-
Replace Only Duplicates Without Checking for Errors
Overwrites one of the existing events with the same timestamp (if present) and sets its Substituted attribute to True. Otherwise, PI Archive Subsystem writes an error to the PI message log on the Data Archive server, or an error message may be displayed.