Data & AI glossary
Star schema
A way of organising a warehouse around a central table of measured events, sales for example, linked to tables that describe them: products, customers, dates.
IN PRACTICE
Facts at the centre, axes around them.
At the centre, the fact table: one row per sale. Around it, the dimensions: store, product, date, customer. Drawn out, the whole has the shape of a star. This organisation, formalised by Ralph Kimball, remains the most widespread because BI tools understand it well and the business teams find their way around it: “sales by product and by month” reads directly.
Example: a distributor puts its till receipt lines at the centre. Adding analysis by salesperson amounts to adding a branch.
The opposite pitfall is the single big table where everything is flattened. Convenient at first, it becomes unmanageable as soon as a second subject arrives (stock, targets), with a different level of detail. Amounts then get duplicated without anyone noticing.
GO FURTHER
Read next.
WHAT COMES NEXT, WE BUILD TOGETHER
Your next project
starts with a conversation.
An idea, a pain point, a project to kick off? Let’s talk about what would make a difference for your teams.
Let’s talk about your project