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?
@EswarK17084352 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.