Data Mining. Data warehousing. Hamid Beigy. Sharif University of Technology. Fall 1394

Similar documents
Data Mining. Data warehousing. Hamid Beigy. Sharif University of Technology. Fall 1394

Data Mining. Data warehousing. Hamid Beigy. Sharif University of Technology. Fall 1396

What is a Data Warehouse?

Information Management course

Information Management course

Chapter 4, Data Warehouse and OLAP Operations

Database design View Access patterns Need for separate data warehouse:- A multidimensional data model:-

Dta Mining and Data Warehousing

Introduction to Data Warehousing

Data Warehousing & OLAP

A Multi-Dimensional Data Model

Data Warehousing 2. ICS 421 Spring Asst. Prof. Lipyeow Lim Information & Computer Science Department University of Hawaii at Manoa

Jarek Szlichta Acknowledgments: Jiawei Han, Micheline Kamber and Jian Pei, Data Mining - Concepts and Techniques

Data Warehousing & On-Line Analytical Processing

Information Management course

IT DATA WAREHOUSING AND DATA MINING UNIT-2 BUSINESS ANALYSIS

CS 412 Intro. to Data Mining

Data Warehouse. Concepts and Techniques. Chapter 3. SS Chung. April 5, 2013 Data Mining: Concepts and Techniques 1

This tutorial will help computer science graduates to understand the basic-to-advanced concepts related to data warehousing.

By Mahesh R. Sanghavi Associate professor, SNJB s KBJ CoE, Chandwad

CS490D: Introduction to Data Mining Chris Clifton

Data Warehousing & On-line Analytical Processing

A Novel Approach of Data Warehouse OLTP and OLAP Technology for Supporting Management prospective

This tutorial will help computer science graduates to understand the basic-to-advanced concepts related to data warehousing.

Analyse des Données. Master 2 IMAFA. Andrea G. B. Tettamanzi

CHAPTER 3 Implementation of Data warehouse in Data Mining

Decision Support Systems

Data Mining Concepts & Techniques

DATA WAREHOUSING & DATA MINING. by: Prof. Asha Ambhaikar

Decision Support, Data Warehousing, and OLAP

CT75 DATA WAREHOUSING AND DATA MINING DEC 2015

Syllabus. Syllabus. Motivation Decision Support. Syllabus

Cognos also provides you an option to export the report in XML or PDF format or you can view the reports in XML format.

collection of data that is used primarily in organizational decision making.

Summary of Last Chapter. Course Content. Chapter 2 Objectives. Data Warehouse and OLAP Outline. Incentive for a Data Warehouse

An Overview of Data Warehousing and OLAP Technology

Data Mining & Data Warehouse

Acknowledgment. MTAT Data Mining. Week 7: Online Analytical Processing and Data Warehouses. Typical Data Analysis Process.

Reminds on Data Warehousing

Data Mining. Associate Professor Dr. Raed Ibraheem Hamed. University of Human Development, College of Science and Technology

Table of Contents. Rajesh Pandey Page 1

Evolution of Database Systems

Data Warehousing (1)

ETL and OLAP Systems

Adnan YAZICI Computer Engineering Department

DATA WAREHOUSE EGCO321 DATABASE SYSTEMS KANAT POOLSAWASD DEPARTMENT OF COMPUTER ENGINEERING MAHIDOL UNIVERSITY

Sql Fact Constellation Schema In Data Warehouse With Example

DATA MINING AND WAREHOUSING

Data Warehousing and OLAP Technologies for Decision-Making Process

Data mining: Hmm, what is it?

Business Intelligence

Data Warehousing and OLAP

On-Line Analytical Processing (OLAP) Traditional OLTP

Fig 1.2: Relationship between DW, ODS and OLTP Systems

CHAPTER 8: ONLINE ANALYTICAL PROCESSING(OLAP)

DHANALAKSHMI COLLEGE OF ENGINEERING, CHENNAI

DATA MINING TRANSACTION

