postgresql-vacuum-deadlock-runbook
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "postgresql-vacuum-deadlock-runbook" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-249454b42d0ac0d1a331ad133d3840ed44c83de95265c2ae249b811f9d11fb5c. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/postgresql-vacuum-deadlock-runbook before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Automate PostgreSQL vacuum and autovacuum troubleshooting using the pg_stat_user_tables, pg_locks, and pg_stat_activity views. Use the pgstattuple extension to detect table bloat and generate repair SQL for long-running transaction conflicts.
Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: "PostgreSQL Vacuum 死锁运行手册"
slug: "postgresql-vacuum-deadlock-runbook"
version: "1.0.0"
displayName: "PostgreSQL Vacuum 死锁运行手册"
summary: "通过pg_stat_user_tables、pg_locks和pg_stat_activity视图自动化PostgreSQL vacuum和autovacuum故障排除。使用pgstattuple扩展检测表膨胀,并为长期运行事务冲突生成修复SQL。"
license: "MIT"
description: "通过pg_stat_user_tables、pg_locks和pg_stat_activity视图自动化PostgreSQL vacuum和autovacuum故障排除。使用pgstattuple扩展检测表膨胀,并为长期运行事务冲突生成修复SQL。"
github_stars: 13127
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
category: "Runbooks & Diagnostics"
framework: "Claude Agents"
tool_ecosystem:
github_repo: "1991513ccie-png/skills"
github_stars: 13127
npm_package: "pg"
npm_weekly_downloads: 23169914PostgreSQL Vacuum 死锁运行手册
Automates PostgreSQL vacuum and autovacuum troubleshooting via pg_stat_user_tables, pg_locks, and pg_stat_activity views. Detects table bloat using pgstattuple extension and generates remediation SQL for long-running transaction conflicts.
Installation
Use the upstream install or setup path that matches your environment:
- npm install pg
- From your workspace root run yarn and then yarn lerna bootstrap
- Run yarn test to run all the tests.
Requirements and caveats from upstream:
-
node-postgres
- Non-blocking PostgreSQL client for Node.js. Pure JavaScript and optional native libpq bindings.
Basic usage or getting-started notes:
-
Documentation
-
Each package in this repo should have its own readme more focused on how to develop/contribute. For overall documentation on the project and the related modules managed by this repo please see:
-
Features
-
Extracted from upstream docs: https://raw.githubusercontent.com/brianc/node-postgres/HEAD/README.md
Current listing version
1.0.0
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 针对PostgreSQL vacuum死锁这一明确的运维痛点提供专业解决方案
- 通过多视图自动化故障排除,显著提升数据库运维效率
Highlights
- description清晰准确地描述了Skill的功能和使用场景
- 触发词精准,边界清晰,便于用户理解适用场景
Areas to improve
-
缺少具体执行步骤和端到端示例 Reported severity: Minor
文档缺少具体的Phase划分、执行步骤和完整的端到端使用示例
Recommendation: 建议补充具体的执行流程步骤划分,并提供完整的端到端使用示例
Highlights
- 文档基本结构完整,包含安装说明和基础用法
Areas to improve
-
缺少详细的异常处理和确认机制说明 Reported severity: Minor
未详细说明参数配置、异常处理机制和不可逆操作的确认流程
Recommendation: 建议补充详细的参数说明、异常处理机制和关键操作的确认流程
Highlights
- 提到了必要的工具依赖和安装方式
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
-
Install or fetch external dependencies
Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.
Mentioned in main document · lines 28
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- github.com
- raw.githubusercontent.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.