encyclopegia.org

Star schema

In computing, the star schema or star model is the simplest style of data mart schema and is the approach most widely used to develop data warehouses and dimensional data marts.[src] The star schema consists of one or more fact tables referencing any number of dimension tables.[src] The star schema is an important special case of the snowflake schema, and is more effective for handling simpler queries.[src] The star schema gets its name from the physical model's resemblance to a star shape with a fact table at its center and the dimension tables surrounding it representing the star's points.[src]

In computing, the star schema or star model is the simplest style of data mart schema and is the approach most widely used to develop data warehouses and dimensional data marts.[src] The star schema consists of one or more fact tables referencing any number of dimension tables.[src] The star schema is an important special case of the snowflake schema, and is more effective for handling simpler queries.[src] The star schema gets its name from the physical model's resemblance to a star shape with a fact table at its center and the dimension tables surrounding it representing the star's points.[src] === Fact tables=== Fact tables record measurements or metrics for a specific event.[src] Fact tables generally consist of numeric values, and foreign keys to dimensional data where descriptive information is kept.[src] Fact tables are designed to a low level of uniform detail (referred to as "granularity" or "grain"), meaning facts can record events at a very atomic level.[src] This can result in the accumulation of a large number of records in a fact table over time.[src] Fact tables are defined as one of three types: Transaction fact tables record facts about a specific event (e.g., sales events) Snapshot fact tables record facts at a given point in time (e.g., account details at month end) Accumulating snapshot tables record aggregate facts at a given point in time (e.g., total month-to-date sales for a product) Fact tables are generally assigned a surrogate key to ensure each row can be uniquely identified.[src] This key is a simple primary key.[src] SELECT P.Brand, S.Country AS Countries, SUM(F.Units_Sold) FROM Fact_Sales F INNER JOIN Dim_Date D ON (F.Date_Id = D.Id) INNER JOIN Dim_Store S ON (F.Store_Id = S.Id) INNER JOIN Dim_Product P ON (F.Product_Id = P.Id) WHERE D.Year = 1997 AND P.Product_Category = 'tv' GROUP BY P.Brand, S.Country[src]

15 sentences · 15 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Star schema." encyclopegia.org, 2025, https://encyclopegia.org/wiki/star-schema. Accessed 02 December 2026.

Chicago

"Star schema." encyclopegia.org. Accessed December 2, 2026. https://encyclopegia.org/wiki/star-schema.

APA

encyclopegia.org. (2025). Star schema. Retrieved December 2, 2026, from https://encyclopegia.org/wiki/star-schema

Accessed December 2, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Star Trek

stub · references available

giant star

stub · references available

circumpolar star

stub · references available

Sagittarius Star Cloud

stub · references available

Barnard's Star

stub · references available

XML Schema

stub · references available

Death Star

stub · references available

Star Destroyer

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1306074452 · 0.5 · snapshot enwiki-001306074452

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.