ECT7110 Introduction to Data Warehousing

Managing Information Resources

CT75 (ALCCS) DATA WAREHOUSING AND DATA MINING JUN

DATA WAREHOUING UNIT I

Basics of Dimensional Modeling

Decision Support Systems aka Analytical Systems

ECLT 5810 Introduction to Data Warehousing

Data Warehousing and Decision Support. Introduction. Three Complementary Trends. [R&G] Chapter 23, Part A

Question Bank. 4) It is the source of information later delivered to data marts.

Data Warehouses. Yanlei Diao. Slides Courtesy of R. Ramakrishnan and J. Gehrke

An Overview of Data Warehousing and OLAP Technology

UNIT 4. DATA WAREHOUSING

Data Warehousing and Decision Support

Data Warehousing and Decision Support

Data Mining. Data preprocessing. Hamid Beigy. Sharif University of Technology. Fall 1395

CS 245: Database System Principles. Warehousing. Outline. What is a Warehouse? What is a Warehouse? Notes 13: Data Warehousing

Data Mining. Data preprocessing. Hamid Beigy. Sharif University of Technology. Fall 1394

Data Warehouse and Data Mining

REPORTING AND QUERY TOOLS AND APPLICATIONS

Data Warehouse and Data Mining

Data Warehousing Conclusion. Esteban Zimányi Slides by Toon Calders

CS614 - Data Warehousing - Midterm Papers Solved MCQ(S) (1 TO 22 Lectures)

Data Warehousing ETL. Esteban Zimányi Slides by Toon Calders

MSCIT 5210/MSCBD 5002: Knowledge Discovery and Data Mining

Data Warehousing & OLAP

Lectures for the course: Data Warehousing and Data Mining (IT 60107)

OLAP2 outline. Multi Dimensional Data Model. A Sample Data Cube

Data Mining. Part 2. Data Understanding and Preparation. 2.4 Data Transformation. Spring Instructor: Dr. Masoud Yaghini. Data Transformation

Data Warehousing. Ritham Vashisht, Sukhdeep Kaur and Shobti Saini

Data warehouses Decision support The multidimensional model OLAP queries

Data Quality. Data Cleaning and Integration. Data Cleaning. Data Preprocessing. Handling Missing Values. Disguised Missing Data?

CHAPTER 8 DECISION SUPPORT V2 ADVANCED DATABASE SYSTEMS. Assist. Prof. Dr. Volkan TUNALI

IDU0010 ERP,CRM ja DW süsteemid Loeng 5 DW concepts. Enn Õunapuu

Data Mining & Analytics Data Mining Reference Model Data Warehouse Legal and Ethical Issues. Slides by Michael Hahsler

Data warehouse architecture consists of the following interconnected layers:

Chapter 18: Data Analysis and Mining

GUJARAT TECHNOLOGICAL UNIVERSITY MASTER OF COMPUTER APPLICATIONS (MCA) Semester: IV

Unit 7: Basics in MS Power BI for Excel 2013 M7-5: OLAP

UNIT -1 UNIT -II. Q. 4 Why is entity-relationship modeling technique not suitable for the data warehouse? How is dimensional modeling different?

Improving the Performance of OLAP Queries Using Families of Statistics Trees

BUSINESS INTELLIGENCE. SSAS - SQL Server Analysis Services. Business Informatics Degree

Reporting and Query tools and Applications

The University of Iowa Intelligent Systems Laboratory The University of Iowa Intelligent Systems Laboratory

Transcription:

Data Mining Data warehousing Hamid Beigy Sharif University of Technology Fall 1394 Hamid Beigy (Sharif University of Technology) Data Mining Fall 1394 1 / 31

Table of contents 1 Introduction 2 Data warehousing concepts 3 Schemas for multidimensional data models 4 OLAP server architectures 5 Reading Hamid Beigy (Sharif University of Technology) Data Mining Fall 1394 2 / 31

