XCube XML for Data Warehouses Wolfgang Hmmer Andreas Bauer Gunnar - - PowerPoint PPT Presentation

xcube
SMART_READER_LITE
LIVE PREVIEW

XCube XML for Data Warehouses Wolfgang Hmmer Andreas Bauer Gunnar - - PowerPoint PPT Presentation

XCube XML for Data Warehouses Wolfgang Hmmer Andreas Bauer Gunnar Harde DOLAP 2003 New Orleans Motivation/Outline DOLAP 2002 XML standard for Data Warehouse data is desirable Possible benefits Integration/federation of


slide-1
SLIDE 1

XCube

XML for Data Warehouses

Wolfgang Hümmer Andreas Bauer – Gunnar Harde DOLAP 2003 New Orleans

slide-2
SLIDE 2

12.11.2003

  • W. Hümmer - XCube

Motivation Basic formats

  • Adv. formats

Prototype Summary

Motivation/Outline

DOLAP 2002

XML standard for Data Warehouse data is

desirable

Possible benefits

Integration/federation of Data Warehouses Standardize MD data model Data Warehouse Web Service

Motivation

slide-3
SLIDE 3

12.11.2003

  • W. Hümmer - XCube

Motivation Basic formats

  • Adv. formats

Prototype Summary

The Download Use Case

Web Cube

Data Warehouse cube formulated in XML

Web server offers Web Cubes

Web server Web cubes Local DW Network download schema download dimensions download facts

Motivation

slide-4
SLIDE 4

12.11.2003

  • W. Hümmer - XCube

Motivation Basic formats

  • Adv. formats

Prototype Summary

The Query Use Case

Download case plus selective query

Benefit: reduce network traffic

Web server Web cubes Local DW Network download schema download dimensions download selected facts

query

Motivation

slide-5
SLIDE 5

12.11.2003

  • W. Hümmer - XCube

Motivation Basic formats

  • Adv. formats

Prototype Summary

Further Use Cases

The Generating Use Case

Create Web Cubes from raw data Create Web Cubes from existing Data

Warehouse data

Introduction of Standard Dimensions Federation of Data Warehouses Data Warehouse Portal …

Motivation

slide-6
SLIDE 6

12.11.2003

  • W. Hümmer - XCube

Motivation Basic formats

  • Adv. formats

Prototype Summary

Requirements for Web Cubes

Support for multidimensional model(s) Distinction between

Multidimensional schema Dimension/master data Facts/transaction data

Flexible: reuse and extensibility Suitable for transport over networks

Motivation

slide-7
SLIDE 7

12.11.2003

  • W. Hümmer - XCube

Motivation Basic formats

  • Adv. formats

Prototype Summary

XCube

Collection of XML formats for

Describing MD data cubes, i.e. Web Cubes Formulating simple queries on data cubes

Goal: exchange of warehouse data

Note: XCube is not a (proper) query language!

Joint development of OFFIS and FAU

Basic formats

slide-8
SLIDE 8

12.11.2003

  • W. Hümmer - XCube

Motivation Basic formats

  • Adv. formats

Prototype Summary

Overview – XCube Formats

Basic XCube Formats

XCubeSchema XCubeDimension XCubeFact

Advanced XCube Formats

XCubeText XCubeQuery XCubeFunction Basic formats

slide-9
SLIDE 9

12.11.2003

  • W. Hümmer - XCube

Motivation Basic formats

  • Adv. formats

Prototype Summary

XCubeSchema

Description of MD structure Contains links to

Dimensions & their hierarchy levels Facts

Extensions

Multicubes Data types & unit types Computed facts Inheritance, composition Standard Time Dimension … Basic formats

slide-10
SLIDE 10

12.11.2003

  • W. Hümmer - XCube

Motivation Basic formats

  • Adv. formats

Prototype Summary

XCubeSchema – Example

< multidimensionalSchema …> < cubeSchema id= "sale"> < fact id= "sales"/> < fact id= "revenue"/> < dimension id= "geography" granularity= "branch"/> < dimension id= "product" granularity= "article"/> < /cubeSchema> < classSchema> < classLevel id= "branch"> < attribute id= "manager"/> < rollUp toLevel= "city"/> < /classLevel> < classLevel id= "city"> < rollUp toLevel= "region"/> < /classLevel> < classLevel id= "article"> < attribute id= "articleName"/> < attribute id= "brand"/> < rollUp toLevel= "productGroup"/> < /classLevel> < classLevel id= "productGroup"> < rollUp toLevel= "productFamily"/> < /classLevel> < /classSchema> < /multidimensionalSchema>

< multidimensionalSchema> < cubeSchema> < classSchema> < fact> < dimension> * * < classLevel> * < rollUp> < attribute> * *

geography product

Basic formats

slide-11
SLIDE 11

12.11.2003

  • W. Hümmer - XCube

Motivation Basic formats

  • Adv. formats

Prototype Summary

XCubeDimension

Store data of single dimension

Populate classification levels from above Assign units to nodes

Special features

Shared Roll-Ups Versioning of nodes Reuse & refine standard Time-Dimension Basic formats

slide-12
SLIDE 12

12.11.2003

  • W. Hümmer - XCube

Motivation Basic formats

  • Adv. formats

Prototype Summary

XCubeDimension – Example

