Dashboard Configuration
This extension is always enabled for PlanetScale databases and requires activation via the PlanetScale Dashboard. While the extension itself is always active, some of its parameters can be configured through the dashboard. To configure pginsights parameters:Parameters
pginsights.raw_queries
- Type: Boolean
- Default:
false - Description: Send full query text for slow, large, or failed queries (may include sensitive data).
- Documentation: Raw Query Collection
pginsights.normalize_schema_names
- Type: Boolean
- Default:
false - Description: Merge queries patterns that differ only by schema name.
- Documentation: Schema Name Normalization
Usage
The pginsights extension is automatically installed and enabled for all PlanetScale databases. You don’t need to manually create the extension - it’s always active and collecting query insights. The extension integrates with PlanetScale’s Query Insights dashboard to provide:- Query performance metrics
- Slow query identification
- Query pattern analysis
- Resource usage tracking

