Defrag Windows Search database

We have an RDS server that has high disk usage due to an excessive Window Search database.  We deleted it and it would blow out again after a week or 2 of usage. We ran a defrag on it, and it would again blow out.  We now schedule a defrag daily and the usage remains stable.  The script to do so is here:

https://pastebin.com/KnMUMi5H

Leave a Reply

Your email address will not be published. Required fields are marked *