microsoft / Code-Search

Code Search Admin scripts (SQL and PS) for managing a Code Search on-prem instance
53 stars 65 forks source link

The disk space is running out and the search not work #41

Closed shayki5 closed 5 years ago

shayki5 commented 6 years ago

Hi, We have very big TFS DB (about 1.6TB). We have separate code server with disk space of 600GB, after few weeks the space is running out and the search not working. How we can make a retention policy to delete data and clean up the space? (For example - every 2 weeks 200GB will be deleted). By the way, we have TFS 2017.3. Thank you!

bittusarkar commented 5 years ago

I am afraid there is no provision for data clean-up as that will result in missing search results. If you do not want code search on a collection, you can uninstall the code search extension for it. But if you are talking about logs eating up disk space, we can talk more. I am closing this issue right now.