< dimensionData version= "0.4“ …> < units> < entry unitType= "currency" unit= "EUR"/> < /units> < classification> < level id= "country"> < node id= "Germany"/> < node id= "Switzerland"/> < node id= "France"/> < /level> < level id= "region"> < node id= "Northern Germany"> < rollUp toNode= "Germany" level= "country"/> < /node> < node id= "Western Germany"> < rollUp toNode= "Germany" level= "country"/> < /node> < node id= "Eastern Germany"> < rollUp toNode= "Germany" level= "country"/> < /node> < node id= "Southern Germnamy"> < rollUp toNode= "Germany" level= "country"/> < /node> < /level> < /classification> < /dimensionData>

< dimensionData> < units> < classification> < entry> * < level> * < attribute> < rollUp> * * < node> *

geography

Basic formats

slide-13
SLIDE 13

12.11.2003

  • W. Hümmer - XCube

Motivation Basic formats

  • Adv. formats

Prototype Summary

XCubeFact

< cubeFacts version= "0.4“ …> < cube id= "sale"> < cell> < dimension id= "geography" node= "branch48"/> < dimension id= "product" node= "MA-450"/> < dimension id= "time" node= "2003-07-24"/> < fact id= "sales" value= "3"/> < fact id= "revenue" value= "960"/> < /cell> < cell> < dimension id= "geography“ node= "branch75"/> < dimension id= "product" node= "MA-450"/> < dimension id= "time" node= "2003-07-24"/> < fact id= "sales" value= "2"/> < fact id= "revenue" value= "640"/> < /cell> < /cube> < /cubeFacts>

< cubeFacts> < cube> * < dimension> < fact> * * < cell> *

Stores facts of a data warehouse cube

MD coordinates fact values

Basic formats

slide-14
SLIDE 14

12.11.2003

  • W. Hümmer - XCube

Motivation Basic formats

  • Adv. formats

Prototype Summary

Short Summary

What we have so far

XCubeSchema XCubeDimension XCubeFact

Result

We are able to express a complete data

cube in XML

Basic formats

slide-15
SLIDE 15

12.11.2003

  • W. Hümmer - XCube

Motivation Basic formats

  • Adv. formats

Prototype Summary

XCubeQuery

Dynamically explore a web cube

Not meant to be YAQL Reduce network traffic by drilling down to

the area of interest

Usability depends on ability of the data

source

E.g. “dumb” sources cannot slice & dice Problem treated with XCubeFunction

  • Adv. formats
slide-16
SLIDE 16

12.11.2003

  • W. Hümmer - XCube

Motivation Basic formats

  • Adv. formats

Prototype Summary

XCubeQuery – Sequence (1)

Client Server

< getCubeSchema> < cubeSchema> * < getCubeSchema id= …> < cubeSchema id= …> < fact> * < dimension> *

Get List of Cubes Get facts & dimensions

  • Adv. formats
slide-17
SLIDE 17

12.11.2003

  • W. Hümmer - XCube

Motivation Basic formats

  • Adv. formats

Prototype Summary

XCubeQuery – Sequence (2)

Client Server

Get all information

  • n dimension(s)

< getClassSchema> < dimension id= …> * < class Schema> < classLevel id= …> * < dataTypes> < dataType name= …> * < unitTypes> < unitType> *

  • Adv. formats
slide-18
SLIDE 18

12.11.2003

  • W. Hümmer - XCube

Motivation Basic formats

  • Adv. formats

Prototype Summary

XCubeQuery – Sequence (3)

Client Server

< getFacts> < cube id= …> * < dimension id= …> * < fact> * < cube id= …> < cell> * < dimension id= … node= …> * < fact id= … value= …> *

Get facts

  • Adv. formats
slide-19
SLIDE 19

12.11.2003

  • W. Hümmer - XCube

Motivation Basic formats

  • Adv. formats

Prototype Summary

Further XCube-Standards

XCubeFunction

Query the abilities of a server holding web

cubes

Determines to what degree XCubeQuery

can be used

XCubeText

Add textual descriptions/comments In place vs. external file(s)

  • Adv. formats
slide-20
SLIDE 20

12.11.2003

  • W. Hümmer - XCube

Motivation Basic formats

  • Adv. formats

Prototype Summary

Prototypical Implementation

XCube-Generator

Windows 2000 MS SQL Server &

OLAP Services

XCube-Loader

Solaris 8.0 Oracle 9i

TPC-H data

Scale Factor 1

Oldenburg Erlangen

TPC-H data

Prototype

slide-21
SLIDE 21

12.11.2003

  • W. Hümmer - XCube

Motivation Basic formats

  • Adv. formats

Prototype Summary

XCube-Loader

Metamodel based on CWM Database system independent

Pluggable DBS drivers

Prototype Transformation XCF XCS XCD DB structures Driver manager

MS Access

DW2

MS Access

DWn

DW1

Oracle Oracle Object structures

slide-22
SLIDE 22

12.11.2003

  • W. Hümmer - XCube

Motivation Basic formats

  • Adv. formats

Prototype Summary

Summary

XCube

Standard formats for formulating cubes

Issues

No unique MD data model Overhead/size gained by using XML

Vision

Data Warehouse Web Service Federations of warehouses …

Summary

slide-23
SLIDE 23

12.11.2003

  • W. Hümmer - XCube

Motivation Basic formats

  • Adv. formats

Prototype Summary

Thank You for Your Attention

Are there any Questions? Find out more at www.xcube-open.org

Summary