Back Forward How to expose a property as a database column

  

PRPC stores the values of all aggregate properties and some Single Value properties in a BLOB column (the Storage Stream) usually in a compressed form. Such properties cannot support selection in list view and summary view reports, and can slow retrieval and processing in other operations.

For maximum flexibility, your development team can create new Single Value properties at any time, without the need to coordinate with a database administrator. However, exposing properties as distinct columns can significantly improve performance. You can expose a property even after the property has values, but additional processing is required to copy values for the new column from the BLOB value into the new column.

To make changes to the database schema, your connection to the PegaRULES database must allow certain SQL capabilities. See the notes on Admin Username fields on the topic Database Name — Completing the Database tab.

TipThe Column Inclusion field (on the Advanced tab of the Property form, for Single Value properties), contains one of four values (blank, Optional, Required, Requested) that indicates the judgement or opinion of the developer who created or updated the property. This value is advisory only; it does not affect any runtime behavior of the property. However, using the Database Class Mappings gadget, you can compare the values in this field with the current schema, identifying properties marked as Required which are not exposed. Pega Button > Data Model > Classes and Properties > Database Class Mappings to access this gadget.

Property Optimization approach

Modify Schema approach

Modify : To view the current schema

Modify Schema: To expose a top-level Single Value property

To expose embedded properties

Notes

Definitions Column Populator utility, exposed property, schema, Storage Stream
Related topics About the Modify Schema wizard
About the Property Optimization tool
How to monitor Storage Stream operations
Working with the PegaRULES database
Working with the PegaRULES database — Using the Column Populator utility
Standard rules Atlas — Standard Declare Index rules

UpSysAdmin category