show_statistics
Inspect statistics in Microsoft Fabric Data Warehouses or SQL Analytics Endpoints, returning header, density vector, and histogram steps. Use histogram-only option to analyze data distribution.
Instructions
Show details of a statistic using DBCC SHOW_STATISTICS.
Returns the stat header, density vector, and histogram steps. Both Data Warehouses and SQL Analytics Endpoints are supported.
Args:
workspace: Workspace name or GUID.
item: Warehouse or SQL endpoint name or GUID.
qualified_table: Qualified table name, e.g. dbo.sales.
stat_name: The name of the statistic to show.
histogram_only: When True, return only the histogram steps.
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": {
"workspace": "<workspace>",
"item": "<item>",
"qualified_table": "<qualified_table>",
"stat_name": "<stat_name>"
},
"name": "show_statistics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | Yes | ||
| stat_name | Yes | ||
| workspace | Yes | ||
| histogram_only | No | ||
| qualified_table | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||