Data Warehousing and Data Mining · Unit 1
Data Warehouse Fundamentals
Exam-focused notes for Data Warehouse Fundamentals (Data Warehousing and Data Mining, BIT454): what the TU syllabus asks and how it has actually been tested, with 5 solved past questions from this unit.
Data Warehouse Fundamentals in short
A data warehouse is a central store of historical data, built for reporting and decision making. This chapter explains what makes it different from a normal database, how it is built, and how users explore it with OLAP.
What this unit covers
- Data warehouse definition and characteristics
- Operational database vs data warehouse
- Data warehouse components and architecture
- Data warehouse conceptual modeling techniques
- OLAP technology and multidimensional analysis
- Full cube and closed cube concepts
- Beam search mechanism
Operational database vs data warehouse
2081 · 5 marks
Differentiate between data warehouse and operational database. [5]
OLAP technology and multidimensional analysis
2081 · 5 marks
Write short notes on: (a) OLAP (b) Laplace Smoothing [5]
Beam search mechanism
2081 · 5 marks
Define full cube. Discuss the working mechanism of beam search. [5]
Show solved answerHide answer
Model Answer: Full Cube and Beam Search
Full Cube (Definition)
A full cube in the context of data warehousing and OLAP (Online Analytical Processing) refers to a complete multidimensional data structure where all possible combinations of dimension members are materialized and stored with their corresponding aggregate values.
Key characteristics:
- Contains pre-computed aggregations for every possible combination of dimension levels
- Provides the fastest query response times since all results are pre-calculated
- Requires maximum storage space and longest computation time during cube construction
- Enables instant retrieval of any aggregated data without further computation
Beam Search: Working Mechanism
Beam search is a heuristic search algorithm that explores a solution space by maintaining a limited set of the most promising candidates at each step.
How it works:
-
Initialization: Start with the initial state (root node)
-
Expansion: At each level, generate all successor states (child nodes) from the current set of states
-
Evaluation: Evaluate each successor using a heuristic function (e.g., f(n) = g(n) + h(n))
-
Selection: Keep only the top-k most promising states (where k is the beam width) based on heuristic scores
-
Pruning: Discard all other states to limit memory and computation
-
Iteration: Repeat steps 2-5 until reaching a goal state or maximum depth
Advantages:
- More memory-efficient than breadth-first search
- Faster than exhaustive search methods
- Practical for large search spaces
Disadvantages:
- May miss optimal solution if pruned prematurely
- Quality depends on heuristic function accuracy
- Beam width selection is critical
Example: In machine translation, beam search keeps top-5 most likely word sequences at each step rather than exploring all possibilities.
Data warehouse conceptual modeling techniques
2081 · 5 marks
Explain any two conceptual modeling techniques of data warehousing. [5]
Full cube and closed cube concepts
2082.1 · 5 marks
Differentiate between full cube and closed cube. [5]
Make Unit 1 stick
Practice BIT454 with flashcards & quizzes