monitor-sessions

Monitor active Teradata sessions to identify performance issues and blocking.

7|Updated Dec 3, 2025
One-click install
npx skills add https://github.com/teradata-labs/claude-cookbooks --skill monitor-sessions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: monitor-sessions
Source: https://github.com/teradata-labs/claude-cookbooks/tree/main/skills/operations/workloadmanagement/monitoring/monitor-sessions
Command: npx skills add https://github.com/teradata-labs/claude-cookbooks --skill monitor-sessions

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps identify and diagnose performance issues, blocking problems, and resource consumption patterns within active Teradata database sessions, enabling faster issue resolution and system optimization.

Core Features & Use Cases

  • Real-time Session Data: Instantly view active sessions, their states, and resource usage without running traditional queries.
  • Blocking Detection: Quickly identify sessions that are causing lock contention and blocking other users.
  • SQL Text Visibility: Examine the exact SQL queries being executed by sessions to understand their workload.
  • Control Actions: Optionally terminate problematic sessions to restore system performance.
  • Use Case: When users report slow queries, this skill can be used to pinpoint the exact sessions causing the slowdown, identify if they are blocked, and view the queries they are running.

Quick Start

Use the monitor-sessions skill to get a real-time overview of all active sessions.

Frequently Asked Questions about monitor-sessions

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I monitor active Teradata sessions to identify blocking and resource consumption?

To monitor active Teradata sessions, you can use real-time tools to instantly view session states, resource usage, and SQL execution details. This identifies performance issues, lock contention, and blocking problems without running traditional manual queries.

What is the best way to diagnose slow queries and lock contention in a Teradata database?

Diagnosing slow queries in a Teradata database involves analyzing real-time session data to pinpoint exact sessions causing slowdowns. You can examine the specific SQL text being executed and identify if those sessions are blocked by lock contention.

Can I view the exact SQL text being executed by active Teradata database sessions?

Yes, you can view the exact SQL text being executed by active Teradata database sessions. This visibility allows you to understand the current workload of each session and accurately diagnose the root cause of slow performance or blocking issues.

How do I terminate problematic Teradata sessions that are causing system slowdowns?

To terminate problematic Teradata sessions causing system slowdowns, you can use optional control actions provided by session monitoring tools. This allows you to stop sessions identified as blocking sources and restore overall database performance.

Does real-time session monitoring work for auditing user activity in Teradata?

Yes, real-time session monitoring works for auditing user activity in Teradata. By providing an instant overview of all active sessions, their states, and SQL execution details, it enables administrators to track and audit what users are currently doing.

Why use real-time MCP resources instead of traditional queries for Teradata session monitoring?

Using real-time MCP resources for Teradata session monitoring provides instant visibility into active sessions, blocking, and resource consumption without running traditional queries. This approach enables faster issue resolution by directly analyzing session states and SQL text.