一键导入
manage-queues
Manage delayed request queues including workload, system, and utility queues to release blocked requests or abort unnecessary items
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Manage delayed request queues including workload, system, and utility queues to release blocked requests or abort unnecessary items
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Control active sessions by terminating problematic sessions, managing runaway queries, and handling blocking situations
**Autonomously create** filters, throttles, and classification rules to implement new workloads or manage workload lifecycle in response to changing operational needs
Track query execution using real-time resources, analyze query bands, access query logs, and identify performance patterns across the Teradata system
Monitor AMP processor load, system physical resources, and capacity using real-time resources to track system health and identify performance bottlenecks
Monitor active Teradata sessions using real-time resources, view SQL execution details, identify blocking issues, and optionally take control actions
Monitor workload definitions, distribution, and TASM statistics using real-time resources to understand classification effectiveness and workload performance
| name | manage-queues |
| description | Manage delayed request queues including workload, system, and utility queues to release blocked requests or abort unnecessary items |
Monitor and manage delayed request queues to handle queued queries, release blocked requests, and abort unnecessary items to maintain system flow and meet SLAs.
show_delayed_queue - View delayed requests by type (workload, system, utility)release_delayed_request - Release a blocked request from queueabort_delayed_request - Abort/cancel a delayed requestAssess Queue Status
show_delayed_queue with type='ALL' to see all queued itemsAnalyze Queued Requests
Determine Root Cause
Take Appropriate Action
For Releasing Requests:
For Aborting Requests:
Monitor Results
Address Underlying Issues
User: "Are there any queries waiting in queue?"
Action:
1. Call show_delayed_queue with type='ALL'
2. Summarize: "5 workload queue, 2 system queue, 0 utility queue"
3. Report wait times and affected users
4. Flag any excessive waits (>SLA threshold)
User: "The CEO's dashboard query is stuck, can you release it?"
Action:
1. Use show_delayed_queue to locate the request
2. Verify it's in queue (not executing or blocked)
3. Confirm system has capacity for release
4. Call release_delayed_request with request ID
5. Monitor to ensure it executes: "Request released and now executing"
6. If still blocked, investigate further
User: "There are old queries in queue from last night, clean them up"
Action:
1. Show delayed queue and identify old requests
2. Check request age and originating user
3. Verify users are no longer waiting (offline, session closed)
4. Call abort_delayed_request for each abandoned item
5. Report: "Aborted 12 requests older than 8 hours"
6. Investigate why they were delayed so long
User: "Month-end queue is backing up, help manage it"
Action:
1. Check show_delayed_queue for workload distribution
2. Identify critical vs non-critical delayed requests
3. Release critical month-end reports selectively
4. Abort or delay non-critical ad-hoc queries
5. Monitor queue depth trends
6. Communicate with users about delays
7. Recommend: "Consider temporary throttle adjustment for peak period"
User: "Queries are stuck in system queue"
Action:
1. Use show_delayed_queue with type='SYSTEM'
2. Identify requests waiting on locks
3. Use detect_blocking to find blocking sessions
4. Options:
a. Wait for blocker to complete (if nearly done)
b. Terminate blocking session (if stuck/problematic)
c. Abort delayed request (if blocker will run long)
5. Take action and verify queue clears
6. Report resolution and prevent recurrence