Production Deployment Query

This post will help me to identify the missing rules and rulesets in Production after the deployment / Migration.

Run the Query and Put the results One below another in Excel sheet and mark duplicates.

The row which are not highlighted are the culprits!!

Use case Ruleset and count of rules
Query
  1. select concat(pyruleset, pyrulesetversion), count(pzinskey)
  2. from pegrule.pr4_rule_vw
  3. where pyRuleSet like 'ORG%'
  4. group by pyruleset, pyrulesetversion;
Use case Rulename,pzinskey With Op Name to compare the rules migrated
Query
  1. select concat(pyruleset, pyrulesetversion,pyRuleName),
  2. pzInsKey,pxUpdateOpName
  3. from pegrule.pr4_rule_vw
  4. where pyRuleSet like 'ORG%' and pxUpdateDateTime>'20230101'
  5. AND pxUpdateOpName='John Doe';

Post a Comment