Welcome to the dBforums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

If you prefer not to see double-underlined words and corresponding ads, place your cursor
here for ContentLink opt out.

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, 15: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, 16:24
r937 r937 is offline
SQL Consultant
 
Join Date: Apr 2002
Location: Toronto, Canada
Posts: 13,556
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

pre-order my book Simply SQL from Amazon
Reply With Quote
  #3 (permalink)  
Old 10-26-07, 17: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

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