Introduction Data warehouses generalize and consolidate data in multidimensional space. Construction of data warehouses involves data cleaning, data integration, and data transformation. Data warehouses provide online analytical processing (OLAP) tools for interactive analysis of multidimensional data of varied granualities, which facilates effective data mining. Data mining functions such as clustering, classification, and associative rule mining can be integrated with OLAP functions to enhance interactive data mining. As a conclusion, data warehousing form an essential step in knowledge discovery process. Hamid Beigy (Sharif University of Technology) Data Mining Fall 1394 3 / 31

Data warehousing concepts What is a data warehouse? A datawarehouse is a subject-oriented, integrated, time-variant, and nonvolatile collection of data in support of management decision making process. (William H. Inmon) The following keywords distinguish data warehouse from other data repository systems such as relational database systems. Subject-oriented A data warehouse is organized around major subjects such as customer, supplier, product, and sales. Integrated A data warehouse is usually constructed by integrating multiple heterogeneous sources, such as relational databases, flat files, and online transaction records. Time-variant Data are stored to provide information from an historic perspective (e.g., the past 510 years). Nonvolatile A data warehouse does not require transaction processing, recovery, and concurrency control mechanisms. It usually requires only two operations in data accessing: initial loading of data and access of data. Hamid Beigy (Sharif University of Technology) Data Mining Fall 1394 4 / 31

130 Chapter 4 Data Warehousing and Online Analytical Processing Differences between operational databases and data warehouses Table 4.1 Comparison of OLTP and OLAP Systems Feature OLTP OLAP Characteristic operational processing informational processing Orientation transaction analysis User clerk, DBA, database professional knowledge worker (e.g., manager, executive, analyst) Function day-to-day operations long-term informational requirements decision support DB design ER-based, application-oriented star/snowflake, subject-oriented Data current, guaranteed up-to-date historic, accuracy maintained over time Summarization primitive, highly detailed summarized, consolidated View detailed, flat relational summarized, multidimensional Unit of work short, simple transaction complex query Access read/write mostly read Focus data in information out Operations index/hash on primary key lots of scans Number of records accessed tens millions Number of users thousands hundreds DB size GB to high-order GB TB Priority high performance, high availability high flexibility, end-user autonomy Metric transaction throughput query throughput, response time Note: Table is partially based on Chaudhuri and Dayal [CD97]. Hamid Beigy (Sharif University of Technology) Data Mining Fall 1394 5 / 31

A multitiered architecture of data warehouse 4.1 Data Warehouse: Basic Concepts 131 Data warehouses often adopt a three-tier architecture, as presented below. Query/report Analysis Data mining Top tier: Front-end tools OLAP server Output OLAP server Middle tier: OLAP server Monitoring Administration Data warehouse Data marts Metadata repository Bottom tier: Data warehouse server Extract Clean Transform Load Refresh Data Operational databases External sources Hamid Beigy (Sharif University of Technology) Data Mining Fall 1394 6 / 31

Data warehouse models From the architecture point of view, there are three data warehouse models Enterprise warehouse An enterprise warehouse collects all of the information about subjects spanning the entire organization. Data mart data mart contains a subset of corporate-wide data that is of value to a specific group of users. The scope is confined to specific selected subjects. Virtual warehouse A virtual warehouse is a set of views over operational databases. What are the pros and cons of the top-down and bottom-up approaches to data warehouse development? The top-down development of an enterprise warehouse serves as a systematic solution and minimizes integration problems. However, it is expensive, takes a long time to develop, and lacks flexibility due to the difficulty in achieving consistency and consensus for a common data model for the entire organization. The bottom- up approach to the design, development, and deployment of independent data marts provides flexibility, low cost, and rapid return of investment. It, however, can lead to problems when integrating various disparate data marts into a consistent enterprise data warehouse. Hamid Beigy (Sharif University of Technology) Data Mining Fall 1394 7 / 31

