Skip to content
Skills Library
Data & analytics · Planning

warehouse-performance-and-cost-optimization

/warehouse-performance-and-cost-optimization

Guides agents through warehouse performance and cost decisions. Use when optimizing BigQuery, Snowflake, Redshift, Athena, Synapse, or lakehouse query patterns, storage layout, and workload isolation.

Licence
MIT
Last repository change
13.06.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 13.06.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Guides agents through warehouse performance and cost decisions. Use when optimizing BigQuery, Snowflake, Redshift, Athena, Synapse, or lakehouse query patterns, storage layout, and workload isolation.

Original author description

Guides agents through warehouse performance and cost decisions. Use when optimizing BigQuery, Snowflake, Redshift, Athena, Synapse, or lakehouse query patterns, storage layout, and workload isolation.

How it works

  1. Overview
  2. When to Use
  3. Workflow
  4. Common Rationalizations
  5. Red Flags
  6. Verification
Original SKILL.md headings · 70 lines, 309 words
SKILL.md preview
---
name: warehouse-performance-and-cost-optimization
description: Guides agents through warehouse performance and cost decisions. Use when optimizing BigQuery, Snowflake, Redshift, Athena, Synapse, or lakehouse query patterns, storage layout, and workload isolation.
---

# Warehouse Performance And Cost Optimization

## Overview

Use this skill when data is correct but too slow or too expensive. It helps agents treat performance and cost as measurable design concerns rather than guesswork.

## When to Use

- slow warehouse queries
- runaway compute or scan cost
- poor partitioning or clustering choices
- overloaded workloads competing on shared compute
- repeated complaints about expensive marts or dashboards

Do not optimize blindly. Start from observed cost or performance signals.

## Workflow

1. Identify the real bottleneck.
   Measure:
   - scan volume
   - slot or warehouse usage
   - partition pruning
   - join behavior
   - concurrency patterns

2. Classify the problem.
   Common buckets:
   - physical design
   - SQL pattern
   - workload isolation
   - storage layout
   - refresh frequency

3. Fix the cheapest high-impact issue first.
   Examples:
   - partitioning
   - clustering
   - pre-aggregation
   - materialization change
   - compute right-sizing

4. Keep business correctness stable while optimizing.

5. Record the trade-off.
   Faster is not always cheaper, and cheaper is not always acceptable.

## Common Rationalizations

| Rationalization | Reality |
| --- | --- |
| "We just need a bigger warehouse." | More compute often hides poor layout or query design. |
| "Optimization can wait until later." | Cost debt compounds quickly in shared platforms. |
| "The query only runs once a day." | Expensive daily jobs can still be major recurring waste. |

## Red Flags

- performance work starts with no baseline measurement
- cost issues are blamed on the platform alone
- optimizations change business logic without validation
- the same expensive pattern repeats across many models

## Verification

- [ ] Baseline cost or performance metrics exist
- [ ] The bottleneck category is identified
- [ ] The change preserves correctness while improving performance or cost
- [ ] The resulting trade-off is documented

Versions

The database has no other skills named warehouse-performance-and-cost-optimization.

Database snapshot: 13.11.2026 · package version 5ef6d6d10923 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100cloud-data-warehouse-operations-snowflake-bigquery-redshift
    Comparative operations guide for the three dominant managed cloud data warehouses: Snowflake virtual warehouse sizing and multi-cluster scaling, BigQuery slot allocation and on-demand vs. capacity pricing, and Redshift cluster/RA3 node sizing and workload management (WLM) — plus…
  • 100setup-warehouse
    Set up a data warehouse for Confidence experimentation analytics. Use when the user asks to connect a warehouse, set up BigQuery/Snowflake/Databricks/Redshift, or configure data connectors.
  • 90data-data-warehouse
    Use this skill when asked about data warehouse, Snowflake, BigQuery, Redshift, star schema, snowflake schema, OLAP, dimensional modeling, fact tables, dimension tables, or data warehouse optimization. This skill enforces: dimensional modeling with star schema, platform-specific…
  • 95setup-warehouse-redshift
    Set up Redshift as a data warehouse for Confidence. Use when the user chose Redshift for warehouse setup.
  • 100data-warehouse-engineer
    Design and implement data warehouses. Cover star/snowflake schemas, dimensional modeling, SQL optimization, ETL/ELT patterns, partitioning strategies, and warehouse-specific features (Snowflake, BigQuery, Redshift). Triggers on "design star schema", "optimize SQL query", "build…
  • 95data-warehouse
    Use when designing, building, or optimizing enterprise data warehouses — Kimball vs Inmon methodology, dimensional and normalized modeling, slowly changing dimensions, ETL/ELT pipeline design, partitioning and distribution strategies, materialized views, query optimization, data…

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.