Updating statistics

You can update database statistics for a selected database table using Schema Tools.

Before you begin: You must have the PegaRULES:DatabaseAdministrator role to access Schema Tools. For more information, see Adding a role to an access group
Updating internal database statistics for a table, such as the number of values in each index, enables the database to create more efficient execution plans for the queries. After initiating this operation, you can view progress and verify completion by refreshing the landing page and clicking the History tab for the table.
Note: Pega Cloud Services provides Query Runner, Query Inspector, and Schema Tools in Pega Platform for clients to manage their database. These database tools are not available to on-premises clients.
  1. In the header of Dev Studio, click Configure > System > Database > Schema Tools.
  2. Select the table for which you want to update statistics.
  3. Click Update table stats.