Related Topics
Storing Attachments
You have two choices when it comes to storing documents, such as file attachments, in Process Director: internal database or file system storage.
The default method of document storage is to store the documents in the Process Director internal database, in a binary field. For most users, this is the recommended option, for a number of reasons.
- Backing up the Process Director database automatically backs up the stored documents, so the number of required backups is reduced.
- Outside users can't inadvertently access the documents outside of Process Director to alter, move, or delete them.
- Performance, in most cases, will be superior, because there is no need to access files on separate network locations, and drag them across the network.
- Document administration can be performed from a single location.
For some users, however, there are use cases where storing documents in a separate file system makes more sense, such as:
- You store very large files, such as high-definition video files. It is more efficient to store these files on a File System, rather than to transform them to binary database storage and back, which imposes performance delays that file system storage doesn't.
- You have a need for the files to be accessed from outside of Process Director.
- You have a large number, i.e., in the hundreds of thousands, of documents, which greatly increases the time needed for a database backup.
Obviously, when documents are stored on a separate file system, you must perform two backups, one of the database, and one of the file system. And, of course, it may be possible for malicious users to get into the file system and alter or delete the documents, so extra security considerations apply. There are configuration options in the administrative settings that allow you to control the size of documents that should be stored on the file system. This is useful if you only want to store very large documents external to the database but maintain the advantages of using the database storage for all other documents. However, it is recommended to decide on one approach or the other, and if storing files on the file system, set the size to 0
so that all documents binaries are stored as files.
Ultimately, the decision whether to store documents in process Director or a file system depends on your use case, the size and number of documents you expect to store, your network bandwidth, and the backup requirements that will be imposed under each alternative. This is decision best made in consultation with your internal IT professionals.
Whichever choice you make, Process Director will handle the stored documents in a way that is transparent to your users.
There is a built-in Process Director function that enables documents to be moved according to the current configuration of the system. You have to go into “debug mode” in the client browser and navigate to the IT Admin area's Troubleshooting section. There will be a link that will move documents back/forth from the file system to the database. This can take quite some time, and if canceled in the middle, it can be restarted and it will continue safely where is left off.
Some internal documents will always be stored in the database regardless of the installation settings, for example, form definitions.
Documentation Feedback and Questions
If you notice some way that this document can be improved, we're happy to hear your suggestions. Similarly, if you can't find an answer you're looking for, ask it via feedback. Simply click on the button below to provide us with your feedback or ask a question. Please remember, though, that not every issue can be addressed through documentation. So, if you have a specific technical issue with Process Director, please open a support ticket.