Is it possible to clear the contents of the ION_SystemLog database?
Issue:
A customer would like to clear the contents of the ION_SystemLog database because it contains a large number of unwanted events.
Product Line:
Power Monitoring Expert 8.x
Power Monitoring Expert 9.x
Power Monitoring Expert 2020
Power Monitoring Expert 2021
Power Monitoring Expert 2022
Power Monitoring Expert 2023
Environment:
ION_SystemLog database
Cause:
A large number of service or system events can cause the SystemLog database to grow in size.
Resolution:
The cause of a large number of system or service events should be identified and corrected prior to performing this procedure.
** Warning: Changes made to the PME databases can leave the system inoperable and require restoration from recent backups or reinstallation. The following procedure assumes recent database backups are available and the user is familiar with SQL Management Studio and PME. **
The Query below can be used in a system to purge the contents of ION_SystemLog starting with a blank database.
USE [ION_SystemLog]
TRUNCATE TABLE Diagnostic
TRUNCATE TABLE EventID
TRUNCATE TABLE EventException
-- Delete all records
DELETE FROM Event
-- Set current ID to "1"
-- If the table already contains data, use "0"
DBCC CHECKIDENT (Event, RESEED, 0)
A customer would like to clear the contents of the ION_SystemLog database because it contains a large number of unwanted events.
Product Line:
Power Monitoring Expert 8.x
Power Monitoring Expert 9.x
Power Monitoring Expert 2020
Power Monitoring Expert 2021
Power Monitoring Expert 2022
Power Monitoring Expert 2023
Environment:
ION_SystemLog database
Cause:
A large number of service or system events can cause the SystemLog database to grow in size.
Resolution:
The cause of a large number of system or service events should be identified and corrected prior to performing this procedure.
** Warning: Changes made to the PME databases can leave the system inoperable and require restoration from recent backups or reinstallation. The following procedure assumes recent database backups are available and the user is familiar with SQL Management Studio and PME. **
The Query below can be used in a system to purge the contents of ION_SystemLog starting with a blank database.
USE [ION_SystemLog]
TRUNCATE TABLE Diagnostic
TRUNCATE TABLE EventID
TRUNCATE TABLE EventException
-- Delete all records
DELETE FROM Event
-- Set current ID to "1"
-- If the table already contains data, use "0"
DBCC CHECKIDENT (Event, RESEED, 0)
發佈於: 施耐德電機Taiwan




需要協助?
產品選型工具
快速輕鬆地為您的應用找到合適的產品和附件。
取得報價
立即線上提交您的銷售需求,專業團隊將主動聯繫您。
購買地點
輕鬆在您所在地區找到最近的施耐德電機經銷商。
支援中心
在同一位置找到滿足您所有需求的支援資源。