Extraction, transformation, and loading Data warehouse systems use back-end tools and utilities to populate and refresh their data. These tools and utilities include the following functions: Data extraction This typically gathers data from multiple, heterogeneous, and external sources. Data cleaning This detects errors in the data and rectifies them when possible. Data transformation This converts data from legacy or host format to warehouse format. Load This sorts, summarizes, consolidates, computes views, checks integrity, and builds indices and partitions. Refresh This propagates the updates from the data sources to the warehouse. Besides the above functions, data warehouse systems usually provide a good set of data warehouse management tools. Hamid Beigy (Sharif University of Technology) Data Mining Fall 1394 8 / 31

Metadata repository Metadata are data about data. When used in a data warehouse, metadata are the data that define warehouse objects. A metadata repository should contain the following A description of the data warehouse structure including the warehouse schema, view, dimensions, hierarchies, and derived data definitions, as well as data mart locations and contents Operational metadata such as history of migrated data and the sequence of transformations applied to it and monitoring information (warehouse usage statistics, error reports, and audit trails). The algorithms used for summarization including measure and dimension definition algorithms, data on granularity, partitions, subject areas, aggregation, summarization, and predefined queries and reports. Mapping from the operational environment to the data warehouse including source databases and their contents, gateway descriptions, data partitions, data extraction, cleaning, transformation rules and defaults, data refresh and purging rules, and user authorization and access control. Data related to system performance including indices and profiles that improve data access and retrieval performance, in addition to rules for the timing and scheduling of refresh, update, and replication cycles. Business metadata including business terms and definitions, data ownership information, and charging policies. Hamid Beigy (Sharif University of Technology) Data Mining Fall 1394 9 / 31

Data warehouse modeling Data warehouses and OLAP tools are based on a multidimensional data model. This model views data in the form of a data cube. What is a data cube? A data cube allows data to be modeled and viewed in multiple dimensions. It is defined by dimensions and facts. Dimensions are the perspectives or entities with respect to which an organization wants to keep records. Each dimension may have a table associated with it, called a dimension table, which further describes the dimension. Dimension tables can be specified by users or experts, or automatically generated and adjusted based on data distributions. A multidimensional data model is typically organized around a central theme represented by a fact table. Facts are numeric measures. Fact table contains the names of the facts, or measures, as well as keys to each of the related dimension tables. Hamid Beigy (Sharif University of Technology) Data Mining Fall 1394 10 / 31

Data cube (example) transaction), and works at (employee works at a branch of AllElectronics). Relational schema for a relational database customer (cust ID, name, address, age, occupation, annual income, credit information, category,...) item (item ID, brand, category, type, price, place made, supplier, cost,...) employee (empl ID, name, category, group, salary, commission,...) branch (branch ID, name, address,...) purchases (trans ID, cust 4.2ID, Data empl Warehouse ID, date, time, Modeling: methoddata paid, Cube amount) and OLAP 137 items sold (trans ID, item ID, qty) works at (empl ID, branch ID) Table 2-D4.2 view2-dofview salesof data Sales Data for AllElectronics According to time and item Figure 1.5 Relational schema for a relational database, AllElectronics. location = Vancouver item (type) home time (quarter) entertainment computer phone security Q1 605 825 14 400 Q2 680 952 31 512 Q3 812 1023 30 501 Q4 927 1038 38 580 Hamid Beigy (Sharif University of Technology) Data Mining Fall 1394 11 / 31

Data cube (example) Q3 812 1023 30 501 Q4 927 1038 38 580 Note: The sales are from branches located in the city of Vancouver. The measure displayed is dollars sold (in thousands). 3-D viewtable of sales 4.3 3-D data View of Sales Data for AllElectronics According to time, item, and location location = Chicago location = New York location = Toronto location = Vancouver item item item item home home home home time ent. comp. phone sec. ent. comp. phone sec. ent. comp. phone sec. ent. comp. phone sec. Q1 854 882 89 623 1087 968 38 872 818 746 43 591 605 825 14 400 Q2 943 890 64 698 1130 1024 41 925 894 769 52 682 680 952 31 512 Q3 1032 924 59 789 1034 1048 45 1002 940 795 58 728 812 1023 30 501 Q4 1129 992 63 870 1142 1091 54 984 978 864 59 784 927 1038 38 580 Note: The measure displayed is dollars sold (in thousands). in this way, we may display any n-dimensional data as a series of (n 1)-dimensional cubes. The data cube is a metaphor for multidimensional data storage. The actual Hamid Beigy (Sharif University of Technology) Data Mining Fall 1394 12 / 31

