What problem does it solve?
This Skill helps you reduce slow Trino query performance caused by inefficient Iceberg file layout, especially when small files cause excessive split counts or when file-level pruning is ineffective.
Core Features & Use Cases
- Select optimal table file format (Parquet vs ORC) for Trino+Iceberg workloads, defaulting to Parquet and using ORC when migrating from Hive or requiring ORC-specific stripe statistics.
- Tune file sizing and row group behavior by adjusting
iceberg.target-max-file-size and Parquet row group settings to improve compression and pruning effectiveness.
- Increase data skipping and reduce wasted reads using
sorted_by (min/max skipping) and Bloom filter indexes for equality-heavy predicates.
- Detect and remediate small-file pathologies with targeted Iceberg
OPTIMIZE compaction strategies, plus split/parallelism tuning and partition granularity guidance.
- Use health-check SQL to quantify small files, oversized files, and overall table health from Iceberg metadata tables.
Quick Start
Ask the AI to propose an Iceberg layout plan for your Trino workload and generate the specific CREATE TABLE/property changes and OPTIMIZE commands to reduce small files and improve pruning.