Optimize a property from the user interface
Use the Property Optimization tool to improve data retrieval performance from your Pega database. This tool creates a dedicated database column for a selected property and starts a background process to populate the values for the new column from existing BLOB values. This eliminates the need to read the BLOB when fetching property data.
When you meet the prerequisites you can use the Property Optimization tool using the Application Explorer.
You can view the classes for which a property has been optimized on the Advanced tab of the Property form. To optimize a selected property, complete the following steps.- Using the Application Explorer, enter the class for the property you want to optimize and then expand the Data Model node and the Property list.
- Right-click a property name and click Optimize for reporting.
- Select the tables in which you want to create a dedicated database column for this property. You must select at least one table.
- If the property is embedded, specify the RuleSet and Version to contain the new Index- class, the properties in that class, and the Declare Index rule.
- Select whether to optimize the property now or later. If you select later, click the calendar icon to select a date within seven days of the current date to optimize the property.
- Click Next.
- Review the tables to which the property column will be added and the classes that will be mapped to each table.
- Click Next.
- Click Finish.
- Exposing properties and populating database columns
You can expose a property as a database column, and populate the new column by extracting values from the Storage Stream (BLOB or pzPVStream) column using the Property Optimization tool in a development system. You can also use this tool to "expose" values of an embedded property by automatically creating an appropriate Index- class and Declare Index rule.
- Viewing column population jobs
You can view the status of column population jobs running in the background that were started by the Property Optimization tool. This tool populates newly exposed database table columns with data values from the BLOB column.
- Canceling column population jobs
You can cancel a column population job that was started by the Property Optimizer tool.
Previous topic Optimizing database properties Next topic Exposing properties and populating database columns