Unix Technical Forum

Best way to choose grain?

This is a discussion on Best way to choose grain? within the SQL Server Data Warehousing forums, part of the Microsoft SQL Server category; --> I'm fairly new at datawarehousing. I got the following layout in the relational database: - A table containing people ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server Data Warehousing

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 06:52 PM
Stijn Verrept
 
Posts: n/a
Default Best way to choose grain?

I'm fairly new at datawarehousing.


I got the following layout in the relational database:

- A table containing people
- A table containing begin and enddates of agreements together with the
sort of agreement (10 types) every row linked to a person.
- A table containing begin and enddates and the location of the persons.


Is this the correct way to go:

I create a TimeDimension with all the dates.
I create People, Agreement and Location dimensions.
I create a fact table that contains: date, person, agreement, location

So the fact table will have a row for every date and every person.
People can only have 1 agreement and location on any time.

The information I need is to know how many people are in which caregory
(and or location) during a certain period, or on a certain date.

Is this the correct way to do it? I think the people dimension might
be too much for this need.

--
Thanks in advance,

Stijn Verrept.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:03 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com