Skip to content

Add pre-aggregate best practices and semantic layer note#527

Merged
IrakliJani merged 2 commits intomainfrom
mintlify/pre-aggregates-best-practices-1775130321
Apr 2, 2026
Merged

Add pre-aggregate best practices and semantic layer note#527
IrakliJani merged 2 commits intomainfrom
mintlify/pre-aggregates-best-practices-1775130321

Conversation

@mintlify
Copy link
Copy Markdown
Contributor

@mintlify mintlify bot commented Apr 2, 2026

Summary

  • Added a tip about date granularity behavior: day-level pre-aggregates serve day/week/month/quarter/year queries, while month-level only serves month/quarter/year (not day or week)
  • Added best practice guidance to prefer multiple small, focused pre-aggregates over a single large one with all metrics and dimensions
  • Documented that any query through the Lightdash semantic layer (app, API, MCP, AI agents, Embed SDK, React SDK) can hit pre-aggregate cache

Files changed

  • references/pre-aggregates/overview.mdx — granularity tip + semantic layer note
  • references/pre-aggregates/getting-started.mdx — best practice on small pre-aggregates

@mintlify
Copy link
Copy Markdown
Contributor Author

mintlify bot commented Apr 2, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
lightdash 🟢 Ready View Preview Apr 2, 2026, 11:47 AM

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 2, 2026

🤖 Documentation Bot

All checks passed! No issues found.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 2, 2026

🤖 Documentation Bot

All checks passed! No issues found.

@IrakliJani IrakliJani merged commit 3628b32 into main Apr 2, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant