Вы находитесь на странице: 1из 1

>>When the cardinality of column value is high, instead of maintaining a separate

dimension and having the overhead of making a


join with fact table, degenerated dimensions can be build.
>>A Degenerate dimension is a Dimension which has only a single attribute.
This dimension is typically represented as a single field in a fact table.
>>Degenerated dimension is a dimension which is not having any source in oltp
it is generated at the time of transaction

-----------------------------------------------------------------------------------
---------------------------------------------

Degenerated dimension is a dimension which is not having any source in oltp


it is generated at the time of transaction
like invoice no this is generated when the invoice is raised
it is not used in linking and it is also not a fkey
but we can reffer these degenerated dimensions as a primary key of the fact table .

A Degenerate dimension is a Dimension which has only a single attribute.


This dimension is typically represented as a single field in a fact table.
The data items thar are not facts and data items that do not fit into the existing
dimensions are termed as Degenerate Dimensions.
Degenerate Dimensions are the fastest way to group similar transactions.
Degenerate Dimensions are used when fact tables represent transactional data.
They can be used as primary key for the fact table but they cannot act as foreign
keys.

For example, in sales fact table, Invoice number is a degenerated dimension.


Since Invoice Number is not tied up to an order header table, hence there is no
need for invoice number to join a dimensional table;
hence it is referred as degenerate dimension

Degenerate dimension: A column of the key section of the


fact table that does not have the associated dimension
table but used for reporting and analysis, such column is
called degenerate dimension or line item dimension.
For ex, we have a fact table with customer_id, product_id,
branch_id, employee_id, bill_no, date in key section and
price, quantity, amount in measure section. In this fact
table, bill_no from key section is a single value, it has
no associated dimension table. Instead of cteating a
seperate dimension table for that single value, we can
include it in fact table to improve performance.
SO here the column, bill_no is a degenerate dimension or
line item dimension.

Вам также может понравиться