Kimball Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Free text fields in Transaction table

2 posters

Go down

Free text fields in Transaction table Empty Free text fields in Transaction table

Post  a_sherbeeny Tue Dec 25, 2012 2:12 am

I am modeling a fact table that has a source transaction table which has a lot of free text fields, around 15-20 field. I know it is not logic to put those fields in the fact table. Also I know that we have 2 options to model it, either to have a separate dimension for each free text field, or to have a junk dimension to have them all combined together.

When I did query distinct all those fields I found that the combination resulted in records count near to the main transaction table records count, so in your opinion, which is the more accurate and suitable design, option 1 , option 2, or other options ?


Posts : 15
Join date : 2009-02-04

Back to top Go down

Free text fields in Transaction table Empty Re: Free text fields in Transaction table

Post  hang Fri Dec 28, 2012 7:09 pm

Although the guiding principle says don't create a dimension that has similar size as fact table, in this case, I would still put 15+ text attributes in a single dimension to slim down fact table significantly, but without junking them if the size is close to the fact table. I would just increment the surrogate key value for each fact row that carries all the texts without worrying about reusing the same combination. If there are any repeated combinations, they are very rare anyway, and it's not worth junking them.


Posts : 528
Join date : 2010-05-07
Location : Brisbane, Australia

Back to top Go down

Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum