get_index_io_stats
Analyze per-index I/O statistics and buffer cache hit ratios to identify indexes causing excessive disk reads and poor buffer cache performance.
Instructions
[Tool Purpose]: Analyze I/O performance statistics for indexes (disk reads vs buffer cache hits)
[Exact Functionality]:
Show index-level I/O statistics and buffer hit ratios
Identify indexes with poor buffer cache performance
Provide detailed I/O performance metrics per index
Help optimize index and buffer cache usage
[Required Use Cases]:
When user requests "index I/O stats", "index buffer performance", etc.
When analyzing index-level I/O performance
When identifying indexes causing excessive disk I/O
When optimizing index buffer cache efficiency
[Strictly Prohibited Use Cases]:
Requests for index optimization actions
Requests for buffer cache configuration changes
Requests for statistics reset
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": "get_index_io_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema_name | No | Schema name to filter (default: public) | public |
| database_name | No | Database name to analyze (uses default database if omitted) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |