get_ob_ash_report
Generate an OceanBase Active Session History (ASH) report to analyze system performance. Capture session details, SQL IDs, wait events, and module actions for precise diagnostics.
Instructions
Get OceanBase Active Session History report.
ASH can sample the status of all Active Sessions in the system at 1-second intervals, including:
Current executing SQL ID
Current wait events (if any)
Wait time and wait parameters
The module where the SESSION is located during sampling (PARSE, EXECUTE, PL, etc.)
SESSION status records, such as SESSION MODULE, ACTION, CLIENT ID
This will be very useful when you perform performance analysis.RetryClaude can make mistakes. Please double-check responses.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
end_time | Yes | ||
start_time | Yes | ||
tenant_id | No |
Input Schema (JSON Schema)
{
"properties": {
"end_time": {
"title": "End Time",
"type": "string"
},
"start_time": {
"title": "Start Time",
"type": "string"
},
"tenant_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Tenant Id"
}
},
"required": [
"start_time",
"end_time"
],
"title": "get_ob_ash_reportArguments",
"type": "object"
}