xiaohongshu
xiaohongshu
manage-workloads
**Autonomously create** filters, throttles, and classification rules to implement new workloads or manage workload lifecycle in response to changing operational needs
Full skill instructions
Autonomously create and configure filters, throttles, and classification rules to implement new workloads, manage workload lifecycle, and dynamically control system behavior in response to operational changes.
This skill can now execute workload management, not just recommend it!
With tdwm-mcp v1.5.0, this skill has evolved from advisory to autonomous:
Note: Workload definitions themselves are created via Teradata TDWM utilities, but this skill automates the filter and throttle creation needed to make workloads functional.
Monitoring & Analysis:
list_active_WD - List currently active workloadslist_WDs - List all workloads (active and inactive)show_tdwm_summary - View workload distributionshow_tasm_statistics - Monitor workload effectivenesslist_rulesets - List all available rulesetsConfiguration Management (NEW ✨):
create_filter_rule - Create filter to route queries to workloadcreate_system_throttle - Create throttle for workload protectionenable_filter_rule / disable_filter_rule - Lifecycle managementenable_throttle / disable_throttle - Lifecycle managementadd_classification_to_rule - Add criteria to existing filter/throttleactivate_ruleset - Apply all pending changesTemplates:
tdwm://templates/filter - List all filter templatestdwm://template/filter/application-basic - Route by applicationtdwm://template/filter/user-group - Route by user/accounttdwm://template/filter/time-based - Time-based routingtdwm://templates/throttle - List all throttle templatestdwm://template/throttle/application-basic - Basic workload throttletdwm://template/throttle/user-concurrency - Per-user limitsReference Data:
tdwm://reference/classification-types - All 31 classification typestdwm://reference/operators - Classification operators (I, O, IO)tdwm://reference/filter-actions - Filter actions (ACCEPT/REJECT)tdwm://reference/throttle-types - Throttle types (DM, M)Discovery:
tdwm://rulesets - List all rulesetstdwm://system/active-ruleset - Get currently active rulesettdwm://ruleset/{name}/filters - List filters in rulesettdwm://ruleset/{name}/throttles - List throttles in rulesettdwm://ruleset/{name}/pending-changes - Check pending changesWorkflows:
tdwm://workflow/create-filter - Step-by-step filter creation guidetdwm://workflow/create-throttle - Step-by-step throttle creation guideUnderstand Current State
tdwm://system/active-rulesetlist_active_WD and list_WDsshow_tdwm_summaryIdentify Workload Requirements
Review Existing Configuration
tdwm://ruleset/{name}/filterstdwm://ruleset/{name}/throttlesPlan Implementation
Select Approach: Template or Custom
Template-Based (Recommended):
tdwm://templates/filter and tdwm://templates/throttleCustom Configuration:
tdwm://reference/classification-typestdwm://reference/operatorsCreate Filter for Query Routing
Create new filter:
Use: create_filter_rule(
ruleset_name, filter_name,
classification_criteria,
action_type, workload_name
)
Filter routes queries to target workload based on criteria
Create Throttle for Resource Protection
Create new throttle:
Use: create_system_throttle(
ruleset_name, throttle_name, throttle_type,
limit, classification_criteria
)
Throttle limits concurrency for workload protection
Enable and Activate
enable_filter_rule(ruleset_name, filter_name)enable_throttle(ruleset_name, throttle_name)tdwm://ruleset/{name}/pending-changesactivate_ruleset(ruleset_name)Verify Configuration
tdwm://ruleset/{name}/filter/{filter_name}tdwm://ruleset/{name}/throttle/{throttle_name}Monitor Impact
show_tdwm_summaryshow_trottle_statisticsshow_tasm_even_historyIterate if Needed
Scenario: New BI tool launching Monday, need to route queries to BI_ANALYTICS workload
Discovery:
1. list_active_WD → BI_ANALYTICS workload exists (created by DBA)
2. show_query_band → BI tool sets 'APP=BI_DASHBOARD'
3. tdwm://system/active-ruleset → "Tactical"
4. tdwm://ruleset/Tactical/filters → No BI filter exists
5. show_tdwm_summary → BI queries currently in DEFAULT workload
Analysis:
Execution (Autonomous):
1. Get filter template:
tdwm://template/filter/application-basic
→ Shows APPL-based filter pattern
2. Create filter to route BI queries:
create_filter_rule(
ruleset_name="Tactical",
filter_name="BI_DASHBOARD_FILTER",
classification_criteria=[{
"description": "BI Dashboard Application",
"type": "APPL",
"value": "BI_DASHBOARD",
"operator": "I"
}],
action_type="ACCEPT",
workload_name="BI_ANALYTICS"
)
3. Get throttle template:
tdwm://template/throttle/application-basic
→ Shows APPL-based throttle pattern
4. Create throttle to protect resources:
create_system_throttle(
ruleset_name="Tactical",
throttle_name="BI_ANALYTICS_LIMIT",
throttle_type="DM", # Delay Management
limit=15,
classification_criteria=[{
"description": "BI Analytics workload throttle",
"type": "APPL",
"value": "BI_DASHBOARD",
"operator": "I"
}]
)
5. Enable both rules:
enable_filter_rule(ruleset_name="Tactical", filter_name="BI_DASHBOARD_FILTER")
enable_throttle(ruleset_name="Tactical", throttle_name="BI_ANALYTICS_LIMIT")
6. Activate:
activate_ruleset(ruleset_name="Tactical")
7. Verify:
tdwm://ruleset/Tactical/filter/BI_DASHBOARD_FILTER
→ Confirm filter routes to BI_ANALYTICS workload
tdwm://ruleset/Tactical/throttle/BI_ANALYTICS_LIMIT
→ Confirm throttle limit=15
8. Monitor (wait 10 minutes):
show_tdwm_summary
→ BI queries now in BI_ANALYTICS workload (not DEFAULT)
show_trottle_statistics
→ BI throttle active, limit enforced
Result: BI workload fully operational with routing and protection
Scenario: Ad-hoc queries overloading system, need immediate throttling
Discovery: SKIP - Emergency situation requires fast action
Execution (Fast):
1. Use emergency workflow:
tdwm://workflow/emergency-throttle
2. Create very restrictive throttle:
create_system_throttle(
ruleset_name="Tactical",
throttle_name="EMERGENCY_ADHOC_LIMIT",
throttle_type="DM",
limit=3, # Very restrictive
classification_criteria=[{
"description": "Emergency ad-hoc protection",
"type": "USER",
"value": "adhoc_*", # All ad-hoc users
"operator": "I"
}]
)
3. Enable and activate immediately:
enable_throttle(ruleset_name="Tactical", throttle_name="EMERGENCY_ADHOC_LIMIT")
activate_ruleset(ruleset_name="Tactical")
4. Monitor recovery (wait 60 seconds):
show_physical_resources
→ CPU should drop below 90%
5. Gradual relaxation:
modify_throttle_limit(
ruleset_name="Tactical",
throttle_name="EMERGENCY_ADHOC_LIMIT",
new_limit=5
)
activate_ruleset(ruleset_name="Tactical")
Wait, monitor, increase to 10 if stable
6. Cleanup when stable:
disable_throttle(ruleset_name="Tactical", throttle_name="EMERGENCY_ADHOC_LIMIT")
activate_ruleset(ruleset_name="Tactical")
Result: System stabilized in <5 minutes, gradual return to normal
Scenario: Year-end processing starting, activate YEAR_END workload with filters
Discovery:
1. list_WDs → YEAR_END workload exists (inactive)
2. tdwm://ruleset/Tactical/filter/YEAR_END_FILTER → Filter exists, disabled
3. tdwm://ruleset/Tactical/throttle/YEAR_END_LIMIT → Throttle exists, disabled
4. show_tdwm_summary → No year-end queries yet
Analysis:
Execution (Autonomous):
1. Enable year-end filter:
enable_filter_rule(
ruleset_name="Tactical",
filter_name="YEAR_END_FILTER"
)
2. Enable year-end throttle:
enable_throttle(
ruleset_name="Tactical",
throttle_name="YEAR_END_LIMIT"
)
3. Activate:
activate_ruleset(ruleset_name="Tactical")
4. Verify:
tdwm://ruleset/Tactical/filter/YEAR_END_FILTER
→ Confirm enabled=true
tdwm://ruleset/Tactical/throttle/YEAR_END_LIMIT
→ Confirm enabled=true
5. Monitor:
show_tdwm_summary
→ Year-end queries routing to YEAR_END workload
6. Schedule deactivation (manual reminder):
"Disable YEAR_END_FILTER and YEAR_END_LIMIT on January 5"
Result: Year-end workload active with proper routing and limits
Scenario: Power users need dedicated workload with higher limits
Discovery:
1. list_active_WD → POWER_USERS workload exists
2. show_query_band → Power users DON'T set query band
3. tdwm://ruleset/Tactical/filters → No power user filter exists
4. Power users identified by account='power_user_acct'
Analysis:
Execution (Autonomous):
1. Validate classification type:
tdwm://reference/classification-types
→ Confirm "ACCT" is valid
2. Create filter for account-based routing:
create_filter_rule(
ruleset_name="Tactical",
filter_name="POWER_USER_FILTER",
classification_criteria=[{
"description": "Power user account routing",
"type": "ACCT",
"value": "power_user_acct",
"operator": "I"
}],
action_type="ACCEPT",
workload_name="POWER_USERS"
)
3. Create throttle with higher limit:
create_system_throttle(
ruleset_name="Tactical",
throttle_name="POWER_USER_LIMIT",
throttle_type="DM",
limit=20, # Higher than normal users
classification_criteria=[{
"description": "Power user concurrency limit",
"type": "ACCT",
"value": "power_user_acct",
"operator": "I"
}]
)
4. Enable both:
enable_filter_rule(ruleset_name="Tactical", filter_name="POWER_USER_FILTER")
enable_throttle(ruleset_name="Tactical", throttle_name="POWER_USER_LIMIT")
5. Activate:
activate_ruleset(ruleset_name="Tactical")
6. Verify:
tdwm://ruleset/Tactical/filter/POWER_USER_FILTER
→ Confirm routes to POWER_USERS workload
tdwm://ruleset/Tactical/throttle/POWER_USER_LIMIT
→ Confirm limit=20
7. Monitor:
show_tdwm_summary
→ Power user queries in POWER_USERS workload
Result: Power users have dedicated workload with higher concurrency
Scenario: During Saturday maintenance, only maintenance queries should run
Discovery:
1. list_WDs → MAINTENANCE_ONLY workload exists
2. tdwm://ruleset/Tactical/filters → No maintenance filter exists
3. Need to block all non-maintenance queries during window
Analysis:
Execution (Autonomous):
1. Create maintenance filter (ACCEPT):
create_filter_rule(
ruleset_name="Tactical",
filter_name="MAINTENANCE_ACCEPT",
classification_criteria=[{
"description": "Allow maintenance user",
"type": "USER",
"value": "maint_user",
"operator": "I"
}],
action_type="ACCEPT",
workload_name="MAINTENANCE_ONLY"
)
2. Create blocking filter (REJECT):
create_filter_rule(
ruleset_name="Tactical",
filter_name="MAINTENANCE_BLOCK_ALL",
classification_criteria=[{
"description": "Block all non-maintenance queries",
"type": "USER",
"value": "*", # All users
"operator": "I"
}],
action_type="REJECT",
workload_name=None # REJECT doesn't need workload
)
3. Keep both DISABLED initially (will enable during maintenance):
# Don't enable yet - wait for maintenance window
4. Activate (makes filters available, but disabled):
activate_ruleset(ruleset_name="Tactical")
5. At maintenance start (Saturday 2 AM):
enable_filter_rule(ruleset_name="Tactical", filter_name="MAINTENANCE_ACCEPT")
enable_filter_rule(ruleset_name="Tactical", filter_name="MAINTENANCE_BLOCK_ALL")
activate_ruleset(ruleset_name="Tactical")
6. At maintenance end (Saturday 10 AM):
disable_filter_rule(ruleset_name="Tactical", filter_name="MAINTENANCE_ACCEPT")
disable_filter_rule(ruleset_name="Tactical", filter_name="MAINTENANCE_BLOCK_ALL")
activate_ruleset(ruleset_name="Tactical")
7. Verify normal operations resumed:
show_tdwm_summary
→ All workloads operational
Result: Maintenance window enforced, normal operations restored after
tdwm://ruleset/{name}/filters and tdwm://ruleset/{name}/throttles to exploretdwm://ruleset/{name}/pending-changes before activatingtdwm://reference/classification-typestdwm://reference/operatorsshow_tdwm_summaryshow_tasm_statisticsshow_trottle_statisticsshow_tasm_even_historyxiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience