Presentation is loading. Please wait.

Presentation is loading. Please wait.

XCube XML For Data Warehouses By Sven Groot. Data warehouses Contains data drawn from several databases and external sources Contains data drawn from.

Similar presentations


Presentation on theme: "XCube XML For Data Warehouses By Sven Groot. Data warehouses Contains data drawn from several databases and external sources Contains data drawn from."— Presentation transcript:

1 XCube XML For Data Warehouses By Sven Groot

2 Data warehouses Contains data drawn from several databases and external sources Contains data drawn from several databases and external sources Provide a comprehensive view of all aspects of an enterprise Provide a comprehensive view of all aspects of an enterprise Complemented by increased emphasis on powerful analysis tools Complemented by increased emphasis on powerful analysis tools –SQL is inadequate –OLAP: OnLine Analytic Processing

3 Data Warehousing External Data Sources Operational Databases Extract Clean Transform Load Refresh Data Warehouse Metadata repository Serves OLAP Visualisation Data Mining

4 OLAP Multidimensional data model Multidimensional data model 810 203050 15258 123 timeid 11 13 12 pid locid

5 OLAP (cont’d) Multidimensional data as a relation Multidimensional data as a relation locidcitystatecountry 1AmesIowaUSA 2LeidenZHHolland 3TempeArizonaUSA pidpnamecategoryprice11 Lee Jeans Apparel25 12X-BoxElectronics150 13 Biro Pen Stationery2 pidtimeidlocidsales111125 11218 113115 121130 122120 123150 13118 132110 133110 111235 112222 Locations Products Sales

6 OLAP (cont’d) Dimension as hierarchies Dimension as hierarchies PRODUCTTIMELOCATION category pname year quarter weekmonth date country state city

7 OLAP (cont’d) Typical OLAP queries Typical OLAP queries –Find the total sales –Find total sales for each city –Find total sales for each state –Find the top five products ranked by total sales Possible to drill-down and roll-up on dimensions Possible to drill-down and roll-up on dimensions Pivoting Pivoting

8 eXtensible Markup Language Contains nodes that may be processing instructions, elements, attributes, CDATA sections or comments. Contains nodes that may be processing instructions, elements, attributes, CDATA sections or comments. Must be well-formed Must be well-formed Format can be defined by a DTD or XSD. Format can be defined by a DTD or XSD. Multiple formats in one document using namespaces. Multiple formats in one document using namespaces. Can be transformed using XSLT Can be transformed using XSLT Second Edition Second Edition </Library>

9 Data Warehouses Reloaded Data warehousing occurs across departments all over the globe, and also across companies Data warehousing occurs across departments all over the globe, and also across companies External datasources might include WWW and other data warehouses External datasources might include WWW and other data warehouses One flexible format for exchanging data cubes would be useful: XCube One flexible format for exchanging data cubes would be useful: XCube

10 XCube Scenarios Download Download

11 XCube Scenarios (cont’d) Query Query

12 XCube Scenarios (cont’d) Generating Generating –Conversion of any data into data cube –Using data from a warehouse in data cube

13 Requirements for online cubes Support for multidimensional data model. Support for multidimensional data model. Support for conceptual distinction between schema, dimension and fact data. Support for conceptual distinction between schema, dimension and fact data. Transportable over the network. Transportable over the network. For flexibility and reuse linking and inclusion concepts needed For flexibility and reuse linking and inclusion concepts needed Extensible to adapt to different data models or new concepts Extensible to adapt to different data models or new concepts Easily convertible to and from various sources and formats Easily convertible to and from various sources and formats Possibly allow OLAP processing to reduce data transfer Possibly allow OLAP processing to reduce data transfer

14 XCube formats XCubeSchema XCubeSchema

15 XCube formats (cont’d) <multidimensionalSchema version="0.4" xmlns="http://www.xcube-open.org/V0_4/XCubeSchema.xcsd"> xmlns="http://www.xcube-open.org/V0_4/XCubeSchema.xcsd">

16 XCube formats (cont’d) XCubeDimension XCubeDimension

17 XCube formats (cont’d) <dimensionData version="0.4" xmlns="http://www.xcube-open.org/V0_4/XCubeDimension_base.xcsd"> xmlns="http://www.xcube-open.org/V0_4/XCubeDimension_base.xcsd">

18 XCube formats (cont’d) XCubeFact XCubeFact

19

20 XCube extended formats XCubeText XCubeText –Adds textual description for nearly every element. –Future version will allow separate files. –Allows different levels of detail (short, medium, long, html)

21 XCube extended formats (cont’d) XCubeQuery XCubeQuery –Organise interactive dialog between client and server –Meant to facilitate more efficient exchange of data –Consists of seven different query formats

22 XCubeQuery List of available cubes List of available cubes –Request: –Request: –Response: –Response:

23 XCubeQuery (cont’d) Getting the schema of a special cube Getting the schema of a special cube –Request: –Request: –Response: –Response:

24 XCubeQuery (cont’d) Querying the Classification Schema Querying the Classification Schema –Request: –Request: –Response:

25 XCubeQuery (cont’d)

26 XCubeQuery (cont’d) Querying Classification Nodes Querying Classification Nodes –Request: –Request: –Response: –Response:

27 XCube extended formats (cont’d) XCubeFunction XCubeFunction –Still under development –Query XCube server about it’s functionality

28 XCube formats summary XCubeSchemaXCubeDimensionXCubeFactXCubeTextXCubeQueryXCubeFunction

29 Related work Common Warehouse Metamodel Common Warehouse Metamodel MetaCube-X MetaCube-X XML for Analysis XML for Analysis

30 Where from here Basis for more complex and efficient infrastructure. Basis for more complex and efficient infrastructure. Combination with XML Web Services Combination with XML Web Services Evolution of XCubeText Evolution of XCubeText Create new data warehouses with XCube standards. Create new data warehouses with XCube standards.

31 References Wolfgang Hümmer, Andreas Bauer & Gunnar Hard; XCube – XML For Data Warehouses; DOLAP’03, November 7, 2003. Wolfgang Hümmer, Andreas Bauer & Gunnar Hard; XCube – XML For Data Warehouses; DOLAP’03, November 7, 2003. http://www.xcube-open.org http://www.xcube-open.org http://www.xcube-open.org Raghu Ramakrishnan & Johannes Gehrke; Database Management Systems, second edition; McGraw-Hill, 2000 Raghu Ramakrishnan & Johannes Gehrke; Database Management Systems, second edition; McGraw-Hill, 2000 T. Bray, J. Paoli, C.M. Sperberg-McQueen; E. Maler; Extensible Markup Language (XML) 1.0 (Second Edition) W3C Recommendation 6 October 2000 http://www.w3.org/TR/REC-xml T. Bray, J. Paoli, C.M. Sperberg-McQueen; E. Maler; Extensible Markup Language (XML) 1.0 (Second Edition) W3C Recommendation 6 October 2000 http://www.w3.org/TR/REC-xml


Download ppt "XCube XML For Data Warehouses By Sven Groot. Data warehouses Contains data drawn from several databases and external sources Contains data drawn from."

Similar presentations


Ads by Google