How to reduce the size of the File System

We're in the On-Demand environment and the Sugar Insights shows our File system Size is 90% of the allocation and the Database size is 61% of the allocation.

The Database size has been reduced in recent months because of our clean-up project (deleting very old and no longer useful records).  The File System size continues to grow.

What can be done to reduce the size of the File System?

Parents
  • This brings to mind my request to segment the upload directory by related module, at least, which would allow me to distinguish which modules the Documents are linked to so I can tell the difference between Uploads that are copies of documents we need to retain (linked to the Custom Contracts Module for example), vs the spurious images from signatures or Case attachments that could be removed after x-years etc... which could allow my Uploads to be regularly cleaned up.

  • Yes!  That would help!  I've been locating and deleting Documents that are ancient history which came from our prior CRM 11 years ago.  I haven't seen a reduction in the File System size yet.

    I've also been rolling through text field sizes that seem uselessly large - Like changing 255 to 50 for things that are never larger than 20 and 255 to 2 for fields that we don't use.

    I received the warning from Sugar that we're about to incur a charge for the storage use if we don't reduce the size.

    Bud Hartley | Cape Foulwind, NZ (and Oregon, USA)

  • Hello, don't know if this will help, but we had users uploading huge files, there is a setting in admin > System Settings> Maximum upload size and you can set the file size limit. I have it set to 1000000.
    They will get an error if the file is larger and then they use an online PDF program to shrink the size of the PDF. I believe there is a scheduler to prune the database to actually remove deleted records, maybe verify that is running.

  • Thanks Edward.  Yes, I reduced the maximum size of the uploads many years ago. I have the "standard" pruner running on the 1st of the month, and I have a second one that I trigger after we do clean-up projects.

    The Database size has been reduced, but it's the File System that seems to keep growing.  The last successful reduction was when we cleaned out old Documents and Knowledge Base files.

    I'm thinking we may have to increase our allocation.

    Bud Hartley | Cape Foulwind, NZ (and Oregon, USA)

Reply
  • Thanks Edward.  Yes, I reduced the maximum size of the uploads many years ago. I have the "standard" pruner running on the 1st of the month, and I have a second one that I trigger after we do clean-up projects.

    The Database size has been reduced, but it's the File System that seems to keep growing.  The last successful reduction was when we cleaned out old Documents and Knowledge Base files.

    I'm thinking we may have to increase our allocation.

    Bud Hartley | Cape Foulwind, NZ (and Oregon, USA)

Children
No Data