On bridging relational and document-centric data stores
John Roijackers and George Fletcher
Eindhoven University of Technology
On bridging relational and document-centric data stores John - - PowerPoint PPT Presentation
On bridging relational and document-centric data stores John Roijackers and George Fletcher Eindhoven University of Technology BNCOD 2013 Oxford, UK 9 July 2013 Outline 1 Introduction 2 Theoretical framework 3 Experimental framework 4
Eindhoven University of Technology
Roijackers & Fletcher (TU Eindhoven) Bridging SQL and NoSQL BNCOD 2013 2 / 29
Roijackers & Fletcher (TU Eindhoven) Bridging SQL and NoSQL BNCOD 2013 3 / 29
Roijackers & Fletcher (TU Eindhoven) Bridging SQL and NoSQL BNCOD 2013 4 / 29
Roijackers & Fletcher (TU Eindhoven) Bridging SQL and NoSQL BNCOD 2013 4 / 29
Roijackers & Fletcher (TU Eindhoven) Bridging SQL and NoSQL BNCOD 2013 5 / 29
Table: Relational data
Roijackers & Fletcher (TU Eindhoven) Bridging SQL and NoSQL BNCOD 2013 6 / 29
Table: Relational data
Roijackers & Fletcher (TU Eindhoven) Bridging SQL and NoSQL BNCOD 2013 6 / 29
Figure: Desired database abstraction architecture
Roijackers & Fletcher (TU Eindhoven) Bridging SQL and NoSQL BNCOD 2013 7 / 29
Figure: Desired database abstraction architecture
Roijackers & Fletcher (TU Eindhoven) Bridging SQL and NoSQL BNCOD 2013 7 / 29
Roijackers & Fletcher (TU Eindhoven) Bridging SQL and NoSQL BNCOD 2013 8 / 29
Roijackers & Fletcher (TU Eindhoven) Bridging SQL and NoSQL BNCOD 2013 8 / 29
Roijackers & Fletcher (TU Eindhoven) Bridging SQL and NoSQL BNCOD 2013 9 / 29
Roijackers & Fletcher (TU Eindhoven) Bridging SQL and NoSQL BNCOD 2013 9 / 29
Roijackers & Fletcher (TU Eindhoven) Bridging SQL and NoSQL BNCOD 2013 10 / 29
Table: Logical NoSQL relation
Roijackers & Fletcher (TU Eindhoven) Bridging SQL and NoSQL BNCOD 2013 11 / 29
Roijackers & Fletcher (TU Eindhoven) Bridging SQL and NoSQL BNCOD 2013 12 / 29
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Listing 1: Example SQL query with included NoSQL query pattern
Roijackers & Fletcher (TU Eindhoven) Bridging SQL and NoSQL BNCOD 2013 13 / 29
Table: Query translation example
Roijackers & Fletcher (TU Eindhoven) Bridging SQL and NoSQL BNCOD 2013 14 / 29
Roijackers & Fletcher (TU Eindhoven) Bridging SQL and NoSQL BNCOD 2013 15 / 29
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Roijackers & Fletcher (TU Eindhoven) Bridging SQL and NoSQL BNCOD 2013 16 / 29
Roijackers & Fletcher (TU Eindhoven) Bridging SQL and NoSQL BNCOD 2013 17 / 29
Roijackers & Fletcher (TU Eindhoven) Bridging SQL and NoSQL BNCOD 2013 17 / 29
Roijackers & Fletcher (TU Eindhoven) Bridging SQL and NoSQL BNCOD 2013 17 / 29
Translation
Merge
Transformation
Execution Stream in
Figure: Architectural overview illustrating the life of an SQL+NoSQL query
Roijackers & Fletcher (TU Eindhoven) Bridging SQL and NoSQL BNCOD 2013 18 / 29
Roijackers & Fletcher (TU Eindhoven) Bridging SQL and NoSQL BNCOD 2013 19 / 29
Roijackers & Fletcher (TU Eindhoven) Bridging SQL and NoSQL BNCOD 2013 20 / 29
Roijackers & Fletcher (TU Eindhoven) Bridging SQL and NoSQL BNCOD 2013 21 / 29
Roijackers & Fletcher (TU Eindhoven) Bridging SQL and NoSQL BNCOD 2013 22 / 29
Roijackers & Fletcher (TU Eindhoven) Bridging SQL and NoSQL BNCOD 2013 22 / 29
Roijackers & Fletcher (TU Eindhoven) Bridging SQL and NoSQL BNCOD 2013 23 / 29
0.1 1 10 100 T w i t t e r P r
u c t s Average query time (s) Dataset Ia Ib
Figure: Performance effect using a single temporary relation
Roijackers & Fletcher (TU Eindhoven) Bridging SQL and NoSQL BNCOD 2013 24 / 29
(a) Flow class Fiii
(b) Flow class Fiv Table: Comparison of Ic and Id performance in seconds, per flow class.
Roijackers & Fletcher (TU Eindhoven) Bridging SQL and NoSQL BNCOD 2013 25 / 29
Roijackers & Fletcher (TU Eindhoven) Bridging SQL and NoSQL BNCOD 2013 26 / 29
Roijackers & Fletcher (TU Eindhoven) Bridging SQL and NoSQL BNCOD 2013 27 / 29
Roijackers & Fletcher (TU Eindhoven) Bridging SQL and NoSQL BNCOD 2013 28 / 29
Roijackers & Fletcher (TU Eindhoven) Bridging SQL and NoSQL BNCOD 2013 29 / 29