Solved
What benefits does a file repository offer over a database for IH storage?
Hi,
What benefits does a file repository offer over a database for IH storage?
Hi,
What benefits does a file repository offer over a database for IH storage?
Accepted Solution
@Eswar KK Using a file repository for Interaction History (IH) storage offers several benefits over a database. Writing to a database is costly because the system converts FileStream into Base64 Strings and stores it into a Blob field increasing the size by 33%. Retrieving and decoding it back to a file takes time. A repository reduces the load on the database and allows direct file uploads without consuming significant memory on the Pega application node. For example a 1GB file would consume about 2.6667GB of memory if stored in a database whereas a repository would only use about 30KB regardless of file size.
⚠ This is a GenAI-powered tool. All generated answers require validation against the provided references.
Pega Collaboration Center has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.