SlideServe
Menu
Préférences
© SlideServe · v2026

Understanding Data Cubes in Information Integration | CS-257 Guide

derora avatar
13 diapositives · 248 Views · Oct 09, 2014

Explore the concept of data cubes, a multi-dimensional structure that allows viewing aggregated data from various perspectives. Learn about cube operators, cube operator examples, cube implementation through materialized views, and the concept of a lattice of views in information integration. Discover how to optimize select statements using materialized views in data warehousing.

Understanding Data Cubes in Information Integration | CS-257 Guide - slide 1
01 / 13Understanding Data Cubes in Information Integration | CS-257 Guide
1 / 17

Télécharger la présentation

Understanding Data Cubes in Information Integration | CS-257 Guide
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation

Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement. Téléchargez la présentation en cliquant sur ce lien. Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.

F I N

Plus de contenu associé

Transcription de la présentation
  1. INFORMATION INTEGRATION ANAND KANANKAM CS-257 ID- 122

  2. DATA CUBES • Data cube is a multi-dimensional structure , it as a data abstraction that allows one to view aggregated data from a number of perspectives. • It is surrounded by a collection of sub-cubes/cuboids that represent the aggregation of the base cuboid along one or more dimensions.

  3. DATA CUBE

  4. CUBE OPERATOR • In cube operator, we can define an augmented table CUBE(F) that add an additional value, denoted *, to each dimension. • The * has the intuitive meaning “any”, and it represents aggregation along the dimension in which it appears.

  5. CUBE OPERATOR

  6. EXAMPLE: Sales(model , color, date, dealer, val , cnt). -In this query we specify conditions on certain attributes of the sales relation and group by some other attributes -In the relation CUBE(sales), we look for those tuples t with the following properties: 1. If the query specifies a value v for attribute a, then tuple t has v in its component for a.

  7. 2.If the query groups by an attribute a, then t has any non-* value in its component for a. 3.If the query neither groups by attribute a nor specifies a value for a, then t has * in its component for a. QUERY: SELECT color, AVG(price) FROM Sales WHERE model=‘Gobi’ GROUP BY color; Cube(Sales) Form is (‘Gobi’ ,c ,*,*,v ,n)

  8. CUBE IMPLEMENTED BY MATERIALIZED VIEWS • A materialized view is an object that stores the result of select statement. These are mostly used in data warehousing to improve the performance of the select statements that involve group and aggregate functions we use materialized views . EXAMPLE: INSERT INTO salesV1 SELECT model, color, month, city, SUM(val) AS val, SUM(cnt) AS cnt FROM sales JOIN Dealers ON dealer=name GROUP BY model , color , month, city; Sales(model, color, date, dealer, val, cnt)

  9. Query:SELECT model ,SUM(val) FROM sales GROUP BY model; -Can also be written as: SELECT model, SUM(val) FROM sales(v1) GROUP BY model;

  10. SELECT model, color, date, SUM(val) FROM sales GROUP BY model ,color , date;

  11. LATTICE OF VIEWS • In lattice view we can partition the values of a dimension by grouping according to one or more attributes of its dimensional tables.

  12. THANK Q