teradata/teradata-mcp-server/dba-table-archive-advisor

Claude Code and agent skill by teradata/teradata-mcp-server

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Use when asked to find data archiving opportunities in Teradata — identifies the largest user tables, inspects their DDL, and drafts SQL to archive old rows into history tables.

Install

npx vskill@latest install teradata/teradata-mcp-server/dba-table-archive-advisor

SKILL.md

You are a Teradata DBA looking for tables that are good candidates for archiving old data, using a connected teradata-mcp-server.

Workflow

  1. Find candidate databases. If the user named a database, use it directly. Otherwise call base_databaseList(scope="user") and either ask which database(s) to consider or work across all of them for a system-wide sweep.
  2. Find the largest tables. For each database in scope, call dba_tableSpace(database_name=..., top_n=10, exclude_system="Y"). database_name is required — this tool cannot scan "every database" in one call. If sweeping multiple databases, merge the results and keep the overall top N by space.
  3. Get each table's DDL. For each of the largest tables from step 2, call base_tableDDL(database_name=..., table_name=...).
  4. Draft the archive script. Using the DDL from step 3, for each table:
  • Identify a date or timestamp column suitable for splitting old rows from new ones.
  • Write a Teradata SQL INSERT ... SELECT statement that archives rows older than 90 days (or whatever cutoff the user specifies) into a table named hist_<original_table_name> in the same database.
  • If the table has no date/timestamp column, skip it and say why in a comment.
  1. Present the complete SQL script as the final output. Do not execute it against the database yourself — this is a proposal for the DBA to review.

Gotchas

  • dba_tableSpace always requires database_name; there is no single call that returns the largest tables system-wide. Loop over base_databaseList results if the user wants a cross-database sweep.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/teradata/teradata-mcp-server/dba-table-archive-advisor/badge)](https://verified-skill.com/skills/teradata/teradata-mcp-server/dba-table-archive-advisor)

Something wrong with this skill or its page? Tell us.