We are using SharePoint 2013 and have setup a Content Type Hub where we publish content types with attached document templates.
When republishing content types with document templates on them, we started have problems with content databases size growing drastically.
Content database was 400 GB and grew to 800 GB and 2 days later 1400 GB, which of course was alarming.
After some digging we found that by manually republishing the same content type a couple of times, had made one of the content types document templates on all sites to be placed in the recycle bin. When checking one of the libraries that inherited the content type and looking into the forms folder, we found that that content type had 18 document templates attached to it, but only one active, the latest one.
A couple of thousand sub-sites, and the content type had 18 document templates in the sub-sites document libraries forms folder. Which meant that 700.000 document templates was placed in the site collection recycle bin.
The question is now. Why is old inactive document templates saved in published content types? And is it safe to remove them from the
CTH _CTS folder before we republish the CT next time, as they are no longer in use by the content type, and can't be reverted to. Is there a reason why they are keeping old document templates attached to content types?