dbTalk Databases Forums  

schema design question

comp.databases.olap comp.databases.olap


Discuss schema design question in the comp.databases.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Jim Walsh
 
Posts: n/a

Default schema design question - 01-06-2009 , 04:17 PM






Hi,

I'm new to OLAP and SQL Server Analysis Services 2005, and I'm not
sure how to do this: I have a fact table that holds one row per
security per day including measures like profit/loss, etc. Back in
the relational world, each security is associated with anywhere from 1
to 153 factors (one to many relationship), and these factors each have
a value for each day which I must somehow add to my cube. Here are
some of the ideas we've come up with, but they all seem bad:

1. Create 153 columns in the fact table, one for each factor's value.

2. For each day, instead of one row per security, create a row for
each factor of each security, with all the other columns being
redundant, and take the average of the other values.

3. Keep the factor values in another fact table. I have no idea how
to query the security and factors together, but the end result would
need to be the security's measures and all the factors as columns,
filtering on date for both the security data and associated factor
values.

Is there a better way to do this?

thanks for any help,
Jim

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



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.