pg_index_usage
Retrieve index usage statistics for user tables to identify unused or inefficient indexes.
Instructions
Retrieve index usage statistics for all user tables in the specified schema.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema | No | Schema to filter by. Defaults to the connection's defaultSchema (or 'public'). | |
| connectionId | No | Id of the postgres connection to use, from databases.config.yml. Optional when only one postgres connection is configured. |