Only way to pull data from star/snowflake schema is by using facts?
4 posters
Page 1 of 1
Only way to pull data from star/snowflake schema is by using facts?
I am new to the data warehouse concept so pardon my really basic question.
I already have an idea and an answer in mind but I just wanted a confirm from the experts on this.
Is the only way to pull data in a data warehouse (star/snowflake) through facts linked to dimensions?
Do people pull data say just from dimensions itself only?
E.g., count all active customers in DimCustomer.
Or does that defeat the purpose of having it in this design?
If everything should revolve around FACTS, is the ideal solution for pulling data only through cubes?
Do people just write adhoc queries against Facts-Dimensions? Or just dimensions?
I already have an idea and an answer in mind but I just wanted a confirm from the experts on this.
Is the only way to pull data in a data warehouse (star/snowflake) through facts linked to dimensions?
Do people pull data say just from dimensions itself only?
E.g., count all active customers in DimCustomer.
Or does that defeat the purpose of having it in this design?
If everything should revolve around FACTS, is the ideal solution for pulling data only through cubes?
Do people just write adhoc queries against Facts-Dimensions? Or just dimensions?
ohmycamote- Posts : 14
Join date : 2011-07-05
Re: Only way to pull data from star/snowflake schema is by using facts?
Analysis requires the use of facts, but that doesn't prevent you from reporting from a dimension table. Counting rows in the customer dimension, other than knowing how many rows there are, doesn't do much in the way of resolving a business question. To wit, what does 'current' mean? Usually it involves some context, such as customers who purchased something in the last 90 days. You would need sales facts to identify those customers.
Re: Only way to pull data from star/snowflake schema is by using facts?
Hi,
get some information from dimension can be necessary, but BI and DWH systems are build to answer complex business questions; so if all the answers to your questions can be found in dimension table do you really need a DWH model?
For example, I have a DWH model to analyze Inventory performance. Data are presented to end users through dashboards with all the metrics they wants, like Inventory Turns, GMROI etc... . Some users want to have, in the same context, a rapid view of the number of obsolete items. This is a simple attribute of a dimension and it is implemented as a query on a non fact table but of course this is not the core metric of the BI system.
I hopes i was able to explain my point of view.
Best regards.
Bruno Condemi
get some information from dimension can be necessary, but BI and DWH systems are build to answer complex business questions; so if all the answers to your questions can be found in dimension table do you really need a DWH model?
For example, I have a DWH model to analyze Inventory performance. Data are presented to end users through dashboards with all the metrics they wants, like Inventory Turns, GMROI etc... . Some users want to have, in the same context, a rapid view of the number of obsolete items. This is a simple attribute of a dimension and it is implemented as a query on a non fact table but of course this is not the core metric of the BI system.
I hopes i was able to explain my point of view.
Best regards.
Bruno Condemi
bruno.condemi- Posts : 1
Join date : 2011-07-19
Re: Only way to pull data from star/snowflake schema is by using facts?
I guess it comes down to the analysis along the time series. It's true that SCD dimensions contain historical data. However when you want to analyse the dimension counts at multiple points of time, say daily, weekly or monthly, for current year or past year and show the trend, you then end up with queries that virtually do the periodic snapshots on the fly, which is performance killer. Loading data into fact tables just shorten the precious reporting time and shift it to nightly ETL.
I notice the time factor in fact table can be easily over looked. Without a time series, a table producing counts can hardly be called fact table per se. If all you need is counting the dimension records at one point of time, then you may not need fact tables or a data warehouse altogether, as you could obtain the same operational information from OLTP system as well.
I notice the time factor in fact table can be easily over looked. Without a time series, a table producing counts can hardly be called fact table per se. If all you need is counting the dimension records at one point of time, then you may not need fact tables or a data warehouse altogether, as you could obtain the same operational information from OLTP system as well.
hang- Posts : 528
Join date : 2010-05-07
Location : Brisbane, Australia
Similar topics
» Snowflake or Star Schema?
» How best to allow for future custom facts and dimensions while defining a new star schema
» Star schema for a data warehouse
» Star vs Snowflake with many different attributes
» How to Handle Updates to Dimension Attributes (SCD 1) that have a Cardinality > 1 (Context is Data Warehouse Star Schema)
» How best to allow for future custom facts and dimensions while defining a new star schema
» Star schema for a data warehouse
» Star vs Snowflake with many different attributes
» How to Handle Updates to Dimension Attributes (SCD 1) that have a Cardinality > 1 (Context is Data Warehouse Star Schema)
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum