Presentation is loading. Please wait.

Presentation is loading. Please wait.

Nicolas Hames (UNamur), Mathieu Beine (UNamur), Anthony Cleve (UNamur), Jens Weber (UVic) Bidirectional Transformations in Database Evolution: A case study.

Similar presentations


Presentation on theme: "Nicolas Hames (UNamur), Mathieu Beine (UNamur), Anthony Cleve (UNamur), Jens Weber (UVic) Bidirectional Transformations in Database Evolution: A case study."— Presentation transcript:

1 Nicolas Hames (UNamur), Mathieu Beine (UNamur), Anthony Cleve (UNamur), Jens Weber (UVic) Bidirectional Transformations in Database Evolution: A case study « at scale » 8/22/2014BX2014 : Bx in Database Evolution1

2 1. Introduction 8/22/2014BX2014 : Bx in Database Evolution2

3 1. Introduction Case study: OSCAR CMR System –Schema evolution / cleaning 467 tables (>1000 columns / table) –Technology dependence MySQL –Need of formal transformations Migration of critical data –Need of reversible transformations Backward compatibiliy with the application –Implementation « At Scale » Design decisions and trade-offs  Provability, scalability, reversibility and MySQL compatibility 8/22/2014BX2014 : Bx in Database Evolution3

4 1. Introduction 8/22/2014BX2014 : Bx in Database Evolution4

5 2. Method Based on the « Channels » concept (J. Terwilliger). –Partial implementation for specific needs Only a subset of operators Only a subset of properties 8/22/2014BX2014 : Bx in Database Evolution5

6 2. Method 8/22/2014BX2014 : Bx in Database Evolution6

7 2. Method UNPIVOT –No UNPIVOT operator in MySQL Procedural approach : stored procedure Declarative approach: single select statement 8/22/2014BX2014 : Bx in Database Evolution7

8 2. Method 8/22/2014BX2014 : Bx in Database Evolution8 Procedural approach Declarative approach

9 2. Method PIVOT –No PIVOT operator in MySQL Joins Joins of joins « The coalescing approach » 8/22/2014BX2014 : Bx in Database Evolution9

10 2. Method PIVOT: « The coalescing approach » 8/22/2014BX2014 : Bx in Database Evolution10

11 2. Method 8/22/2014BX2014 : Bx in Database Evolution11 JoinsThe coalescing approach

12 3. Results Based on the « Channels » concept (J. Terwilliger). –Partial implementation for specific needs Only DML (CRUD) –Tool support Plugin for DBMain Case tool –Code generation > 300 pages for the insert trigger only ! 8/22/2014BX2014 : Bx in Database Evolution12

13 4. Conclusion Implementation « at scale » –Design decision and trade-offs –Technology dependent Theoretical concepts not always directly applicable –Max join per query limit –No PIVOT / UNPIVOT operators in function set –Provable transformations –Performance comparison –Further performance improvement: Idea : ORM based channels implementation 8/22/2014BX2014 : Bx in Database Evolution13

14 5. Questions ? 8/22/2014BX2014 : Bx in Database Evolution14


Download ppt "Nicolas Hames (UNamur), Mathieu Beine (UNamur), Anthony Cleve (UNamur), Jens Weber (UVic) Bidirectional Transformations in Database Evolution: A case study."

Similar presentations


Ads by Google