dbTalk Databases Forums  

Re: For OLAP - Does it always have to be a STAR schema?

comp.databases.olap comp.databases.olap


Discuss Re: For OLAP - Does it always have to be a STAR schema? in the comp.databases.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
John Keeley
 
Posts: n/a

Default Re: For OLAP - Does it always have to be a STAR schema? - 08-28-2003 , 04:14 AM






Teresa,

What OLAP platform are you using?

Sure a cube can be based on one table, the fact table, out of which
you can also create your dimensions, but this is not the best way to
go.

There are advantages of having olap cubes based on star-schema; a fact
table & a number of relational tables with the primary & foreign keys
linked.

With the SQL/AS platform you get the benefits of the relational world
& the multidimensional world.
The conformed dimension tables can be used in as many star-schema as
required so you can be sure that the cubes with the same dimension,
really do have the same dimension. This wouldn't be so if you were
doing everything off of fact tables.

There's also the big issue of processing time.
Star-schema allow you to use surrogate keys & the dimension tables are
usually a lot smaller than the fact tables.
Indeed, with SQL/AS you can use snowflake schema without any impact on
query performance if you use MOLAP storage mode (which I strongly
recommend in the vast majority of cases).

So, the simple answer is NO, you don't have to have star schema, but
because of the advantages it gives you, you SHOULD. And, if your OLAP
platform doesn't penalise snowflake schema, use these where
appropriate aswell.

Regards,

John



Teresa Mandelbaum <Teresa (AT) comcast (DOT) com> wrote

Quote:
If I want to do OLAP analysis on data - does it always have to be STAR
schema or can there be other format - like all data in one giant table?

Reply With Quote
  #2  
Old   
R.A.
 
Posts: n/a

Default Re: For OLAP - Does it always have to be a STAR schema? - 08-28-2003 , 08:43 AM






Teresa Mandelbaum <Teresa (AT) comcast (DOT) com> wrote

Quote:
If I want to do OLAP analysis on data - does it always have to be STAR
schema or can there be other format - like all data in one giant table?
The answer depends on the tool you're planning to use. I have seen one
giant table work with MicroStrategy and it is conceivable that this
might work with other tools. I would never recommend this kind of
schema, though. A star schema is usually the best balance, although
for certain projects a snowflake works better.


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.