Back Forward Working with the PegaRULES database — Using the Database Column Populator utility

Working with the PegaRULES database

 

TipIn a development system with appropriate database rights, you can expose a (top-level Single Value) property as a database column, and have the system populate the newly exposed column automatically, using the Property Optimizer tool. When appropriate and available, this provides a convenient and recommended alternative to the command-line-based Column Populator utility. See About the Property Optimizer tool.

You can use the Database Column Populator utility to extract a property value from the Storage Stream or pzInskey (BLOB) column into a newly added table column. Typically, use this utility immediately after using the Modify Schema wizard to expose a property as a column. This utility can also rebuild Index- instances defined by Declare Index rules.

The Column Populator is an alternative to the Property Optimization wizard and the Modify Schema wizard.

You run this utility by calling the expose option of the prpcutils command-line utility. This utility can operate when PRPC is not running. For an example, see PDN article 26168 How to use the Column Populator utility.

NoteIf you expose a property and then populate the new column in a development system, don't forget to repeat this processing in the corresponding test and production systems, if such systems exist.

CautionYou can run the Database Column Populator utility when PRPC is in use. However, the utility does not acquire a database lock on the rows it modifies. If a PRPC requestor updates an object at the same time the Database Column Populator also updates the corresponding database row, one of the updates may be overwritten and lost.

Purpose

Preparations

Running the Column Populator

Examples

Results

Definitions exposed property, Storage Stream, pattern inheritance
Related topics About the Modify Schema tool

HomeWorking with the PegaRULES database