Skip to main content

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.

Support Article

Error occurs while generating Database Explain plan

SA-70985

Summary



Error occurs while generating a Database Explain plan while running a SQL query.


Error Messages



There is no configuration (no Data-Admin-DB-Name instance) for database Read-only PegaRULES


Steps to Reproduce



Run a query from the query runner.


Root Cause



A defect in Pegasystems’ code or rules.


Resolution

Perform the following local-change:
  1. Add a Read-only user to the database
  2. Add the JNDI entry for this user in the application server
  3. Add the below entries in the prconfig.xml file for this Read-only user for the Data and Rules schema:

    <env name="database/databases/${DBName}/readOnlyUserName" value="${username}"/>
    <env name="database/databases/${DBName}/readOnlyPassword" value="${password}"/>

     
  4. Restart the application server

 

Published January 9, 2019 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration 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 Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us