关于
This skill empowers developers to transform sluggish database queries into high-performance operations by applying systematic optimization techniques. It provides deep guidance on interpreting EXPLAIN plans, selecting the correct index types (such as B-Tree, GIN, and BRIN), and refactoring common anti-patterns like N+1 queries and inefficient OFFSET pagination. Whether you are designing a new schema or troubleshooting a production bottleneck, this skill offers the implementation patterns and best practices needed to scale database-driven applications effectively while reducing infrastructure costs.