Skip to content
Back to skills

Dw Performance Optimization

ASecurity

Step 7/8 性能优化:分析 ETL SQL 的分区裁剪、JOIN 策略、数据倾斜与 扫描预算,输出带证据级别的优化建议。适用于任务上线前或超时排查。

  • 6 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 16, 2026
ai-agentsbashsqlperformance

Security analysis

A100/100

Scanned November 16, 2026

npx -y skills add pugyy/dw-harness --skill dw-performance-optimization --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Dw Performance Optimization?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Dw Performance Optimization
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/pugyy-dw-performance-optimization/badge)](https://www.skillsdirectory.com/skills/pugyy-dw-performance-optimization)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: dw-performance-optimization
description: >
  Step 7/8 性能优化:分析 ETL SQL 的分区裁剪、JOIN 策略、数据倾斜与
  扫描预算,输出带证据级别的优化建议。适用于任务上线前或超时排查。
argument-hint: "[表名]"
allowed-tools: Read, Grep, Glob, Bash(dw plan:*)
---

# Step 7: 性能优化

## 执行流程

1. 表结构/血缘交给 `dw-explorer`(防刷屏)
2. SQL 层:全表扫描 / 分区裁剪 / 小表驱动 / 倾斜 / GROUP BY 优化
3. 扫描预算:回填/大范围任务先出预演(`dw plan backfill`,COST SQL 未执行时如实标"未知")
4. 每条建议标注:来自确定性命令(EXPLAIN/COST SQL)还是静态判断

## 交付物

`07_perf.md`:瓶颈 → 建议(预期收益/改动难度)→ 证据级别(实测 / 静态判断 / 未知)

## 规则

- 不臆造执行计划;拿不到就写 UNVERIFIED
- StarRocks `EXPLAIN ANALYZE` 会实际执行,禁止在预演阶段使用

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.