Time and date dimension in data warehouse
Posted
by peperg
on Stack Overflow
See other posts from Stack Overflow
or by peperg
Published on 2010-03-24T11:44:02Z
Indexed on
2010/03/24
12:03 UTC
Read the original article
Hit count: 612
data-warehouse
I'm buildind an data warehouse. Each fact has it's timestamp. I need to create reports by day, month, quater but by hours too. Loking at the examples I see that dates tend to be saved in dimension tabels.
But I think, that it makes no sense for time. The dimension table would grow and grow. On the other hand JOIN with date dimension table is more efficent than using date/time functions in SQL.
What are your opinions/solutions ?
(I'm using Infobright)
© Stack Overflow or respective owner