Why is adding files to the vault so slow?



In most cases, the process of adding new files (or other data) to a vault is fast. However, if CBFS Storage needs to increase the size of the vault itself in order to add the new data, you may experience slowdown. This slowdown can be magnified if many new pages must be added to the vault, and/or if your vault is configured to use a small page size (since a smaller page size means more pages have to be added, and there is a certain amount of overhead that occurs when adding a new page).

There are a couple of things you can do to help mitigate this slowdown:

  • For new vaults (either before or after they are created), specify a minimum size using the VaultSizeMin property.
  • Use the VaultSize property to explicitly increase your vault's size before adding file(s) whose total size is close to, or larger than, the amount of free space currently available in your vault (as reported by the VaultFreeSpace property). Add the amount of space your file(s) need, plus 10% (approximately).
In the latter case, take care that you don't accidentally trigger automatic compaction, which would cause CBFS Storage to shrink your vault again before you get a chance to add the new file(s). If necessary, you can temporarily alter the AutoCompactAt property, or set the AutoCompactDelay configuration setting to some non-zero value. Refer to the documentation for more information.

We appreciate your feedback. If you have any questions, comments, or suggestions about this article please contact our support team at support@callbacktechnologies.com.