aggregation-optimization
CommunityOptimize SQL aggregation performance.
AuthorSolidLao
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses the performance bottlenecks in SQL queries involving aggregation functions (SUM, AVG, COUNT, MIN, MAX) and GROUP BY clauses, ensuring faster query execution.
Core Features & Use Cases
- Dynamic Strategy Selection: Chooses the optimal aggregation algorithm (hash, sorted, partitioned, etc.) based on group cardinality, memory availability, and hardware characteristics.
- Precision Management: Handles floating-point precision issues for large sums to maintain accuracy.
- Use Case: When running complex analytical queries on large datasets with many groups, this Skill ensures the aggregation phase doesn't become the primary performance bottleneck by selecting the most efficient method.
Quick Start
Optimize the aggregation strategy for a SQL query involving a GROUP BY clause on a large table.
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: aggregation-optimization Download link: https://github.com/SolidLao/GenDB/archive/main.zip#aggregation-optimization 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.