get_running_vacuum_operations
Monitor currently running VACUUM, ANALYZE, and REINDEX operations to track progress, identify blocking or long-running maintenance, and troubleshoot stuck database tasks.
Instructions
[Tool Purpose]: Monitor currently running VACUUM and ANALYZE operations in real-time
[Exact Functionality]:
Show all currently active VACUUM, ANALYZE, and REINDEX operations
Display operation progress, elapsed time, and process details
Identify blocking or long-running maintenance operations
Provide process IDs for operation tracking
[Required Use Cases]:
When user requests "running VACUUM", "active maintenance", "current VACUUM status", etc.
When troubleshooting slow or stuck VACUUM operations
When monitoring maintenance operation progress
When identifying maintenance operations that may be affecting performance
[Strictly Prohibited Use Cases]:
Requests for terminating or controlling VACUUM processes
Requests for starting new VACUUM operations
Requests for changing VACUUM parameters or configuration
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": "get_running_vacuum_operations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database_name | No | Target database name (shows operations in all databases if omitted) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |