Table of Contents

Adaptive Decision Manager data model

Adaptive Decision Manager database tables

The Pega® Adaptive Decision Manager database tables are part of the PegaDATA schema. The state of the Adaptive Decision Manager system is maintained in memory and regularly serialized to a database. The frequency of serialization is determined by the backup interval setting. The state is also updated when you stop the ADM service.

The following table describes each ADM table and the name of the class to which it belongs.

Database table Class Description
PR_DATA_ADM_CONFIGURATION Data-Decision-ADM-DB-Configuration Table containing ADM configurations. There is one configuration per each Adaptive Model rule. Each configuration is typically associated with multiple factories.
PR_DATA_ADM_FACTORY Data-Decision-ADM-DB-Factory Table containing ADM factories. Each factory is an individual model, for example, proposition X in channel Y.

Adaptive Decision Manager properties

The Adaptive Decision Manager data model uses the following properties:

  • Properties in the Configuration table
  • Properties in the Factory table

Properties in the Configuration table

The following properties are defined on the Data-Decision-ADM-DB-Configuration class.

Property Description
pyConfigPartitionID

Primary key. Hash code (version 5 UUID) of pyConfigPartition.

This property originates from the Data-Decision-ADM-DB-ConfigPartition parent class.

pyConfigPartition

The partition that identifies this configuration in canonical JSON format. The partition is a combination of a key-value, where pyClassName and pyPurpose are the keys.

This property originates from the Data-Decision-ADM-DB-ConfigPartition parent class.

pyFormat The data serialization format (BSON) that is used to serialize the configuration.
pyConfiguration The serialized representation of the configuration. The serialization format used is specified in pyFormat.

Properties in the Factory table

The following properties are defined on the Data-Decision-ADM-DB-Factory class.

Property Description
pyModelPartitionID Primary key. Hash code (version 5 UUID) of pyModelPartition.
pyConfigPartitionID

Primary key. Hash code (version 5 UUID) of pyConfigPartition.

This property originates from the Data-Decision-ADM-DB-ConfigPartition parent class.

pyModelPartition The partition for which the factory should produce a model in canonical JSON format. Models are created for every unique combination of proposition and channel internally represented by key-value pairs, where pyIssue, pyGroup, pyName, pyDirection, and pyChannel are the default keys. You can change the default keys and define your own. For more information, see Define adaptive model context.
pyConfigPartition

The partition identifying the configuration in canonical JSON format.

This property originates from the Data-Decision-ADM-DB-ConfigPartition parent class.

pyFormat The data serialization format (BSON) used to serialize the factory.
pyFactory The serialized representation of the factory. The serialization format used is specified in the pyFormat column.
Suggest Edit

Related Content

Have a question? Get answers now.

Visit the Pega Support Community to ask questions, engage in discussions, and help others.