Our WSUS database is running as a WID and I have no idea how long it’s been there. A few months back I migrated the WSUS server to a Server 2019 install and everything’s been … fine. I then realized the database itself is nearly 27 GB and it should be just security updates/patches etc.
So I decided to run databse cleanup scripts via the SQL Mgmt program. I indexed, and did all the recommended steps according to MS’s updated WSUS pages.
The cleanup script has been running for 48 hours and still going. My question is, who does regular WSUS database maintenance and how long did it take the first time you cleaned it up? This is getting ridiculous