table_stats
Retrieves Oracle table optimizer statistics—rows, blocks, staleness, lock state, indexes, and column stats—to assess data distribution and diagnose query performance.
Instructions
Optimizer statistics of a table: rows, blocks, staleness, lock state, indexes (columns, clustering factor, status) and column statistics (distinct values, nulls, histograms).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"table": "<table>"
},
"name": "table_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Table name. Unquoted names are upper-cased. | |
| schema | No | Schema (owner), default: current schema |