Clavue Ability · 能力目錄
技能 · 研發工程

PostgreSQL 慢查詢調優

結合執行計畫、索引與統計資訊調優 PostgreSQL 慢查詢。

執行摘要

簡短回答:結合執行計畫、索引與統計資訊調優 PostgreSQL 慢查詢。。輸入是慢查詢、EXPLAIN ANALYZE 輸出、表結構、索引清單、行數,輸出是瓶頸診斷、索引 DDL、改寫後的查詢、驗證步驟。

本頁能力來自 Clavue Bot 內置目錄;不宣稱與任何第三方產品 1:1 對齊。

商業回報與使用場景

商業價值:

PostgreSQL 慢查詢調優 減少重複手工操作,更快拿到可復核的結果。

  • 相關需求主題: 研發編程

輸入輸出契約

輸入輸出工具 / 連接器
慢查詢、EXPLAIN ANALYZE 輸出、表結構、索引清單、行數瓶頸診斷、索引 DDL、改寫後的查詢、驗證步驟程式碼 · 檔案 · GitHub · Supabase

需先連接工具 · 涉及寄信、付款等動作時會先請你確認。

工作流程與操作說明

1

Parse the EXPLAIN ANALYZE plan for sequential scans and high-cost nodes.

2

Compare filter and join columns against existing indexes.

3

Check statistics freshness and row-count estimates.

4

Propose minimal index DDL or a rewritten query.

5

Explain expected impact and give a verification query.

涉及寄信、付款等動作時會先請你確認。

SKILL.md

# PostgreSQL 慢查詢調優

> 結合執行計畫、索引與統計資訊調優 PostgreSQL 慢查詢。

## 輸入輸出契約

- **輸入:** 慢查詢、EXPLAIN ANALYZE 輸出、表結構、索引清單、行數
- **輸出:** 瓶頸診斷、索引 DDL、改寫後的查詢、驗證步驟

## 工作流程與操作說明

2. Parse the EXPLAIN ANALYZE plan for sequential scans and high-cost nodes.
4. Compare filter and join columns against existing indexes.
6. Check statistics freshness and row-count estimates.
8. Propose minimal index DDL or a rewritten query.
10. Explain expected impact and give a verification query.

## 起手提示詞

```text
根據這份執行計畫調優這條 PostgreSQL 查詢。
```

起手提示詞

根據這份執行計畫調優這條 PostgreSQL 查詢。

常見問題

這是一項真實存在於 Clavue Bot 的能力嗎?

是的。本頁內容由產品內置目錄生成,能力名稱、輸入輸出與操作步驟都對應真實可用的場景、技能、MCP 工具或數字員工。

需要額外配置工具或連接器嗎?

標注「開箱即用」的能力無需額外工具;標注「需連接工具」的能力會列出所需連接器,首次運行時按提示授權即可。

它會未經確認就發郵件或付款嗎?

不會。寄信、付款、提交表單等對外動作會停下來先請你確認,你同意後才會繼續。

查看 Markdown 原文