Skills Plugins MCP Prompt Model 博客 我的中心
开发编程 #data #database

postgresql-optimization

PostgreSQL database optimization workflow for query tuning, indexing strategies, performance analysis, and production database management.

DeepseekModel 官方收录技能 质量 良好 · 64 v1.0.0

获取

https://deepseekmodel.com/api/download.php?id=bouclem-skills-skills-database-001-postgresql-optimization-skill-md&format=skill
下载 .skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用
.skill 文件中 system_prompt 字段的实际内容。
name postgresql-optimization description PostgreSQL database optimization workflow for query tuning, indexing strategies, performance analysis, and production database management. category granular-workflow-bundle risk safe source personal date_added 2026-02-27 PostgreSQL Optimization Workflow Overview Specialized workflow for PostgreSQL database optimization including query tuning, indexing strategies, performance analysis, vacuum management, and production database administration. When to Use This Workflow Use this workflow when: Optimizing slow PostgreSQL queries Designing indexing strategies Analyzing database performance Tuning PostgreSQL configuration Managing production databases Workflow Phases Phase 1: Performance Assessment Skills to Invoke database-optimizer - Database optimization postgres-best-practices - PostgreSQL best practices Actions Check database version Review configuration Analyze slow queries Check resource usage Identify bottlenecks Copy-Paste Prompts Use @database-optimizer to assess PostgreSQL performance Phase 2: Query Analysis Skills to Invoke sql-optimization-patterns - SQL optimization postgres-best-practices - PostgreSQL patterns Actions Run EXPLAIN ANALYZE Identify scan types Check join strategies Analyze execution time Find optimization opportunities Copy-Paste Prompts Use @sql-optimization-patterns to analyze and optimize queries Phase 3: Indexing Strategy Skills to Invoke database-design - Index design postgresql - PostgreSQL indexing Actions Identify missing indexes Create B-tree indexes Add composite indexes Consider partial indexes Review index usage Copy-Paste Prompts Use @database-design to design PostgreSQL indexing strategy Phase 4: Query Optimization Skills to Invoke sql-optimization-patterns - Query tuning sql-pro - SQL expertise Actions Rewrite inefficient queries Optimize joins Add CTEs where helpful Implement pagination Test improvements Copy-Paste Prompts Use @sql-optimization-patterns to optimize SQL queries Phase 5: Configuration Tuning Skills to Invoke postgres-best-practices - Configuration database-admin - Database administration Actions Tune shared_buffers Configure work_mem Set effective_cache_size Adjust checkpoint settings Configure autovacuum Copy-Paste Prompts Use @postgres-best-practices to tune PostgreSQL configuration Phase 6: Maintenance Skills to Invoke database-admin - Database maintenance postgresql - PostgreSQL maintenance Actions Schedule VACUUM Run ANALYZE Check table bloat Monitor autovacuum Review statistics Copy-Paste Prompts Use @database-admin to schedule PostgreSQL maintenance Phase 7: Monitoring Skills to Invoke grafana-dashboards - Monitoring dashboards prometheus-configuration - Metrics collection Actions Set up monitoring Create dashboards Configure alerts Track key metrics Review trends Copy-Paste Prompts Use @grafana-dashboards to create PostgreSQL monitoring Optimization Checklist Slow queries identified Indexes optimized Configuration tuned Maintenance scheduled Monitoring active Performance improved Quality Gates Query performance improved Indexes effective Configuration optimized Maintenance automated Monitoring in place Related Workflow Bundles database - Database operations cloud-devops - Infrastructure performance-optimization - Performance Limitations Use this skill only when the task clearly matches the scope described above. Do not treat the output as a substitute for environment-specific validation, testing, or expert review. Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Agent 识别该技能的关键词,点击任意一个即可复制。

该技能未提供触发词。

下载的 .skill 包内含以下字段。
字段 说明
format格式标识(skill/v1)
skill_id技能唯一 ID
name技能名称
version版本号
description技能描述
category所属分类(数组)
trigger_words触发词列表
tags标签列表
source来源标识
source_url来源链接(本页地址)
exported_at导出时间(每次下载生成)
system_prompt系统提示词正文
model_config模型参数:provider / model / temperature / max_tokens / top_p
examples示例
install_guide各平台导入说明(Coze / Dify / Claude / 自定义框架)
同一份技能可按不同平台格式导出。
.skill 标准格式,含 system_prompt 与 model_config,导入任意 Agent 框架即可使用 下载
.skillpro 增强格式,额外含脚本 / 工具 / 依赖 / 钩子占位 下载
.json 纯 JSON 导出,只含 system_prompt 与模型参数 下载
Coze 带 frontmatter 的 Markdown,Coze 平台导入用 下载
Dify Dify DSL,创建应用后直接导入 下载

每日精选 Skill 推荐,免费送到你邮箱

输入邮箱,每天接收一个精选 AI Agent 技能推荐。完全免费,持续更新。

验证码 --

提交后我们会发送一封确认邮件,点击邮件里的链接才会开始收信。

完全免费,取消任意时间。我们不会发送垃圾邮件。