Fact Table - Measure
2 posters
Page 1 of 1
Fact Table - Measure
Hi,
Is there any good reason to add a date type field as a measure in a fact table? (not as a surrogate key, but only as a non-aggregatable measure for descriptive purposes) I don't even think that we could call it a measure.
This fact table holds at least 160 bytes per row with a daily batch load of 50.000.000 rows. Daily history storage of 180 days. Roughly this new fact column would mean a 12,5% daily increase of information comparing to the current daily total of information processed.
This date type field is intended to be used for descriptive purposes only, since it cannot be aggregated in anyway.
I'm trying to understand this modeling team decision. Wouldn't the best approach be to add this date type field as a dimension attribute?
This information will be presented in a SSAS MOLAP cube. In my opinion it would be less expensive to add a new column to the dimension table instead of adding a new column to the fact table. Is there any logical reason not to do this?
Since the front end tool will be Excel through SSAS MOLAP cubes it would be far more easy to present this dimension attribute to the user as a property of the dimension member.
What do you think? Am I on the right track?
Thanks!
Is there any good reason to add a date type field as a measure in a fact table? (not as a surrogate key, but only as a non-aggregatable measure for descriptive purposes) I don't even think that we could call it a measure.
This fact table holds at least 160 bytes per row with a daily batch load of 50.000.000 rows. Daily history storage of 180 days. Roughly this new fact column would mean a 12,5% daily increase of information comparing to the current daily total of information processed.
This date type field is intended to be used for descriptive purposes only, since it cannot be aggregated in anyway.
I'm trying to understand this modeling team decision. Wouldn't the best approach be to add this date type field as a dimension attribute?
This information will be presented in a SSAS MOLAP cube. In my opinion it would be less expensive to add a new column to the dimension table instead of adding a new column to the fact table. Is there any logical reason not to do this?
Since the front end tool will be Excel through SSAS MOLAP cubes it would be far more easy to present this dimension attribute to the user as a property of the dimension member.
What do you think? Am I on the right track?
Thanks!
apc- Posts : 8
Join date : 2012-10-11
Re: Fact Table - Measure
There should be a date dimensions somewhere... there is ALWAYS a date dimension. You can always reference that.
But if you don't need attributes about the date, it can exist in the fact table as a degenerate dimension (i.e. just store the date as-is).
As far as SSAS goes, I would assume in either case you can present the date as a dimension member.
But if you don't need attributes about the date, it can exist in the fact table as a degenerate dimension (i.e. just store the date as-is).
As far as SSAS goes, I would assume in either case you can present the date as a dimension member.
Re: Fact Table - Measure
This specific date is an attribute of the product dimension, but they decided to add it as a fact table measure.
I was trying to figure out the rationale behind this decision, because I think it might be a bad one in terms of fact table/overall performance.
Thanks.
I was trying to figure out the rationale behind this decision, because I think it might be a bad one in terms of fact table/overall performance.
Thanks.
apc- Posts : 8
Join date : 2012-10-11
Similar topics
» Grain of measure in fact table
» Measure in Dimension or Fact Table
» Fact table with non-numeric measure
» Similar measure in fact table
» Multiple Fact Table / Calculated Measure
» Measure in Dimension or Fact Table
» Fact table with non-numeric measure
» Similar measure in fact table
» Multiple Fact Table / Calculated Measure
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum