Get top expensive queries
hana_get_expensive_queriesRetrieve the highest-cost SQL statements from SAP HANA, ordered by duration, to pinpoint performance bottlenecks. Requires MONITORING privilege.
Instructions
Return the most expensive statements from M_EXPENSIVE_STATEMENTS ordered by duration. Requires MONITORING privilege.
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": "hana_get_expensive_queries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of statements to return (default 20, max 100) |