Skip to content
Skills Library
Data & analytics · Building & coding

role-database:data-warehouse-olap

/role-database:data-warehouse-olap

Deep operational guide for 14 data warehouse/OLAP databases. Snowflake (warehouses, clustering, Snowpark, cost), BigQuery (slots, BQML, BI Engine), Databricks (Delta Lake, Unity Catalog, Photon), Redshift (distribution, Spectrum, Serverless), DuckDB (in-process, Parquet), Trino, Hive, Doris, Firebolt. Use when implementing data warehouses, analytics pipelines, or OLAP workloads.

Licence
MIT
Last repository change
24.07.2026

Assessment and security

80/ 100Class: good
Format15 / 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.
Content25 / 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
6
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 24.07.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

Deep operational guide for 14 data warehouse/OLAP databases. Snowflake (warehouses, clustering, Snowpark, cost), BigQuery (slots, BQML, BI Engine), Databricks (Delta Lake, Unity Catalog, Photon), Redshift (distribution, Spectrum, Serverless), DuckDB (in-process, Parquet), Trino, Hive, Doris, Firebolt. Use when implementing data warehouses, analytics pipelines, or OLAP workloads.

Original author description

Deep operational guide for 14 data warehouse/OLAP databases. Snowflake (warehouses, clustering, Snowpark, cost), BigQuery (slots, BQML, BI Engine), Databricks (Delta Lake, Unity Catalog, Photon), Redshift (distribution, Spectrum, Serverless), DuckDB (in-process, Parquet), Trino, Hive, Doris, Firebolt. Use when implementing data warehouses, analytics pipelines, or OLAP workloads.

How it works

  1. When to Use This Skill
  2. Selection Matrix
  3. Core Principles
  4. Reference Files
Original SKILL.md headings · 40 lines, 379 words
SKILL.md preview
---
name: role-database:data-warehouse-olap
description: |
  Deep operational guide for 14 data warehouse/OLAP databases. Snowflake (warehouses, clustering, Snowpark, cost), BigQuery (slots, BQML, BI Engine), Databricks (Delta Lake, Unity Catalog, Photon), Redshift (distribution, Spectrum, Serverless), DuckDB (in-process, Parquet), Trino, Hive, Doris, Firebolt. Use when implementing data warehouses, analytics pipelines, or OLAP workloads.
allowed-tools: Read, Grep, Glob, Bash
---

You are a data warehouse and OLAP specialist informed by the Software Engineer by RN competency matrix.

## When to Use This Skill

Use when implementing data warehouses, analytics pipelines, OLAP query engines, or when selecting between cloud-managed and self-hosted analytical databases.

## Selection Matrix

| Database | Architecture | Cost Model | Best For |
|----------|-------------|------------|----------|
| Snowflake | Shared data, separate compute | Credits per second | General-purpose DW, data sharing |
| BigQuery | Serverless columnar | Bytes scanned / slots | GCP-native analytics, ML (BQML) |
| Databricks | Lakehouse (Delta Lake) | DBUs | Unified analytics + ML + streaming |
| Redshift | MPP columnar | Instance / Serverless RPU | AWS-native, predictable cost |
| DuckDB | In-process columnar | Free (open-source) | Local analytics, embedded OLAP |
| Trino | Distributed query engine | Compute-only | Data federation, multi-source |
| Doris | MPP columnar | Self-hosted | Real-time analytics, MySQL compat |
| Firebolt | Cloud DW, sparse indexes | Compute + storage | Semi-structured, fast point queries |

> Apache Druid, StarRocks, ClickHouse, and Vertica have detailed coverage in the columnar-databases skill.

## Core Principles

- Partition key / distribution key is the most consequential design decision — get it right first
- Materialized views and pre-aggregations are cheaper than repeated heavy queries
- Data tiering: hot (30 days in fast storage) → warm (1 year) → cold (archive/object storage)
- DuckDB as the default for local or embedded analytics — no server required
- Trino for federating queries across existing data sources without moving data

## Reference Files

Load the relevant reference file when you need implementation details:

- **references/snowflake.md** — warehouse sizing, clustering keys, time travel, zero-copy cloning, Snowpark DataFrames/UDFs, streams/tasks/DAGs, Snowpipe, data sharing, security policies
- **references/bigquery.md** — slot management, partitioning/clustering, BQML model training/prediction, BI Engine, Storage Write API, BigQuery Omni, BigLake, cost control, security
- **references/databricks-redshift.md** — Delta Lake ACID/time travel/MERGE/CDF, Unity Catalog, Photon, Databricks SDK; Redshift distribution styles, sort keys, Spectrum, Serverless, materialized views
- **references/duckdb-trino-others.md** — DuckDB in-process queries on Parquet/CSV/Arrow/S3, Trino federated SQL, Apache Hive/LLAP/Tez, Apache Doris stream load, Firebolt sparse indexes
- **references/dw-design-patterns.md** — star/snowflake schema, SCD types 1/2/3, Data Vault 2.0, OLAP window functions, cost optimization strategies for all platforms
Files in this package (6)
  • SKILL.md 3 KB
  • references/bigquery.md 5 KB
  • references/databricks-redshift.md 3 KB
  • references/duckdb-trino-others.md 4 KB
  • references/dw-design-patterns.md 4 KB
  • references/snowflake.md 4 KB

Versions

The database has no other skills named role-database:data-warehouse-olap.

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

Downloads in the last 30 days: 3 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 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.
  • 90duckdb
    DuckDB as an analytics and OLAP engine: analytical query patterns, Parquet/Arrow analytics, BI tool integration (Tableau, Power BI, Superset via JDBC/ODBC), local-first analytics, and data warehouse replacement at small-to-medium scale. Use when connecting DuckDB to a BI tool,…
  • 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…
  • 95evidence-data-sources
    Use when configuring Evidence.dev data sources — BigQuery, PostgreSQL, MySQL, DuckDB, Snowflake, CSV, SQLite, Motherduck, Databricks, Redshift, Trino, Google Sheets and JavaScript sources.
  • 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…
  • 100agent-data-engineer
    Specialist subagent: ETL pipelines, data warehousing, stream processing, and data infrastructure specialist. Use when building data pipelines, setting up warehouses, or implementing real-time data processing. Trigger phrases: ETL, pipeline, data warehouse, BigQuery, Snowflake,…

Feedback and reports

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