Documentation Index
Fetch the complete documentation index at: https://planetscale.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
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
Raw query collection
- Setting:
pginsights.raw_queries - Type: Boolean
- Default:
false
Enabling this setting may result in sensitive data that appears in queries being sent to PlanetScale, where it will be processed and stored in accordance with our privacy policy.
Schema name normalization
- Setting:
pginsights.normalize_schema_names - Type: Boolean
- Default:
false
select * from myschema.users where id = 1.
- With
pginsights.normalize_schema_namesset to false, the query will be reported in insights asselect * from myschema.users where id = $1 - With
pginsights.normalize_schema_namesset to true, the query will be reported in insights asselect * from $1.users where id = $2
Database Traffic Control shared memory size
- Setting:
traffic_control.shm_size - Type: Integer (bytes)
- Default:
64kB
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

