Security Compliance
Patch Manager SQL Server database is growing too fast
This article addresses an issue that causes the Microsoft SQL Server database for Patch Manager to grow at an unusual rate.
First published date
Last published date
Overview
Product section
Cause
- The dbo.dt_wmi_Win32_WUAUpdateHistoryEntry table in the SQL Server database is not purging previously collected inventory data.
- Found following tables taking up about 100+ GB together.
[EminentWare].[dbo].[dt_wmi_Win32_WindowsAdvancedFirewallRule] [EminentWare].[dbo].[dt_wmi_Win32_Service] [EminentWare].[dbo].[dt_wmi_Win32_Process] [EminentWare].[dbo].[dt_wmi_Win32_SystemDriver]
- The Inventory task is not removing previously collected data and creating duplicate entries.
Resolution
- Delete the current computer inventory task(s).
- Create a new computer inventory task. In the Inventory Configuration page, deselect the tables that are huge and run the inventory task. This should empty the tables.
- Run the inventory tasks again and re-select the tables except the ones referred in 2nd cause above. As these tables not required for patch reporting/auditing.
Contact your database administrator to truncate the database table and minimizing the database size.