Docsity

Data Warehousing and OLAP: Concepts, Design, and Implementation, Slides of Data Mining

Partial preview of the text

Download Data Warehousing and OLAP: Concepts, Design, and Implementation and more Slides Data Mining in PDF only on Docsity!

Data Warehousing and On-line Analytical

Processing

Data Warehouse: Basic Concepts

Data Warehouse Modeling: Data Cube and

OLAP

Data Warehouse Design and Usage

Data Warehouse Implementation

Data Generalization by Attribute-Oriented

Induction

Summary

1

What is a Data

Warehouse?

 (^) Data warehouse is a centralized repository designed for storing, managing, and analyzing large volumes of data collected from various sources.  (^) Electronic storage, where businesses store a large amount of data and information.  (^) Supports decision-making by providing consolidated, historical, and organized data for analysis.  (^) Unlike operational databases, which handle real-time transactions, data warehouses are optimized for querying and reporting. August 27, 2025 Data Mining: Concepts and Techniques 2

The following steps are involved in the process of data warehousing: Extraction of data – A large amount of data is gathered from various sources. Cleaning of data – Once the data is compiled, it goes through a cleaning process. The data is scanned for errors, and any error found is either corrected or excluded. Conversion of data – After being cleaned, the format is changed from the database to a warehouse format. August 27, 2025 Data Mining: Concepts and Techniques 4

Continued…

Storing in a warehouse –

  • Once converted to the warehouse format, the data is

stored in a warehouse.

  • That data goes through processes such as

consolidation and summarization.

  • (^) To make it easier and more coordinated to use.
  • (^) As sources get updated over time, more data is

added to the warehouse.

August 27, 2025 Data Mining: Concepts and Techniques 5

Data Warehouse—Subject- Oriented

  • A data warehouse organizes data by major subjects, such as customer, product, and sales.
  • It focuses on modeling and analysis rather than daily operations or transactions.
  • The goal is to aid decision- makers with relevant, actionable insights.
  • Unnecessary data is excluded for simplicity and clarity. 7

Continued…

• Data is structured to ensure a concise and

specific view of key subject areas.

• This organization enhances strategic

planning and informed decision-making

processes.

August 27, 2025 Data Mining: Concepts and Techniques 8

Image depicting the concept of an integrated data warehouse, emphasizing the seamless merging of diverse data sources into a unified central repository August 27, 2025 Data Mining: Concepts and Techniques 10

Continued…

  • Consistency is maintained in naming conventions, encoding structures, and attribute measures.
  • For example, hotel prices include currency, tax, and breakfast coverage details.
  • Data is transformed into a unified format when moved to the warehouse. August 27, 2025 Data Mining: Concepts and Techniques 11

Continued… Once entered into the data warehouse, data should not change. A different version of data is stored in the data warehouse indicating if any insert, update or delete have occurred in the database. Hence, the original data is never altered. In short, Data is stable in a data warehouse. August 27, 2025 Data Mining: Concepts and Techniques 13

Data Warehouse— Nonvolatile A physically separate store of data transformed from the operational environment Operational update of data does not occur in the data warehouse environment Does not require transaction processing, recovery, and concurrency control mechanisms Requires only two operations in data accessing:

 initial loading of data and access of data

14

Types of OLAP systems

 (^) OLAP systems typically fall into one of three types:

  • (^) Multidimensional OLAP (MOLAP) is OLAP that indexes directly into a multidimensional database.
  • (^) Relational OLAP (ROLAP) is OLAP that performs dynamic multidimensional analysis of data stored in a relational database.
  • (^) Hybrid OLAP (HOLAP) is a combination of ROLAP and MOLAP. HOLAP combines the greater data capacity of ROLAP with the superior processing capability of MOLAP. August 27, 2025 Data Mining: Concepts and Techniques 16

Uses of OLAP

 (^) Data mining or the discovery of previously undiscerned relationships between data items.  (^) An OLAP database does not need to be as large as a data warehouse, since not all transactional data is needed for trend analysis.  (^) Using Open Database Connectivity, data can be imported from existing relational databases to create a multidimensional database for OLAP.  (^) OLAP products include IBM Cognos, Microsoft Power BI, Oracle OLAP and Tableau.  (^) OLAP features are also included in tools such as Microsoft Excel and Microsoft SQL Server's Analysis Services.  August 27, 2025 Data Mining: Concepts and Techniques 17

OLTP Vs. OLAP

August 27, 2025 Data Mining: Concepts and Techniques 19

OLTP vs. OLAP OLTP OLAP users clerk, IT professional knowledge worker function (^) day to day operations decision support DB design application-oriented subject-oriented data current, up-to-date detailed, flat relational isolated historical, summarized, multidimensional integrated, consolidated usage repetitive ad-hoc access read/write index/hash on prim. key lots of scans unit of work short, simple transaction complex query # records accessed tens millions #users thousands hundreds DB size 100MB-GB 100GB-TB metric transaction throughput query throughput, response 20