trino-query-cost-analyzer

Official

Predict query costs and optimize Trino plans.

Authorrazorpay
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Analyze Trino query costs by examining query plans, CPU/memory usage, and historical data to predict costs, identify expensive queries, and guide cost-saving optimizations in Trino deployments.

Core Features & Use Cases

  • Predict query cost before execution to avoid expensive runs.
  • Analyze expensive queries and suggest concrete optimizations to reduce resource usage.
  • Understand query execution plans and extract actionable insights from EXPLAIN outputs.
  • Compare predicted costs with historical data to validate improvements and track trends.

Quick Start

Provide a SQL query or file to Claude and request a cost prediction with notes on optimization options.

Dependency Matrix

Required Modules

trino

Components

scriptsreferences

💻 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-cost-analyzer
Download link: https://github.com/razorpay/trino-gateway/archive/main.zip#trino-query-cost-analyzer

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.