Cube databases for dummies
Discussion
I'd say Kimble has some nice books.
But, in short, a cube uses a Datawarehouse as a basis.
The ETL process looks something like this:

Where DWH is a real relational SQL database, usually denormalised to a very simple star/snowflake model. (eg item, customer and sales line table)
What happens in the cubes is: you define how the relations in the relational database exists and which calculations should be done.
These are dimensions and measures, think of a pivot table in excel:

So a dimension will be something like "Date" "Item", all of which can then be aggregated on several levels like "Year", "Month", "Product Family".
A measure will be something you can sum/count, like "Sales Amount" "Quantity" "profit %".
In short, easiest way to look at it is that a Cube visualizes a DWH. Everything you see in the cube is from the DWH in some way shape or form, it's just a set of pre-defined, pre-calculated calculations. This makes it possible for people with NO knowledge about the datamodel or databases in general to make analysis. They could do this by literally selecting "profit" "month" "item", which will given them the profit per month per item.
I'm biased but if you're serious about designing/maintaining your own, have a look at something like TimeXtender, which automates most of the process and avoids a LOT of scripting. Believe me, I did the whole Visual Studio SSIS gig for over 5 years, I'm never getting those back.
But, in short, a cube uses a Datawarehouse as a basis.
The ETL process looks something like this:
Where DWH is a real relational SQL database, usually denormalised to a very simple star/snowflake model. (eg item, customer and sales line table)
What happens in the cubes is: you define how the relations in the relational database exists and which calculations should be done.
These are dimensions and measures, think of a pivot table in excel:
So a dimension will be something like "Date" "Item", all of which can then be aggregated on several levels like "Year", "Month", "Product Family".
A measure will be something you can sum/count, like "Sales Amount" "Quantity" "profit %".
In short, easiest way to look at it is that a Cube visualizes a DWH. Everything you see in the cube is from the DWH in some way shape or form, it's just a set of pre-defined, pre-calculated calculations. This makes it possible for people with NO knowledge about the datamodel or databases in general to make analysis. They could do this by literally selecting "profit" "month" "item", which will given them the profit per month per item.
I'm biased but if you're serious about designing/maintaining your own, have a look at something like TimeXtender, which automates most of the process and avoids a LOT of scripting. Believe me, I did the whole Visual Studio SSIS gig for over 5 years, I'm never getting those back.
ZesPak said:
I'd say Kimble has some nice books.
But, in short, a cube uses a Datawarehouse as a basis.
The ETL process looks something like this:

Where DWH is a real relational SQL database, usually denormalised to a very simple star/snowflake model. (eg item, customer and sales line table)
What happens in the cubes is: you define how the relations in the relational database exists and which calculations should be done.
These are dimensions and measures, think of a pivot table in excel:

So a dimension will be something like "Date" "Item", all of which can then be aggregated on several levels like "Year", "Month", "Product Family".
A measure will be something you can sum/count, like "Sales Amount" "Quantity" "profit %".
In short, easiest way to look at it is that a Cube visualizes a DWH. Everything you see in the cube is from the DWH in some way shape or form, it's just a set of pre-defined, pre-calculated calculations. This makes it possible for people with NO knowledge about the datamodel or databases in general to make analysis. They could do this by literally selecting "profit" "month" "item", which will given them the profit per month per item.
I'm biased but if you're serious about designing/maintaining your own, have a look at something like TimeXtender, which automates most of the process and avoids a LOT of scripting. Believe me, I did the whole Visual Studio SSIS gig for over 5 years, I'm never getting those back.
This was a really helpful and informative explanation, I work with SSIS everyday due to inheritance. I love it but I will certainly be looking into TimeXtender!But, in short, a cube uses a Datawarehouse as a basis.
The ETL process looks something like this:
Where DWH is a real relational SQL database, usually denormalised to a very simple star/snowflake model. (eg item, customer and sales line table)
What happens in the cubes is: you define how the relations in the relational database exists and which calculations should be done.
These are dimensions and measures, think of a pivot table in excel:
So a dimension will be something like "Date" "Item", all of which can then be aggregated on several levels like "Year", "Month", "Product Family".
A measure will be something you can sum/count, like "Sales Amount" "Quantity" "profit %".
In short, easiest way to look at it is that a Cube visualizes a DWH. Everything you see in the cube is from the DWH in some way shape or form, it's just a set of pre-defined, pre-calculated calculations. This makes it possible for people with NO knowledge about the datamodel or databases in general to make analysis. They could do this by literally selecting "profit" "month" "item", which will given them the profit per month per item.
I'm biased but if you're serious about designing/maintaining your own, have a look at something like TimeXtender, which automates most of the process and avoids a LOT of scripting. Believe me, I did the whole Visual Studio SSIS gig for over 5 years, I'm never getting those back.
If you need any info you can pm me.
We do free webinars about this stuff on a monthly basis in Dutch, but I'm certain there's people doing they sort of stuff in English.
SSIS is great, but to build a real dwh in the end it's a waste of time. Do it correctly and you could easily end up with 4 or more SSIS packages per table. Very high maintenance.
I've been doing this stuff on and off for over a decade now, I avoid SSIS in visual studio at all costs. It's time consuming and thus very expensive.
We do free webinars about this stuff on a monthly basis in Dutch, but I'm certain there's people doing they sort of stuff in English.
SSIS is great, but to build a real dwh in the end it's a waste of time. Do it correctly and you could easily end up with 4 or more SSIS packages per table. Very high maintenance.
I've been doing this stuff on and off for over a decade now, I avoid SSIS in visual studio at all costs. It's time consuming and thus very expensive.
Gassing Station | Computers, Gadgets & Stuff | Top of Page | What's New | My Stuff


