Degenerate dimension

Degenerate dimension

Contents

The Kimball definition

According to Ralph Kimball [1], in a data warehouse, a degenerate dimension is a dimension key in the fact table that does not have its own dimension table, because all the interesting attributes have been placed in analytic dimensions. The term "degenerate dimension" was originated by Ralph Kimball.

As Anand Maheshwari,[2]

Degenerate dimensions commonly occur when the fact table's grain is a single transaction (or transaction line). Transaction control header numbers assigned by the operational business process are typically degenerate dimensions, such as order, ticket, credit card transaction, or check numbers. These degenerate dimensions are natural keys of the "parents" of the line items.

Even though there is no corresponding dimension table of attributes, degenerate dimensions can be quite useful for grouping together related fact tables rows. For example, retail point-of-sale transaction numbers tie all the individual items purchased together into a single market basket. In health care, degenerate dimensions can group the claims items related to a single hospital stay or episode of care.

Other uses of the term

Although most writers and practitioners use the term degenerate dimension correctly, it is very easy to find misleading definitions in online and printed sources. For example, the Oracle FAQ defines a degenerate dimension as a "data dimension that is stored in the fact table rather than a separate dimension table. This eliminates the need to join to a dimension table. You can use the data in the degenerate dimension to limit or 'slice and dice' your fact table measures."[3]

This common interpretation implies that it is good dimensional modeling practice to place dimension attributes in the fact table, as long as you call them a degenerate dimension. This is not the case; the concept of degnerate dimension was developed by Kimball to support a specific, well-defined exception to the otherwise ironclad rule that dimension attributes are always pulled out into dimension tables.

See also

External reference

Kimball University: Another Look At Degenerate Dimensions

Notes

  1. ^ Kimball, Ralph; Ross, Margy (2002). The Data Warehouse Toolkit: The Complete Guide to Dimensional Modeling (Second Edition). Indianapolis, IN: John Wiley & Sons. pp. 50, 398. ISBN 0-471-20024-72002. 
  2. ^ Bob Becker (Kimball Group) (2003). "Another Look at Degenerate Dimensions". Kimball Group, Design Tips (46). http://www.kimballgroup.com/html/designtipsPDF/DesignTips2003/KimballDT46AnotherLook.pdf. 
  3. ^ "Degenerate dimension". Oracle FAQ's. http://orafaq.com/wiki/Degenerate_dimension. Retrieved 31 July 2011. 

References


Wikimedia Foundation. 2010.

Игры ⚽ Нужно сделать НИР?

Look at other dictionaries:

  • Dimension (data warehouse) — This article is about a dimension in a data warehouse. For other uses, see dimension (disambiguation). In a data warehouse, a dimension is a data element that categorizes each item in a data set into non overlapping regions. A data warehouse… …   Wikipedia

  • Degenerate conic — Main article: Conic section In mathematics, a degenerate conic is a conic (degree 2 plane curve, the zeros of a degree 2 polynomial equation, a quadratic) that fails to be an irreducible curve. This can happen in two ways: either it is a… …   Wikipedia

  • Dimension table — In data warehousing, a dimension table is one of the set of companion tables to a fact table. The fact table contains business facts or measures and foreign keys which refer to candidate keys (normally primary keys) in the dimension tables.… …   Wikipedia

  • Clifford algebra — In mathematics, Clifford algebras are a type of associative algebra. They can be thought of as one of the possible generalizations of the complex numbers and quaternions.[1][2] The theory of Clifford algebras is intimately connected with the… …   Wikipedia

  • Morse theory — Morse function redirects here. In another context, a Morse function can also mean an anharmonic oscillator: see Morse potential In differential topology, the techniques of Morse theory give a very direct way of analyzing the topology of a… …   Wikipedia

  • The vector of a quaternion — In the 19th century, the vector of a quaternion written Vq was a well defined mathematical entity in the classical quaternion notation system. This article is written using classical nomenclature. In this article the word vector means the… …   Wikipedia

  • General linear group — Group theory Group theory …   Wikipedia

  • Exponential family — Not to be confused with the exponential distribution. Natural parameter links here. For the usage of this term in differential geometry, see differential geometry of curves. In probability and statistics, an exponential family is an important… …   Wikipedia

  • Cerf theory — In mathematics, at the junction of singularity theory and differential topology, Cerf theory is the study of families of smooth real valued functions on a smooth manifold M, their generic singularities and the topology of the subspaces these… …   Wikipedia

  • Linear system of divisors — A linear system of divisors algebraicizes the classic geometric notion of a family of curves, as in the Apollonian circles. In algebraic geometry, a linear system of divisors is an algebraic generalization of the geometric notion of a family of… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”