You can capture the ADM historical data for reporting purposes by using the ADM Data mart. The ADM Data mart is populated by periodically triggering the ADMSnapshot agent that runs the activity (pzGetAllModelDetails) that captures the state of models, predictors, and predictor binning. This activity writes that information to a table using the Data-Decision-ADM-ModelSnapshot and Data-Decision-ADM-PredictiveBinningSnapshot classes.
- Configure the adaptive model data storage preferences by selecting one of the following options:
- with every update – Keeps all snapshots of ADM models. This option is required if you use model snapshots for time-based reporting (for example, trend detection). If this option is enabled over a prolonged time period, it can cause database space issues, depending on the size of your database.
- with most recent update – Keeps only the most recent snapshot of ADM models, for example, if you want to run a report definition of only the most current version of an ADM model.
- Configure the predictor binning storage preferences by selecting one of the following options:
- with most recent update – Keeps only the most recent snapshot of the predictor binning state. This option is useful if you want to analyze only the most current status of predictor binning (for example, by using a report definition).
- None – Disables capturing the state of predictor binning.
- with every update- Keeps all snapshots of the predictor binning state. Use this option to analyze the changes of predictor binning over time. If this option is enabled over a prolonged time period, the increased number of predictor binning snapshots can cause database space issues because you can have multiple predictors per adaptive model.
The first time a snapshot is taken, the ADM Data mart checks for models that were created prior to Pega 7.2 and migrates them to the current version. After a successful migration, the admmart/modelIdMigrationNeeded dynamic system setting is created and the value is set to false. You do not need to repeat the migration process for successfully migrated instances. If you want ADM to trigger this step for models that were not migrated yet, change the dynamic system setting to true.