Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What are aggregate tables?

aggregate tables
0
Posted

What are aggregate tables?

0

To explain what aggregate tables are, let’s consider a simple star schema. The star schema has a single fact table Sales, two measure columns (units and dollars) and four dimension tables (Product, Mfr, Customer, Time, and Customer). On top of this star schema, we create the following multidimensional model: • Cube [Sales] has two measures [Unit sales] and [Dollar sales] • Dimension [Product] has levels [All Products], [Manufacturer], [Brand], [Prodid] • Dimension [Time] has levels [All Time], [Year], [Quarter], [Month], [Day] • Dimension [Customer] has levels [All Customers], [State], [City], [Custid] • Dimension [Payment Method] has levels [All Payment Methods], [Payment Method] Most of the dimensions have a corresponding dimension table, but there are two exceptions. The [Product] dimension is a snowflake dimension, which means that it is spread across more than one table (in this case Product and Mfr). The [Payment Method] dimension is a degenerate dimension; its sole attribute is

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.