Scheduling schema updates

You can schedule BLOB size and table statistic updates to database schemas to run automatically using agents from the Edit Agent Schedule landing page. Scheduling schema updates is useful for performance monitoring and tuning in the Pega Cloud.

Note: You must have the PegaRULES:SysOpsAdministrator role to access the Edit Agent Schedule landing page.
  1. In the header of Dev Studio, click Configure > System > Database > Schema Tools.
  2. Click the schema for which you want to schedule updates.
  3. Select the frequency with which you want each agent to run to automatically update the database. You can deactivate the schedule or configure the schedule to run daily or weekly for the following agents:
    • BLOB size updater: updates the average and maximum BLOB sizes in the database.
    • Table statistics updater: updates all table statistics for the database.
  4. To schedule the agents to run on a schedule other than daily or weekly, click Advanced agent controls to update the schedule on the Edit Agent Schedule landing page.

    You can also set the interval at which the agents will run by using the following Dynamic Data System Settings.

    • database/databases/PegaRULES/TableStatisticsAgentInterval
    • database/databases/PegaDATA/TableStatisticsAgentInterval
    • database/databases/PegaRULES/BlobSizeAgentInterval
    • database/databases/PegaDATA/BlobSizeAgentInterval

    Set the value for each Dynamic Data System Settings as follows:

    • -1: deactivate the schedule
    • 24: run daily
    • 168: run weekly