Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

FACT table with Timezone

FACT table with Timezone

FACT table with Timezone

Reference: thread353-1421422: ?? Time Dimension ??

Hello All,

Our OLTP database records transactions with a UTC/GMT timestamp. We are just starting design for a new data warehouse and we're trying to design how our date and time dimensions will work. We need to be able to support multiple timezones. We were initially thinking that we would have one wide combined date dimension down to one day (24hrs) granularity.

We are currently using a FACT table that aggregates information (via ETL) on daily basis in UTC time but the problem is that how to aggregate the data by each timezone which recalculates (via ETL) the data for that day.

Does anyone know of a way to store the daily aggregation but still respect the numbers and totals for each timezones?

Thanks to all who take the time to respond.

RE: FACT table with Timezone

You could consider denormalizing the Julian date into the FACT, that Julian date being based on the local date rather than the UTC date. Then you would have the UTC and the Julian date both in the FACT. The advantage being that you don't need to join to the date dimension when doing local time aggregations.

adaptive uber info galaxies (bigger, better, faster than agile big data clouds)

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close