Dremio Lakehouse Modeling

Design and optimize Dremio lakehouse data models with medallion architecture and Iceberg tables.

Updated Mar 6, 2026
One-click install
npx skills add https://github.com/developer-advocacy-dremio/dremio-skills-bundle --skill dremio-lakehouse-modeling
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Dremio Lakehouse Modeling
Source: https://github.com/developer-advocacy-dremio/dremio-skills-bundle/tree/main/dremio-lakehouse-modeling-skill
Command: npx skills add https://github.com/developer-advocacy-dremio/dremio-skills-bundle --skill dremio-lakehouse-modeling

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps architects and engineers design consistent, performant, and maintainable data models in a Dremio lakehouse so analytics and ML teams can query fresh, accurate data without costly performance surprises.

Core Features & Use Cases

  • Medallion guidance: Concrete patterns for Bronze (raw), Silver (clean/conformed), and Gold (consumption) layers and when to materialize as tables versus views.
  • Performance tuning: Reflection strategies, partitioning rules, LOCALSORT recommendations, and maintenance schedules (OPTIMIZE, VACUUM).
  • Modeling patterns: Dimensional star schema guidance, SCD Type 2 via MERGE, semantic layer organization, and tagging/documentation practices for governance.

Quick Start

Ask the agent to design a medallion-based lakehouse model for my ecommerce events with partitioning, reflections, and SCD handling.

Frequently Asked Questions about Dremio Lakehouse Modeling

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I design a medallion architecture in a Dremio lakehouse?

A Dremio lakehouse medallion architecture separates data into Bronze, Silver, and Gold layers. Bronze holds raw data, Silver contains conformed datasets, and Gold serves consumption. You choose between materializing layers as Iceberg tables or virtual views based on query performance and data freshness requirements.

When should I use Iceberg tables versus views for lakehouse data modeling?

Use Iceberg tables for durable storage, ACID transactions, and upserts via MERGE in Bronze and Silver layers. Use views to apply transformations, combine datasets, and expose semantic layers without duplicating storage, ensuring analytics teams query fresh data without managing physical data copies.

How do I optimize query performance with reflections and partitioning in Dremio?

Optimize Dremio query performance by creating reflections to accelerate analytical workloads and applying partitioning strategies to prune data scans. Use LOCALSORT to physically cluster data, and schedule operational commands like OPTIMIZE and VACUUM to compact files and maintain table health.

What is the best way to implement SCD Type 2 in an Iceberg table using Dremio?

Implement SCD Type 2 in an Iceberg table using the MERGE statement in Dremio. This pattern tracks historical changes by matching source and target rows, updating existing records to close historical periods, and inserting new rows to capture current dimensional attribute changes accurately.

Does Dremio support dimensional modeling and semantic layer organization for analytics?

Dremio supports dimensional modeling by enabling star schema designs for analytics and ML pipelines. You organize semantic layers using views, apply tagging and documentation practices for governance, and expose curated Gold layer datasets to consumption teams for consistent and accurate reporting.