• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Mondrian update (Pentaho community meetup 2012, Amsterdam)

Mondrian update (Pentaho community meetup 2012, Amsterdam)



Mondrian 4 is major improvement to Mondrian model & engine. It is now beta. ...

Mondrian 4 is major improvement to Mondrian model & engine. It is now beta.

In this talk, I explain what is new, what has been changed, what has been taken away, and how you can help us test it, and get it to production quality faster.



Total Views
Views on SlideShare
Embed Views



32 Embeds 1,851

http://todobi.blogspot.com.es 804
http://todobi.blogspot.com 646
http://todobi.blogspot.mx 163
http://todobi.blogspot.com.ar 102
http://todobi.blogspot.com.br 28
http://www.todobi.blogspot.com 13
http://feeds.feedburner.com 13
http://todobi.blogspot.nl 11 8
http://todobi.blogspot.fr 8
http://todobi.blogspot.pt 6
http://todobi.blogspot.in 6
http://todobi.blogspot.de 6
http://todobi.blogspot.it 4
http://todobi.blogspot.co.uk 4
http://translate.googleusercontent.com 4
http://todobi.blogspot.ca 3
https://twitter.com 3
http://todobi.blogspot.gr 2
http://todobi.blogspot.co.nz 2
http://todobi.blogspot.dk 2
http://apps.synaptive.net 2
http://todobi.blogspot.ch 2
http://todobi.blogspot.jp 1
http://todobi.blogspot.kr 1
http://todobi.blogspot.cz 1
http://todobi.blogspot.co.il 1
http://todobi.blogspot.co.at 1
http://todobi.blogspot.ro 1
http://todobi.blogspot.se 1
http://todobi.blogspot.be 1
http://webcache.googleusercontent.com 1



Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
Post Comment
Edit your comment

    Mondrian update (Pentaho community meetup 2012, Amsterdam) Mondrian update (Pentaho community meetup 2012, Amsterdam) Presentation Transcript

    • Mondriaan updatePentaho community meetup AmsterdamSeptember 2012@julianhyde
    • AgendaMondrian 4 – betaOther new stuff(Yahoo)
    • Mondrian 4 – Whats new?AttributesMeasure groupsPhysical schemaInternals
    • Richer semantic modelPhysical schema: Only define attributes and relationships once Compound keysAttribute hierarchiesHierarchies & attributes grouped into dimensions E.g. Customers dimension contains Customer hierarchy (State-City-Customer) and Age, Gender, Salary attribute hierarchies
    • Measure groupsIn Mondrian 3.x, if you want a cube with multiple fact tables, you build a virtual cube: <Cube name=“Sales”> <Table name=“sales_fact”/> </Cube> <Cube name=“Warehouse”> <Table name=“warehouse_fact”/> </Cube> <VirtualCube name=“Warehouse and Sales”> <Cube name=“Sales”/> <Cube name=“Warehouse”/> </VirtualCube>
    • Measure groups (2)In Mondrian 4, cubes can contain <Cube name=“Warehouse and Sales”> <MeasureGroups> multiple measure groups <MeasureGroup name=“Sales”> <Table name=“sales_fact”/> <Measure name=“unit_sales”/> </MeasureGroup> <MeasureGroup name=“Warehouse”>Virtual cubes are obsolete <Table name=“warehousee_fact”/> <Measure name=“inventory_units”/> </MeasureGroup> </MeasureGroups> </Cube>Many-to-many association between measure groups and dimensionsDifferent ways to link dimensions to Sales Warehousefact tables Time X X Product X XAggregate tables are measure groups Customer X Warehouse X
    • Gone / ReplacementsMondrian 3 schema Mondrian 4 Schema Schema upgraderAggregate recognizer Aggregate table API (define / enable / disable)Schema workbench Pentaho modeler?XMLA server olap4j-xmlaserver @githubHierarchy syntax SSAS-style syntax [Time.Weekly].[Day]  [Time].[Weekly].[Day] [Time].[Month]  [Time].[Time].[Month]
    • Done / RemainingThe important things Ragged hierarchieswork!Schema converter Analyzer upgrade2511 of 2770 tests Aggregate table APIpass Complex schema mappings
    • Beta1. Download from CIhttp://ci.pentaho.com/view/Analysis/job/mondrian-git-4.0/2. Run Mondrian-4 on your current schema Auto-upgrade Schema converter tool TBA MDX syntax differences mondrian.olap.SsasCompatibleNaming=true3. Write a new-style schema4. Log bugs!
    • Futures
    • “Mondrian in Action” bookPublish date: Spring 2013Join the early-access program: http://www.manning.com/back/
    • Future featuresShelved aggregate tablesConnections Defined in schema Multiple connections Non-JDBC databasesAdvanced SQL generation
    • Regular aggregate table
    • Shelved aggregate table
    • Aggregate table API – some ideas Define Enable Disable Specify beginning/end of valid range Kettle can tell Mondrian that aggregate table is no longer valid Kettle can ask Mondrian to tell it when it has finished using an aggregate table
    • Multiple connections in schema <Schema name=FoodMart> <Connections> <Connection name=default default=true uuid=abcd-1234> <Jdbc>jdbc:mysql://localhost/foodmart? characterEncoding=latin1&lt;/Jdbc> <JdbcUser>foodmart</JdbcUser> <JdbcPassword>foodmart</JdbcPassword> </Connection> <Connection name=aggs default=false uuid=abcd-2345> <Jdbc>jdbc:mysql://localhost/foodmartAggs? characterEncoding=latin1</Jdbc> <JdbcUser>foodmartAggs</JdbcUser> <Properties> <Property name=prop1>value1</Property> <Property name=prop2>value2</Property> </Properties> </Connection> </Connections> Cannot join tables from different connections Also: non-JDBC connection (via SPI or Optiq)
    • Advanced SQL generation Access control Killing big IN lists Push down aggregates (esp. time ranges) Need a new strategy... TBD
    • SummaryMondrian 4 – A major improvement to Mondrian model & engineAs compatible as possibleWill enable further improvements in performance / flexibility in upcoming releasesHelp us test it, and get it to production quality faster
    • Questions?@julianhydejhyde@pentaho.comhttp://julianhyde.blogspot.comhttps://github.com/julianhyde/