Figure 4.3 A 3-D data cube representation of the data in Table 4.3, according to time, Hamid Beigy (Sharif University of Technology) Data Mining Fall 1394 13 / 31 Data cube (example) 138 Chapter 4 Data Warehousing and Online Analytical Processing A 3-D data cube representation of the data (previous slide) location (cities) Toronto Vancouver time (quarters) Q1 Q2 Q3 Q4 New York Chicago 818 1087 746 854 968 43 605 825 14 400 680 952 31 512 812 1023 30 501 927 1038 38 580 882 38 591 89 872 682 728 784 623 925 1002 984 698 789 870 home entertainment computer phone security item (types)

rehamid 4.4Beigy A 4-D (Sharif data University cube of Technology) representation of sales Data data, Miningaccording to time, item, location, and Fall 1394 supplier. 14 / 31 Data cube (example) re 4.3 A 3-D data cube representation of the data in Table 4.3, according to time, item, and location. The measure displayed is dollars sold (in thousands). A 4-D data cube representation of the data Chicago New York Toronto Vancouver location (cities) time (quarters) Q1 Q2 Q3 Q4 605 825 14 400 computer security home phone entertainment item (types) supplier = SUP1 supplier = SUP2 supplier = SUP3 computer security home phone entertainment item (types) computer security home phone entertainment item (types)

Data cube (cont.) In the data warehousing, a data cube like those shown in (previous slides) is often referred to as a cuboid. Given a set of dimensions, we can generate a cuboid for each of the possible subsets of the given dimensions. The result would form a lattice of cuboids, each showing the data at a different level of summarization, or group-by. The lattice of cuboids is then referred to as a data cube. The cuboid that holds the lowest level of summarization is called the base cuboid. The 0-D cuboid, which holds the highest level of summarization, is called the apex cuboid. Hamid Beigy (Sharif University of Technology) Data Mining Fall 1394 15 / 31

Lattice of cuboids Lattice of cuboids 4.2 Data Warehouse Modeling: Data Cube and OLAP 139 all 0-D (apex) cuboid time Item item location supplier 1-D cuboids time, item time, supplier item, supplier time, location item, location location, supplier 2-D cuboids time, item, location time, item, supplier time, location, supplier item, location, supplier 3-D cuboids time, item, location, supplier 4-D (base) cuboid Hamid Beigy (Sharif University of Technology) Data Mining Fall 1394 16 / 31

Schemas for multidimensional data models The entity-relationship data model is commonly used in the design of relational databases, where a database schema consists of a set of entities and the relationships between them. The entity-relationship data model is appropriate for online transaction processing. A data warehouse, however, requires a concise, subject-oriented schema that facilitates online data analysis. The most popular data model for a data warehouse is a multidimensional model, which can exist in the form of a Star schema Snowflake schema Galaxy schema Hamid Beigy (Sharif University of Technology) Data Mining Fall 1394 17 / 31

Star schema The most common modeling paradigm is the star schema, in which the data warehouse contains 1 A large central table (fact table) containing the bulk of the data, with no redundancy. 2 40 Chapter A set 4 of Data smaller Warehousing attendant tables and Online (dimension Analytical tables), Processing one for each dimension. The schema graph resembles a starburst, with the dimension tables displayed in a radial pattern around the central fact table. time Dimension table time_key day day_of_the_week month quarter year sales Fact table time_key item_key branch_key location_key dollars_sold units_sold item Dimension table item_key item_name brand type supplier_type branch Dimension table branch_key branch_name branch_type location Dimension table location_key street city province_or_state country Hamid Beigy (Sharif University of Technology) Data Mining Fall 1394 18 / 31

