Network Management
How to verify that database maintenance is completing correctly in the Orion Platform
This article explains how to verify that the database maintenance task is completing correctly.
First published date
Last published date
Overview
Product section
Resolution
- Navigate to the database maintenance logs on the Orion Server located at:
C:\ProgramData\Solarwinds\Logs\Orion\ - Open the latest
swdebugMaintenance.loglog file in a text editor (such as Notepad). - Search for Database Maintenance Starting and Database Maintenance Complete.
For example:
2019-02-08 02:15:00,311 [1] INFO DatabaseMaintenanceGui.Program - Database Maintenance Starting. 2019-02-08 02:39:22,297 [1] INFO SolarWinds.Data.DatabaseMaintenance.MaintenanceEngine - Database Maintenance Complete, time elapsed: 1461.497 sec
- Check the starting time and complete time values for unusually long task times.
The sample above shows 24 minutes, which is normal. If Database Maintenance shows Complete, it should be running normally.
swdebugMaintenance.log file, check the swdebugMaintenanceExecutionHistory.log file. This will show the completion history for the maintenance even when the swdebugMaintenance.log file might not, and will look like the below:2023-05-01 02:15:00,398 Database Maintenance Starting. 2023-05-01 02:15:42,484 Database Maintenance Complete, time elapsed: 41.518 sec. 2023-05-02 02:15:00,347 Database Maintenance Starting. 2023-05-02 02:15:51,169 Database Maintenance Complete, time elapsed: 50.323 sec. 2023-05-03 02:15:00,370 Database Maintenance Starting. 2023-05-03 02:15:50,494 Database Maintenance Complete, time elapsed: 49.520 sec.