PEGA0039 alert: BLOB size read from the database exceeded threshold
The PEGA0039 alert occurs when a database query retrieves a BLOB column (pzPVStream property value, also called the Storage Stream) that is larger (in bytes) than the threshold value. The alert provides a warning that memory performance of your system might be affected when the Pega 7 Platform expands the BLOB onto a clipboard page.
Example message text
The alert identifies the pzInsKey that was read, and the size in bytes of the BLOB:
Read blob from database with compressed size 2058486 expanded size 4125916. pzInsKey: RULE-FILE-BINARY WEBWB OPENAUTHORING!CAB #20100304T152007.144 GMT
Default prconfig.xml settings
<env name = “alerts/database/blobsizeread/enabled" value="true" />
The enabled value is Boolean. To turn off the alert, set the value to "false",
<env name = “alerts/database/blobsizeread/threshold" value="3" />
The threshold value is a positive integer in megabytes (the default is 3). This value is checked against the compressed size of the BLOB being read.
Stop and restart the server after changing these settings.
Reason for the alert
Examine the record being read (identified by the pzInsKey value and determine whether the entire BLOB is needed. Usually, you can divide the data into additional logical segments (as required by your application).