Snowflake schema In star schema, each dimension is represented by only one table, and each table contains a set of attributes. This constraint may introduce some redundancy. The attributes within a dimension table may form either a hierarchy (total order) or a lattice (partial order). The snowflake schema is a variant of the star schema model, where some dimension tables are normalized, thereby further splitting the data into additional tables. The resulting schema graph forms a shape similar to a snowflake. The major difference between snowflake and star schema models is that the dimension tables of the snowflake model may be kept in normalized form to reduce redundancies. Tables in snowflake schema are easy to maintain and save storage space. This space savings is negligible in comparison to the typical magnitude of the fact table. The snowflake structure can reduce the effectiveness of browsing, since more joins will be needed to execute a query. The snowflake schema reduces redundancy, it is not as popular as the star schema in data warehouse design. Hamid Beigy (Sharif University of Technology) Data Mining Fall 1394 19 / 31

Snowflake schema (cont.) 4.2 Data Warehouse Modeling: Data Cube and OLAP 141 An example of snowflake scheme time Dimension table time_key day day_of_week month quarter year sales Fact table time_key item_key branch_key location_key dollars_sold units_sold item Dimension table item_key item_name brand type supplier_key supplier Dimension table supplier_key supplier_type branch Dimension table branch_key branch_name branch_type location Dimension table location_key street city_key city Dimension table city_key city province_or_state country Hamid Beigy (Sharif University of Technology) Data Mining Fall 1394 20 / 31

Galaxy schema Sophisticated applications may require multiple fact tables to share dimension tables. 142 Chapter 4 Data Warehousing and Online Analytical Processing This kind of schema can be viewed as a collection of stars, and hence is called a galaxy schema or a fact constellation. time Dimension table time_key day day_of_week month quarter year sales Fact table time_key item_key branch_key location_key dollars_sold units_sold item Dimension table item_key item_name brand type supplier_type shipping Fact table item_key time_key shipper_key from_location to_location dollars_cost units_shipped shipper Dimension table shipper_key shipper_name location_key shipper_type branch Dimension table branch_key branch_name branch_type location Dimension table location_key street city province_or_state country Hamid Beigy (Sharif University of Technology) Data Mining Fall 1394 21 / 31

Dimensions (rolecity of concept hierarchies) Vancouver Victoria Toronto Ottawa New York Buffal Figure 4.9 A concept hierarchy for location. Due to space limitations, not all of t A concept hierarchy shown, defines indicated a sequence by ellipses of mappings between fromnodes. a set of low-level concepts to higher-level, more general concepts. country year province_or_state quarter city month week street (a) day (b) Hamid Beigy (Sharif University of Technology) Data Mining Fall 1394 22 / 31

Dimensions (role of concept hierarchies) 144 Concept Chapter 4hierarchies Data Warehousing may and alsoonline be defined Analytical byprocessing discretizing or grouping (following figure) values for a given dimension or attribute. ($0 $1000] ($0 $200] ($200 $400] ($400 $600] ($600 $800] ($800 $1000] ($0 $100] ($100 $200] ($200 $300] ($300 $400] ($400 $500] ($500 $600] ($600 $700] ($700 $800] ($800 $900] ($900 $1000] Figure There4.11 maya be concept more hierarchy than for oneprice. concept hierarchy for a given attribute or dimension, based on different user viewpoints. Concept hierarchies be organizedmay in a partial be provided order, forming manually a lattice. byan system example users, of a partial domain orderexperts, for the or knowledgetime engineers, dimensionor based mayon bethe automatically attributes day, week, generated month, quarter, based on andstatistical year day analysis < of the data distribution. {month < quarter; week} < year. 1 This lattice structure is shown in Figure 4.10(b). A concept hierarchy that is a total or partial order among attributes in a database schema is called a schema hierarchy. Concept hierarchies that are common to many applica- Hamid Beigy (Sharif University of Technology) Data Mining Fall 1394 23 / 31

