Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

This content has been archived and is no longer being updated.

Links may not function; however, this content may be relevant to outdated versions of the product.

Schema Tools

Updated on April 5, 2022

Schema Tools lets you perform advanced database tuning and maintenance tasks including viewing the tables, columns, indexes, and views in the PegaRULES and PegaDATA database schemas, increasing the size of text columns, adding and deleting indexes, updating database statistics for a table, and defragmenting a 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.

The Schema Tools landing page is available to Pega Cloud customers. You need the PegaRULES:DatabaseAdministator role to access this page. In addition, you need the privilege associated with the task that you want to perform and the schema that you want to access. For a list of privileges, see Accessing database administration operations on Pega Community.

Schema Tools provides an audit trail of actions taken. Some actions, such as defragmenting a table might take some time to finish and run in the background after being started by the database administrator (DBA). The status of such actions can be checked by refreshing the landing page and by checking the audit trail.

  • Query Inspector

    An explain plan is the internal sequence of steps that the SQL query uses to tune the SQL query. It is useful for improving query efficiency. Use the Query Inspector to enter or paste an SQL query and generate an explain plan.

  • Separate logging for schema operations

    Operations performed using the Schema Tools landing page, including Pega Cloud schema operations, can be logged to a separate file from the PegaRules log file. To enable logging to a separate file, add the following appender to the prlog4j2.xml file.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us