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

SQLState: 42000 Message: ORA-01031: insufficient privileges



The PersistClusterState agent activity fails with Oracle Insufficient Privileges error.

Error Messages

[EDULER_THREAD_POOL_4] [STANDARD] [ ] [ ] (a.DatastoreMetadataServiceImpl) ERROR   - Error querying indices metadata from db Error querying index metadata: code: 1031 SQLState: 42000 Message: ORA-01031: insufficient privileges

DatabaseException caused by prior exception: java.sql.SQLSyntaxErrorException: ORA-01031: insufficient privileges

 | SQL Code: 1031 | SQL State: 42000

    at com.pega.platform.datastore.metadata.RDBMetadataAPIImpl.getDatabaseIndices( ~[datastore.jar:?]
    at com.pega.platform.datastore.metadata.RDBMetadataAPIImpl.getDatabaseIndices( ~[datastore.jar:?]
    at com.pega.platform.logicaldatastore.metadata.DatastoreMetadataServiceImpl.getDatastoreIndices( ~[logical-datastore.jar:?]
    at ~[prprivate-management.jar:?]
    at ~[prprivate-management.jar:?]
    at ~[prprivate-management.jar:?]
    at ~[prprivate-management.jar:?]
    at ~[prprivate-management.jar:?]

Steps to Reproduce

Install Pega Platform 8.3.1.

Root Cause

A defect in Pegasystems’ code or rules.

Insufficient privilege means that the user does not have the 'Analyze any' privileges. According to the Deployment guides, this privilege is required; however, this is a Database Administrator privilege which is not granted to the user. It is determined that the call made is doing more than needed. Hence, the 'Analyze any' privilege is required.


On the newer versions of the Pega Platform, the 'Analyze any' privilege is no longer required.

This feature is implemented in the following:
  • Pega Platform 8.1.8
  • Pega Platform 8.2.6
  • Pega Platform 8.3.2
  • Pega Platform 8.4

Published April 10, 2020 - Updated December 2, 2021

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