Measures A data cube measure is a numeric function that can be evaluated at each point in the data cube space. A measure value is computed for a given point by aggregating the data corresponding to the respective dimensionvalue pairs defining the given point. Measures can be organized into three categories based on the kind of aggregate functions. 1 Distributive An aggregate function is distributive if it can be computed in a distributed manner. For example, count(), min(), and max() are distributive aggregate functions. (appropriate for large data cube) 2 Algebraic An aggregate function is algebraic if it can be computed by an algebraic function with M arguments (where M is a bounded positive integer), each of which is obtained by applying a distributive aggregate function. For example, avg() can be computed by sum()/count(), where both sum() and count() are distributive aggregate functions. (appropriate for large data cube) 3 Holistic An aggregate function is holistic if there is no constant bound on the storage size needed to describe a subaggregate. That is, there does not exist an algebraic function with M arguments (where M is a constant) that characterizes the computation. For example, median(), mode(), and rank(). A measure is holistic if it is obtained by applying a holistic aggregate function. (There are some techniques to approximate the computation of some holistic measures) Hamid Beigy (Sharif University of Technology) Data Mining Fall 1394 24 / 31

OLAP operations In the multidimensional model, data are organized into multiple dimensions, and each dimension contains multiple levels of abstraction defined by concept hierarchies. This organization provides users with the flexibility to view data from different views. A number of OLAP operations exist to materialize these different views. Roll-up The roll-up operation performs aggregation on a data cube. Hamid Beigy (Sharif University of Technology) Data Mining Fall 1394 25 / 31

OLAP operations (cont.) A number of OLAP operations exist to materialize these different views. Drill-down Drill-down is the reverse of roll-up. Hamid Beigy (Sharif University of Technology) Data Mining Fall 1394 26 / 31

OLAP operations (cont.) A number of OLAP operations exist to materialize these different views. Slice The slice operation performs a selection on one dimension of the given cube, resulting in a subcube. Hamid Beigy (Sharif University of Technology) Data Mining Fall 1394 27 / 31

OLAP operations (cont.) A number of OLAP operations exist to materialize these different views. Dice The dice operation defines a subcube by performing a selection on two or more dimensions. Hamid Beigy (Sharif University of Technology) Data Mining Fall 1394 28 / 31

OLAP operations (cont.) A number of OLAP operations exist to materialize these different views. Pivot(rotate) Pivot is a visualization operation that rotates the data axes in view to provide an alternative data presentation. OLAP specific operation Hamid Beigy (Sharif University of Technology) Data Mining Fall 1394 29 / 31

OLAP server architectures Implementations of a warehouse server for OLAP processing include the following: 1 Relational OLAP (ROLAP) servers These are the intermediate servers that stand in between a relational back-end server and client front-end tools. They use a relational or extended-relational DBMS to store and manage warehouse data, and OLAP middleware to support missing pieces. 2 Multidimensional OLAP (MOLAP) servers These servers support multidimensional data views through array-based multidimensional storage engines. They map multi- dimensional views directly to data cube array structures. 3 Hybrid OLAP (HOLAP) servers The hybrid OLAP approach combines ROLAP and MOLAP technology, benefiting from the greater scalability of ROLAP and the faster computation of MOLAP. 4 Hybrid OLAP (HOLAP) servers Some database system vendors implement specialized SQL servers that provide advanced query language and query processing support for SQL queries over star and snowflake schemas in a read-only environment. Hamid Beigy (Sharif University of Technology) Data Mining Fall 1394 30 / 31

Reading Read chapter 4 of the following book J. Han, M. Kamber, and Jian Pei, Data Mining: Concepts and Techniques, Morgan Kaufmann, 2012. Hamid Beigy (Sharif University of Technology) Data Mining Fall 1394 31 / 31