Unit 2 Notes DWM
Unit 2 Notes DWM
6. Dimension Table It contains only a single dimension It may have more than one-
table for each dimension dimension table for each dimension
7. Foreign keys Less More
used
3] Slice:
In this operation, one dimension is selected, and a new sub-cube is created. In
the overview section, slice is performed on the dimension Time (Q1).
In this example, dimension Time is Sliced with quarter Q1 as the filter. A new
cube is created altogether
4] Dice:
▪ This operation is similar to a slice. The difference in dice is that, you can
select 2 or more dimensions that result in the creation of a sub-cube.
▪ In the overview section, a sub-cube is selected by selecting Location Pune
or Mumbai and Time Q1 or Q2.
5] Pivot:
In Pivot operation, you rotate the data axes to provide a substitute
presentation of data. In this overview section, a sub-cube obtained after Slice
operation performing Pivot operation gives a new view of that slice.
Consider the result (slice) in slice operation.
Q.11] Distinguish between OLTP & OLAP.
OLTP OLAP
2. OLTP queries are simple and easy to 2. OLAP Queries are often very complex
understand. and involve aggregations.
3. OLTP is widely used for small transaction. 3. OLAP applications are widely used by
Data Mining techniques.
4. OLTP is highly normalized. 4. OLAP is typically de-normalized.
5. OLTP is used for Backup religiously. 5. OLAP is used for regular backup.
6. Performance of OLTP is comparably fast 6. Performance of OLAP is comparably
as compared to OLAP. low as compared to OLTP.
7. Write-heavy operations 7. Read-heavy operations
8. Lower redundancy 8. Higher redundancy