You are here: Pega 7 Platform Database > Database administration and performance > Query Inspector

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.

The Query Inspector is available to Pega Cloud customers using a Pega-hosted instance and a Postgres database. You need the PegaRULES:DatabaseAdministrator role to access the Query Inspector.