trino-query-optimization
CommunityMake Trino queries faster with smarter plans
Authorivanshamaev
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It helps you diagnose and speed up slow Trino distributed SQL queries by improving filtering, projection, join strategy, dynamic filtering, and execution efficiency so the engine does less work and moves less data.
Core Features & Use Cases
- Filter and projection pushdown: ensures predicates and selected columns are applied as early as possible (e.g., avoiding full scans and SELECT *).
- Join optimization and dynamic filtering: chooses broadcast vs partitioned joins, improves join ordering via CBO/ANALYZE, and leverages runtime dynamic filters to reduce scanned data.
- Shuffle and session tuning: minimizes expensive repartitioning and adjusts session properties (memory, exchange compression, task parallelism) to reduce bottlenecks.
Quick Start
Ask the agent to optimize your slow Trino SQL by checking the execution plan for pushdown failures, inefficient projections, poor join strategy, missing partition pruning, excessive shuffles, and stale statistics, then propose revised SQL and relevant EXPLAIN/SKIIP checks.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: trino-query-optimization Download link: https://github.com/ivanshamaev/de-agent-skills/archive/main.zip#trino-query-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 471,000+ vetted skills library on demand.