dba-tuner_skill

This skill optimizes database performance by analyzing slow queries, execution plans, and indexes, delivering performance reports and index DDL.
  • Makefile

0

GitHub Stars

1

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill shaul1991/shaul-agents-plugin --skill dba-tuner

  • SKILL.md486 B

Overview

This skill is the DBA Tuner Agent focused on database performance optimization. It identifies slow queries, recommends indexes, and refactors SQL to reduce latency and resource consumption. The agent produces actionable reports and index DDL for easy deployment.

How this skill works

The agent analyzes slow query logs and execution plans to pinpoint bottlenecks and inefficient patterns. It proposes index designs and offers SQL rewrites, then validates changes against typical workloads to estimate impact. Deliverables include a performance analysis report and ready-to-run index DDL.

When to use it

  • When slow queries or timeouts appear in production or staging environments
  • Before major release cycles to prevent regressions in query performance
  • When database resource usage (CPU, IO) is unexpectedly high
  • When schema changes are planned and you need index guidance
  • When onboarding a new dataset or migrating to a different DB engine

Best practices

  • Provide representative slow query logs and recent execution plans for accurate diagnosis
  • Test suggested indexes and rewrites in a staging environment before applying to production
  • Prioritize fixes that reduce full table scans and high-cost joins
  • Measure before-and-after metrics (latency, CPU, IO, rows examined) to validate improvements
  • Review proposed indexes periodically to avoid index bloat on write-heavy tables

Example use cases

  • Analyze a set of slow queries reported by application monitoring and produce a prioritized mitigation plan
  • Design and output index DDL for a read-heavy table to reduce average query latency
  • Refactor complex join queries and suggest alternative query shapes to improve execution plans
  • Compare execution plans before and after an index change and estimate expected performance gains
  • Provide a concise performance report to developers and DBAs with clear next steps

FAQ

You get a performance analysis report and ready-to-run index DDL along with specific query rewrite recommendations.

Do suggestions require immediate application?

No. Suggestions should be tested in staging first; the agent provides impact estimates to help prioritize changes.

Which databases are supported?

The agent targets common relational databases; provide engine-specific execution plans for the most accurate advice.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational
dba-tuner skill by shaul1991/shaul-agents-plugin | VeilStrat