pg_database_health
Assess PostgreSQL database health by examining connections, buffer cache, invalid indexes, dead rows, and replication.
Instructions
Get a comprehensive database health report (connections, buffer cache, invalid indexes, dead rows, and replication).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "pg_database_health"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| connectionId | No | Id of the postgres connection to use, from databases.config.yml. Optional when only one postgres connection is configured. |