If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > Database Concepts & Design > Help with Time dimension in data mart

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-26-07, 14:58
architect architect is offline
Registered User
 
Join Date: Oct 2007
Location: Chicago, IL
Posts: 82
Help with Time dimension in data mart

Designing a data mart for a messaging application. End users want to be able to display a histogram with the ability to show message volume in 5, 10, 15, 20, 25, 30, 1 hr intervals. In this case, would you populate the Time dimension with date/time data in 5-min. intervals. So each hour would be 12 records in the time dim. This results in approx. 105,120 rows per Year. I'm thinking of keeping the granularity to a Day in the time dimension, and just using an attribute in the fact table to note the time in the 5-minute increment.

Any ideas?

-a
Reply With Quote
  #2 (permalink)  
Old 10-26-07, 15:24
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 19,524
conceptually, it is six of one and a half dozen of the other

(do that twice, and you gots a two-four )

have you scoped out what kind of sql will drive the graphs both ways?
__________________
r937.com | rudy.ca
please visit Simply SQL and buy my book
Reply With Quote
  #3 (permalink)  
Old 10-26-07, 16:37
architect architect is offline
Registered User
 
Join Date: Oct 2007
Location: Chicago, IL
Posts: 82
Just had a meeting...turns out, we need down to the minute granularity. I'll be keeping the granularity on the Time dimension to Day; and then storing the Hour and Minute as facts in the fact table.

-a
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On