Get table statistics
hana_get_table_statsRetrieve table statistics including row count, table type, column-store flag, primary key flag, and disk size from SAP HANA system tables.
Instructions
Return row count, table type, column-store flag, primary key flag, and disk size (requires MONITORING privilege for disk size) from SYS.TABLES and SYS.M_TABLE_SIZES.
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_name": "<table_name>"
},
"name": "hana_get_table_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table_name | Yes | Table name | |
| schema_name | No | Schema name (defaults to HANA_SCHEMA) |