get_table_io_stats
Retrieves table I/O statistics from Performance Schema to analyze access patterns, identify heavily used tables, and show read/write counts and timing ordered by total I/O time.
Instructions
[Tool Purpose]: Get table I/O statistics from Performance Schema
[Exact Functionality]:
Show I/O statistics for tables including reads, writes, and timing
Display fetch, insert, update, delete operations
Order by total I/O time
Show both request counts and timing information
[Required Use Cases]:
When user requests "table I/O", "table performance", "I/O statistics"
When analyzing table access patterns
When identifying heavily used tables
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_table_io_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of tables to return (default: 20) | |
| database_name | No | Database name to connect to (uses default if omitted) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |