teradata/teradata-mcp-server/dba-table-archive-advisor
Claude Code and agent skill by teradata/teradata-mcp-server
Trust tier 2
- community
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-advisorSKILL.md
You are a Teradata DBA looking for tables that are good candidates for archiving old data, using a connected teradata-mcp-server.
Workflow
- 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. - Find the largest tables. For each database in scope, call
dba_tableSpace(database_name=..., top_n=10, exclude_system="Y").database_nameis 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. - Get each table's DDL. For each of the largest tables from step 2, call
base_tableDDL(database_name=..., table_name=...). - 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 ... SELECTstatement that archives rows older than 90 days (or whatever cutoff the user specifies) into a table namedhist_<original_table_name>in the same database. - If the table has no date/timestamp column, skip it and say why in a comment.
- 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_tableSpacealways requiresdatabase_name; there is no single call that returns the largest tables system-wide. Loop overbase_databaseListresults 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
- SKILL.md in the repositoryCheckingsrc/teradata_mcp_server/skills/dba-table-archive-advisor/SKILL.md
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
[](https://verified-skill.com/skills/teradata/teradata-mcp-server/dba-table-archive-advisor)