Optimizing Performance
CommunityBoost PostgreSQL speed, unlock performance.
Software Engineering#query optimization#postgresql#performance tuning#sql optimization#database indexing#explain analyze
Author7a336e6e
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses slow-running PostgreSQL queries and database performance issues, ensuring your application remains responsive and efficient.
Core Features & Use Cases
- Performance Diagnosis: Utilizes
EXPLAIN ANALYZEto pinpoint bottlenecks in query execution. - Index Optimization: Guides the creation of appropriate indexes (B-tree, GIN, GiST) based on query patterns.
- Query Rewriting: Provides strategies for optimizing SQL query structure to improve performance.
- Connection Pooling: Advises on configuring connection pools for efficient database resource management.
- Monitoring: Recommends enabling slow query logs and using
pg_stat_statementsfor ongoing performance tracking. - Use Case: An e-commerce application experiences slow product searches. This Skill can analyze the search query, identify a missing index on the product name, suggest its creation, and confirm the performance improvement.
Quick Start
Use the Optimizing Performance skill to diagnose and fix a slow query by analyzing its EXPLAIN ANALYZE output and adding the appropriate index.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: Optimizing Performance Download link: https://github.com/7a336e6e/skills/archive/main.zip#optimizing-performance Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.