SlideShare a Scribd company logo
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 1/70
1 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 2/70
2 / 702 / 702 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 3/70
MyMySQLSQL 8.0 Document Store8.0 Document Store
How to Mix NoSQL & SQL inHow to Mix NoSQL & SQL in MyMySQLSQL 8.08.0
 
 
 
 
 
 
Frédéric Descamps - MySQL Community Manager - OracleOracle
3 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 4/70
 
Safe Harbor Statement
The following is intended to outline our general
product direction. It is intended for information
purpose only, and may not be incorporated into any
contract. It is not a commitment to deliver any
material, code, or functionality, and should not be
relied up in making purchasing decisions. The
development, release and timing of any features or
functionality described for Oracle´s product remains
at the sole discretion of Oracle.
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
4 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 5/70
about me - http://about.me/lefred
Who am I ?Who am I ?
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
5 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 6/70
Frédéric
Descamps
@lefred
MySQL Evangelist
Hacking MySQL since
3.23
devops believer
living in Belgium
🇧🇪
http://lefred.be
 
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
6 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 7/70
Why ?
Developers don't really like SQLSQL
 
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
7 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 8/70
Why ?
SQL can be complicated and slows down the initial
development
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
8 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 9/70
easy operations
What do developers want ?What do developers want ?
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
9 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 10/70
Use Objects / Documents
Developers want to just use objects (that's why they
usually love what DBAs hates: ORMs !).
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
10 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 11/70
Use Objects / Documents
Developers want to just use objects (that's why they
usually love what DBAs hates: ORMs !).
They want to deal with these objects easily (CRUD
operations) and they don't want to think about
schema design (slows down the initial development
process).
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
11 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 12/70
Use Objects / Documents
Developers want to just use objects (that's why they
usually love what DBAs hates: ORMs !).
They want to deal with these objects easily (CRUD
operations) and they don't want to think about
schema design (slows down the initial development
process).
But they also want to keep their data safe and use
transactions.
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
12 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 13/70
ready for some fun?
Let's start !Let's start !
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
13 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 14/70
Migration from MongoDB to
MySQL DS
For this example, I will use the well known
collection:
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
14 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 15/70
Migration from MongoDB to
MySQL DS
For this example, I will use the well known
collection:
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
15 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 16/70
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
16 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 17/70
Let's query
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
17 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 18/70
Let's query
That's too much records to show it here... let's
limit it
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
18 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 19/70
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
19 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 20/70
Some more examples
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
20 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 21/70
Some more examples
Let's add a selection criteria:
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
21 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 22/70
Using IN...
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
22 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 23/70
And for developers ?
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
23 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 24/70
And for developers ?
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
24 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 25/70
And for developers ?
 
Easy, using only CRUD operations !
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
25 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 26/70
MySQL Document Store
Objects
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
26 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 27/70
CRUD operations
Add
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
27 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 28/70
CRUD operations
Add
Remove
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
28 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 29/70
CRUD operations
Modify
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
29 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 30/70
All you need to know is here:
https://dev.mysql.com/doc/x-devapi-
userguide/en/crud-operations-overview.html
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
30 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 31/70
we do care about your data
MyMySQLSQL Document StoreDocument Store is Full ACIDis Full ACID
CompliantCompliant
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
31 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 32/70
Document Store Full ACID !
It relies on the proven MySQL InnoDB's strength &
robustness:
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
32 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 33/70
Document Store Full ACID !
It relies on the proven MySQL InnoDB's strength &
robustness:
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
33 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 34/70
Document Store Full ACID !
It relies on the proven MySQL InnoDB's strength &
robustness:
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
34 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 35/70
Document Store Full ACID !
It relies on the proven MySQL InnoDB's strength &
robustness:
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
35 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 36/70
Document Store Full ACID !
It relies on the proven MySQL InnoDB's strength &
robustness:
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
36 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 37/70
Document Store Full ACID !
It relies on the proven MySQL InnoDB's strength &
robustness:
We do care about your data
!
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
37 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 38/70
MySQL DS - ACID
Transactions support
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
38 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 39/70
MySQL DS - ACID
Transactions support
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
39 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 40/70
OK we have Document Store, CRUD and ACID
but what makesbut what makes MyMySQLSQL DocumentDocument
StoreStore unique ?unique ?
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
40 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 41/70
Challenge: list the best
restaurant of each type of
food and show the top 10,
with the best one first !
 
don't forget that all these restaurants are just
JSON documents
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
41 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 42/70
NoSQL as SQL - aggregation
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
42 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 43/70
NoSQL as SQL - aggregation
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
43 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 44/70
NoSQL as SQL - aggregation
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
44 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 45/70
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
45 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 46/70
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
46 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 47/70
Virtual Columns, Indexes, ...
And for the DBA ?And for the DBA ?
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
47 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 48/70
DS for DBAs: JSON
The DBAs can benefit from all JSON functions and
capabilities.
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
48 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 49/70
DS for DBAs: JSON
The DBAs can benefit from all JSON functions and
capabilities.
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
49 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 50/70
DS for DBAs: JSON
The DBAs can benefit from all JSON functions and
capabilities.
same as:
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
50 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 51/70
DS for DBAs: JSON
The DBAs can benefit from all JSON functions and
capabilities.
same as:
we can use it in SQL:
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
51 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 52/70
SQL and JSON: validation
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
52 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 53/70
SQL and JSON: validation
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
53 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 54/70
SQL and JSON: validation
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
54 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 55/70
SQL & JSON
But what for ?But what for ?
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
55 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 56/70
Example
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
56 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 57/70
Example (2)
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
57 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 58/70
Example (3) - Index
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
58 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 59/70
Example (4) - Index
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
59 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 60/70
Indexes in Document Store
It's also possible to create indexes without using
SQL syntax:
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
60 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 61/70
Indexes in Document Store
It's also possible to create indexes without using
SQL syntax:
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
61 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 62/70
Example (5): arrays
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
62 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 63/70
Example (5): arrays
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
63 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 64/70
Example (5): arrays
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
64 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 65/70
Example (5): arrays
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
65 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 66/70
Example (5): JSON_TABLE
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
66 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 67/70
what do I gain ?
ConclusionConclusion
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
67 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 68/70
schemaless
flexible data
structure
easy to start (CRUD)
Conclusion
This is the best of the two worlds in one product !
Data integrity
ACID Compliant
Transactions
SQL
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
68 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 69/70
69 / 70
2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0
file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 70/70
Thank you !
Any Questions ?
share your 💕 for MySQL on social media using
Copyright @ 2019 Oracle and/or its affiliates. All rights reserved.
70 / 70

More Related Content

What's hot

MySQL Shell: the best DBA tool ?
MySQL Shell: the best DBA tool ?MySQL Shell: the best DBA tool ?
MySQL Shell: the best DBA tool ?
Frederic Descamps
 
DataOpsbarcelona 2019: Deep dive into MySQL Group Replication... the magic e...
DataOpsbarcelona 2019:  Deep dive into MySQL Group Replication... the magic e...DataOpsbarcelona 2019:  Deep dive into MySQL Group Replication... the magic e...
DataOpsbarcelona 2019: Deep dive into MySQL Group Replication... the magic e...
Frederic Descamps
 
PHP, The X DevAPI, and the MySQL Document Store -- Benelux PHP Confernece 2019
PHP, The X DevAPI, and the MySQL Document Store -- Benelux PHP Confernece 2019PHP, The X DevAPI, and the MySQL Document Store -- Benelux PHP Confernece 2019
PHP, The X DevAPI, and the MySQL Document Store -- Benelux PHP Confernece 2019
Dave Stokes
 
Percona Live Europe 2018 MySQL Group Replication... the magic explained
Percona Live Europe 2018  MySQL Group Replication... the magic explainedPercona Live Europe 2018  MySQL Group Replication... the magic explained
Percona Live Europe 2018 MySQL Group Replication... the magic explained
Frederic Descamps
 
Oracle Open World 2018 / Code One : MySQL 8.0 Document Store
Oracle Open World 2018 /  Code One : MySQL 8.0 Document StoreOracle Open World 2018 /  Code One : MySQL 8.0 Document Store
Oracle Open World 2018 / Code One : MySQL 8.0 Document Store
Frederic Descamps
 
How to operate MySQL InnoDB Cluster with MySQL Shell
How to operate MySQL InnoDB Cluster with MySQL ShellHow to operate MySQL InnoDB Cluster with MySQL Shell
How to operate MySQL InnoDB Cluster with MySQL Shell
Frederic Descamps
 
Oracle Open World 2018 / Code One : MySQL 8.0 High Availability with MySQL I...
Oracle Open World 2018 / Code One  : MySQL 8.0 High Availability with MySQL I...Oracle Open World 2018 / Code One  : MySQL 8.0 High Availability with MySQL I...
Oracle Open World 2018 / Code One : MySQL 8.0 High Availability with MySQL I...
Frederic Descamps
 
OpenExpo Virtual Experience 2020: MySQL 8.0 Document Store - Discovery of a n...
OpenExpo Virtual Experience 2020: MySQL 8.0 Document Store - Discovery of a n...OpenExpo Virtual Experience 2020: MySQL 8.0 Document Store - Discovery of a n...
OpenExpo Virtual Experience 2020: MySQL 8.0 Document Store - Discovery of a n...
Frederic Descamps
 
MySQL Innovation Day Chicago - MySQL HA So Easy : That's insane !!
MySQL Innovation Day Chicago  - MySQL HA So Easy : That's insane !!MySQL Innovation Day Chicago  - MySQL HA So Easy : That's insane !!
MySQL Innovation Day Chicago - MySQL HA So Easy : That's insane !!
Frederic Descamps
 
MySQL InnoDB Cluster - Advanced Configuration & Operations
MySQL InnoDB Cluster - Advanced Configuration & OperationsMySQL InnoDB Cluster - Advanced Configuration & Operations
MySQL InnoDB Cluster - Advanced Configuration & Operations
Frederic Descamps
 
MySQL Database Service Webinar - Installing WordPress in OCI with MDS
MySQL Database Service Webinar - Installing WordPress in OCI with MDSMySQL Database Service Webinar - Installing WordPress in OCI with MDS
MySQL Database Service Webinar - Installing WordPress in OCI with MDS
Frederic Descamps
 
UAE MySQL Users Group Meet-up : MySQL Shell Document Store & more...
UAE MySQL Users Group Meet-up : MySQL Shell Document Store & more...UAE MySQL Users Group Meet-up : MySQL Shell Document Store & more...
UAE MySQL Users Group Meet-up : MySQL Shell Document Store & more...
Frederic Descamps
 
Oracle Open World Middle East - MySQL 8 a Giant Leap for SQL
Oracle Open World Middle East - MySQL 8 a Giant Leap for SQLOracle Open World Middle East - MySQL 8 a Giant Leap for SQL
Oracle Open World Middle East - MySQL 8 a Giant Leap for SQL
Frederic Descamps
 
MySQL Group Replication: Handling Network Glitches - Best Practices
MySQL Group Replication: Handling Network Glitches - Best PracticesMySQL Group Replication: Handling Network Glitches - Best Practices
MySQL Group Replication: Handling Network Glitches - Best Practices
Frederic Descamps
 
MySQL Shell - the best DBA tool ?
MySQL Shell - the best DBA tool ? MySQL Shell - the best DBA tool ?
MySQL Shell - the best DBA tool ?
Frederic Descamps
 
MySQL 8.0 InnoDB Cluster - Easiest Tutorial
MySQL 8.0 InnoDB Cluster - Easiest TutorialMySQL 8.0 InnoDB Cluster - Easiest Tutorial
MySQL 8.0 InnoDB Cluster - Easiest Tutorial
Frederic Descamps
 
Python and MySQL 8.0 Document Store
Python and MySQL 8.0 Document StorePython and MySQL 8.0 Document Store
Python and MySQL 8.0 Document Store
Frederic Descamps
 
State of the Dolphin 2020 - 25th Anniversary of MySQL with 8.0.20
State of the Dolphin 2020 - 25th Anniversary of MySQL with 8.0.20State of the Dolphin 2020 - 25th Anniversary of MySQL with 8.0.20
State of the Dolphin 2020 - 25th Anniversary of MySQL with 8.0.20
Frederic Descamps
 
Introduction to MySQL InnoDB Cluster
Introduction to MySQL InnoDB ClusterIntroduction to MySQL InnoDB Cluster
Introduction to MySQL InnoDB Cluster
Frederic Descamps
 
MySQL Shell: the best DBA tool !
MySQL Shell: the best DBA tool !MySQL Shell: the best DBA tool !
MySQL Shell: the best DBA tool !
Frederic Descamps
 

What's hot (20)

MySQL Shell: the best DBA tool ?
MySQL Shell: the best DBA tool ?MySQL Shell: the best DBA tool ?
MySQL Shell: the best DBA tool ?
 
DataOpsbarcelona 2019: Deep dive into MySQL Group Replication... the magic e...
DataOpsbarcelona 2019:  Deep dive into MySQL Group Replication... the magic e...DataOpsbarcelona 2019:  Deep dive into MySQL Group Replication... the magic e...
DataOpsbarcelona 2019: Deep dive into MySQL Group Replication... the magic e...
 
PHP, The X DevAPI, and the MySQL Document Store -- Benelux PHP Confernece 2019
PHP, The X DevAPI, and the MySQL Document Store -- Benelux PHP Confernece 2019PHP, The X DevAPI, and the MySQL Document Store -- Benelux PHP Confernece 2019
PHP, The X DevAPI, and the MySQL Document Store -- Benelux PHP Confernece 2019
 
Percona Live Europe 2018 MySQL Group Replication... the magic explained
Percona Live Europe 2018  MySQL Group Replication... the magic explainedPercona Live Europe 2018  MySQL Group Replication... the magic explained
Percona Live Europe 2018 MySQL Group Replication... the magic explained
 
Oracle Open World 2018 / Code One : MySQL 8.0 Document Store
Oracle Open World 2018 /  Code One : MySQL 8.0 Document StoreOracle Open World 2018 /  Code One : MySQL 8.0 Document Store
Oracle Open World 2018 / Code One : MySQL 8.0 Document Store
 
How to operate MySQL InnoDB Cluster with MySQL Shell
How to operate MySQL InnoDB Cluster with MySQL ShellHow to operate MySQL InnoDB Cluster with MySQL Shell
How to operate MySQL InnoDB Cluster with MySQL Shell
 
Oracle Open World 2018 / Code One : MySQL 8.0 High Availability with MySQL I...
Oracle Open World 2018 / Code One  : MySQL 8.0 High Availability with MySQL I...Oracle Open World 2018 / Code One  : MySQL 8.0 High Availability with MySQL I...
Oracle Open World 2018 / Code One : MySQL 8.0 High Availability with MySQL I...
 
OpenExpo Virtual Experience 2020: MySQL 8.0 Document Store - Discovery of a n...
OpenExpo Virtual Experience 2020: MySQL 8.0 Document Store - Discovery of a n...OpenExpo Virtual Experience 2020: MySQL 8.0 Document Store - Discovery of a n...
OpenExpo Virtual Experience 2020: MySQL 8.0 Document Store - Discovery of a n...
 
MySQL Innovation Day Chicago - MySQL HA So Easy : That's insane !!
MySQL Innovation Day Chicago  - MySQL HA So Easy : That's insane !!MySQL Innovation Day Chicago  - MySQL HA So Easy : That's insane !!
MySQL Innovation Day Chicago - MySQL HA So Easy : That's insane !!
 
MySQL InnoDB Cluster - Advanced Configuration & Operations
MySQL InnoDB Cluster - Advanced Configuration & OperationsMySQL InnoDB Cluster - Advanced Configuration & Operations
MySQL InnoDB Cluster - Advanced Configuration & Operations
 
MySQL Database Service Webinar - Installing WordPress in OCI with MDS
MySQL Database Service Webinar - Installing WordPress in OCI with MDSMySQL Database Service Webinar - Installing WordPress in OCI with MDS
MySQL Database Service Webinar - Installing WordPress in OCI with MDS
 
UAE MySQL Users Group Meet-up : MySQL Shell Document Store & more...
UAE MySQL Users Group Meet-up : MySQL Shell Document Store & more...UAE MySQL Users Group Meet-up : MySQL Shell Document Store & more...
UAE MySQL Users Group Meet-up : MySQL Shell Document Store & more...
 
Oracle Open World Middle East - MySQL 8 a Giant Leap for SQL
Oracle Open World Middle East - MySQL 8 a Giant Leap for SQLOracle Open World Middle East - MySQL 8 a Giant Leap for SQL
Oracle Open World Middle East - MySQL 8 a Giant Leap for SQL
 
MySQL Group Replication: Handling Network Glitches - Best Practices
MySQL Group Replication: Handling Network Glitches - Best PracticesMySQL Group Replication: Handling Network Glitches - Best Practices
MySQL Group Replication: Handling Network Glitches - Best Practices
 
MySQL Shell - the best DBA tool ?
MySQL Shell - the best DBA tool ? MySQL Shell - the best DBA tool ?
MySQL Shell - the best DBA tool ?
 
MySQL 8.0 InnoDB Cluster - Easiest Tutorial
MySQL 8.0 InnoDB Cluster - Easiest TutorialMySQL 8.0 InnoDB Cluster - Easiest Tutorial
MySQL 8.0 InnoDB Cluster - Easiest Tutorial
 
Python and MySQL 8.0 Document Store
Python and MySQL 8.0 Document StorePython and MySQL 8.0 Document Store
Python and MySQL 8.0 Document Store
 
State of the Dolphin 2020 - 25th Anniversary of MySQL with 8.0.20
State of the Dolphin 2020 - 25th Anniversary of MySQL with 8.0.20State of the Dolphin 2020 - 25th Anniversary of MySQL with 8.0.20
State of the Dolphin 2020 - 25th Anniversary of MySQL with 8.0.20
 
Introduction to MySQL InnoDB Cluster
Introduction to MySQL InnoDB ClusterIntroduction to MySQL InnoDB Cluster
Introduction to MySQL InnoDB Cluster
 
MySQL Shell: the best DBA tool !
MySQL Shell: the best DBA tool !MySQL Shell: the best DBA tool !
MySQL Shell: the best DBA tool !
 

Similar to MySQL 8.0 Document Store - how to mix NoSQL & SQL in MySQL 8.0

the State of the Dolphin - October 2020
the State of the Dolphin - October 2020the State of the Dolphin - October 2020
the State of the Dolphin - October 2020
Frederic Descamps
 
MySQL Tech Café #8: MySQL 8.0 for Python Developers
MySQL Tech Café #8: MySQL 8.0 for Python DevelopersMySQL Tech Café #8: MySQL 8.0 for Python Developers
MySQL Tech Café #8: MySQL 8.0 for Python Developers
Frederic Descamps
 
MySQL 8.0 : High Availability Solution for Everybody
MySQL 8.0 : High Availability Solution for EverybodyMySQL 8.0 : High Availability Solution for Everybody
MySQL 8.0 : High Availability Solution for Everybody
Frederic Descamps
 
Upgrade from MySQL 5.7 to MySQL 8.0
Upgrade from MySQL 5.7 to MySQL 8.0Upgrade from MySQL 5.7 to MySQL 8.0
Upgrade from MySQL 5.7 to MySQL 8.0
Olivier DASINI
 
preFOSDEM MySQL Day - Best Practices to Upgrade to MySQL 8.0
preFOSDEM MySQL Day - Best Practices to Upgrade to MySQL 8.0preFOSDEM MySQL Day - Best Practices to Upgrade to MySQL 8.0
preFOSDEM MySQL Day - Best Practices to Upgrade to MySQL 8.0
Frederic Descamps
 
MySQL Day Virtual: Best Practices Tips - Upgrading to MySQL 8.0
MySQL Day Virtual: Best Practices Tips - Upgrading to MySQL 8.0MySQL Day Virtual: Best Practices Tips - Upgrading to MySQL 8.0
MySQL Day Virtual: Best Practices Tips - Upgrading to MySQL 8.0
Frederic Descamps
 
20190915_MySQL開発最新動向
20190915_MySQL開発最新動向20190915_MySQL開発最新動向
20190915_MySQL開発最新動向
Machiko Ikoma
 
Sunshine php my sql 8.0 v2
Sunshine php my sql 8.0 v2Sunshine php my sql 8.0 v2
Sunshine php my sql 8.0 v2
Kathy Forte (Hassard)
 
Docker Compose Setup for MySQL InnoDB Cluster
Docker Compose Setup for MySQL InnoDB ClusterDocker Compose Setup for MySQL InnoDB Cluster
Docker Compose Setup for MySQL InnoDB Cluster
Balasubramanian Kandasamy
 
MySQL For Oracle DBA's and Developers
MySQL For Oracle DBA's and DevelopersMySQL For Oracle DBA's and Developers
MySQL For Oracle DBA's and Developers
Ronald Bradford
 
20190713_MySQL開発最新動向
20190713_MySQL開発最新動向20190713_MySQL開発最新動向
20190713_MySQL開発最新動向
Machiko Ikoma
 
MySQL 8.0 Document Store - Discovery of a New World
MySQL 8.0 Document Store - Discovery of a New WorldMySQL 8.0 Document Store - Discovery of a New World
MySQL 8.0 Document Store - Discovery of a New World
Frederic Descamps
 
MySQL 8.0 Introduction to NoSQL + SQL
MySQL 8.0 Introduction to NoSQL + SQLMySQL 8.0 Introduction to NoSQL + SQL
MySQL 8.0 Introduction to NoSQL + SQL
Manuel Contreras
 
MySQL Spatial
MySQL SpatialMySQL Spatial
MySQL Spatial
MySQL Brasil
 
MySQL Router - Explore The Secrets (MySQL Belgian Days 2024)
MySQL Router - Explore The Secrets (MySQL Belgian Days 2024)MySQL Router - Explore The Secrets (MySQL Belgian Days 2024)
MySQL Router - Explore The Secrets (MySQL Belgian Days 2024)
Miguel Araújo
 
MySQL Shell - the best DBA tool !
MySQL Shell - the best DBA tool !MySQL Shell - the best DBA tool !
MySQL Shell - the best DBA tool !
Frederic Descamps
 
MySQL For Oracle Developers
MySQL For Oracle DevelopersMySQL For Oracle Developers
MySQL For Oracle Developers
Ronald Bradford
 
MySQL Database Architectures - MySQL InnoDB ClusterSet 2021-11
MySQL Database Architectures - MySQL InnoDB ClusterSet 2021-11MySQL Database Architectures - MySQL InnoDB ClusterSet 2021-11
MySQL Database Architectures - MySQL InnoDB ClusterSet 2021-11
Kenny Gryp
 
MySQL Community Meetup in China : Innovation driven by the Community
MySQL Community Meetup in China : Innovation driven by the CommunityMySQL Community Meetup in China : Innovation driven by the Community
MySQL Community Meetup in China : Innovation driven by the Community
Frederic Descamps
 
MySQL Database Service Webinar: Installing Drupal in oci with mds
MySQL Database Service Webinar: Installing Drupal in oci with mdsMySQL Database Service Webinar: Installing Drupal in oci with mds
MySQL Database Service Webinar: Installing Drupal in oci with mds
Frederic Descamps
 

Similar to MySQL 8.0 Document Store - how to mix NoSQL & SQL in MySQL 8.0 (20)

the State of the Dolphin - October 2020
the State of the Dolphin - October 2020the State of the Dolphin - October 2020
the State of the Dolphin - October 2020
 
MySQL Tech Café #8: MySQL 8.0 for Python Developers
MySQL Tech Café #8: MySQL 8.0 for Python DevelopersMySQL Tech Café #8: MySQL 8.0 for Python Developers
MySQL Tech Café #8: MySQL 8.0 for Python Developers
 
MySQL 8.0 : High Availability Solution for Everybody
MySQL 8.0 : High Availability Solution for EverybodyMySQL 8.0 : High Availability Solution for Everybody
MySQL 8.0 : High Availability Solution for Everybody
 
Upgrade from MySQL 5.7 to MySQL 8.0
Upgrade from MySQL 5.7 to MySQL 8.0Upgrade from MySQL 5.7 to MySQL 8.0
Upgrade from MySQL 5.7 to MySQL 8.0
 
preFOSDEM MySQL Day - Best Practices to Upgrade to MySQL 8.0
preFOSDEM MySQL Day - Best Practices to Upgrade to MySQL 8.0preFOSDEM MySQL Day - Best Practices to Upgrade to MySQL 8.0
preFOSDEM MySQL Day - Best Practices to Upgrade to MySQL 8.0
 
MySQL Day Virtual: Best Practices Tips - Upgrading to MySQL 8.0
MySQL Day Virtual: Best Practices Tips - Upgrading to MySQL 8.0MySQL Day Virtual: Best Practices Tips - Upgrading to MySQL 8.0
MySQL Day Virtual: Best Practices Tips - Upgrading to MySQL 8.0
 
20190915_MySQL開発最新動向
20190915_MySQL開発最新動向20190915_MySQL開発最新動向
20190915_MySQL開発最新動向
 
Sunshine php my sql 8.0 v2
Sunshine php my sql 8.0 v2Sunshine php my sql 8.0 v2
Sunshine php my sql 8.0 v2
 
Docker Compose Setup for MySQL InnoDB Cluster
Docker Compose Setup for MySQL InnoDB ClusterDocker Compose Setup for MySQL InnoDB Cluster
Docker Compose Setup for MySQL InnoDB Cluster
 
MySQL For Oracle DBA's and Developers
MySQL For Oracle DBA's and DevelopersMySQL For Oracle DBA's and Developers
MySQL For Oracle DBA's and Developers
 
20190713_MySQL開発最新動向
20190713_MySQL開発最新動向20190713_MySQL開発最新動向
20190713_MySQL開発最新動向
 
MySQL 8.0 Document Store - Discovery of a New World
MySQL 8.0 Document Store - Discovery of a New WorldMySQL 8.0 Document Store - Discovery of a New World
MySQL 8.0 Document Store - Discovery of a New World
 
MySQL 8.0 Introduction to NoSQL + SQL
MySQL 8.0 Introduction to NoSQL + SQLMySQL 8.0 Introduction to NoSQL + SQL
MySQL 8.0 Introduction to NoSQL + SQL
 
MySQL Spatial
MySQL SpatialMySQL Spatial
MySQL Spatial
 
MySQL Router - Explore The Secrets (MySQL Belgian Days 2024)
MySQL Router - Explore The Secrets (MySQL Belgian Days 2024)MySQL Router - Explore The Secrets (MySQL Belgian Days 2024)
MySQL Router - Explore The Secrets (MySQL Belgian Days 2024)
 
MySQL Shell - the best DBA tool !
MySQL Shell - the best DBA tool !MySQL Shell - the best DBA tool !
MySQL Shell - the best DBA tool !
 
MySQL For Oracle Developers
MySQL For Oracle DevelopersMySQL For Oracle Developers
MySQL For Oracle Developers
 
MySQL Database Architectures - MySQL InnoDB ClusterSet 2021-11
MySQL Database Architectures - MySQL InnoDB ClusterSet 2021-11MySQL Database Architectures - MySQL InnoDB ClusterSet 2021-11
MySQL Database Architectures - MySQL InnoDB ClusterSet 2021-11
 
MySQL Community Meetup in China : Innovation driven by the Community
MySQL Community Meetup in China : Innovation driven by the CommunityMySQL Community Meetup in China : Innovation driven by the Community
MySQL Community Meetup in China : Innovation driven by the Community
 
MySQL Database Service Webinar: Installing Drupal in oci with mds
MySQL Database Service Webinar: Installing Drupal in oci with mdsMySQL Database Service Webinar: Installing Drupal in oci with mds
MySQL Database Service Webinar: Installing Drupal in oci with mds
 

More from Frederic Descamps

MySQL Innovation & Cloud Day - Document Store avec MySQL HeatWave Database Se...
MySQL Innovation & Cloud Day - Document Store avec MySQL HeatWave Database Se...MySQL Innovation & Cloud Day - Document Store avec MySQL HeatWave Database Se...
MySQL Innovation & Cloud Day - Document Store avec MySQL HeatWave Database Se...
Frederic Descamps
 
MySQL Day Roma - MySQL Shell and Visual Studio Code Extension
MySQL Day Roma - MySQL Shell and Visual Studio Code ExtensionMySQL Day Roma - MySQL Shell and Visual Studio Code Extension
MySQL Day Roma - MySQL Shell and Visual Studio Code Extension
Frederic Descamps
 
RivieraJUG - MySQL Indexes and Histograms
RivieraJUG - MySQL Indexes and HistogramsRivieraJUG - MySQL Indexes and Histograms
RivieraJUG - MySQL Indexes and Histograms
Frederic Descamps
 
RivieraJUG - MySQL 8.0 - What's new for developers.pdf
RivieraJUG - MySQL 8.0 - What's new for developers.pdfRivieraJUG - MySQL 8.0 - What's new for developers.pdf
RivieraJUG - MySQL 8.0 - What's new for developers.pdf
Frederic Descamps
 
MySQL User Group NL - MySQL 8
MySQL User Group NL - MySQL 8MySQL User Group NL - MySQL 8
MySQL User Group NL - MySQL 8
Frederic Descamps
 
State of the Dolphin - May 2022
State of the Dolphin - May 2022State of the Dolphin - May 2022
State of the Dolphin - May 2022
Frederic Descamps
 
Percona Live 2022 - MySQL Shell for Visual Studio Code
Percona Live 2022 - MySQL Shell for Visual Studio CodePercona Live 2022 - MySQL Shell for Visual Studio Code
Percona Live 2022 - MySQL Shell for Visual Studio Code
Frederic Descamps
 
Percona Live 2022 - The Evolution of a MySQL Database System
Percona Live 2022 - The Evolution of a MySQL Database SystemPercona Live 2022 - The Evolution of a MySQL Database System
Percona Live 2022 - The Evolution of a MySQL Database System
Frederic Descamps
 
Percona Live 2022 - MySQL Architectures
Percona Live 2022 - MySQL ArchitecturesPercona Live 2022 - MySQL Architectures
Percona Live 2022 - MySQL Architectures
Frederic Descamps
 
LinuxFest Northwest 2022 - The Evolution of a MySQL Database System
LinuxFest Northwest 2022 - The Evolution of a MySQL Database SystemLinuxFest Northwest 2022 - The Evolution of a MySQL Database System
LinuxFest Northwest 2022 - The Evolution of a MySQL Database System
Frederic Descamps
 
Open Source 101 2022 - MySQL Indexes and Histograms
Open Source 101 2022 - MySQL Indexes and HistogramsOpen Source 101 2022 - MySQL Indexes and Histograms
Open Source 101 2022 - MySQL Indexes and Histograms
Frederic Descamps
 
Pi Day 2022 - from IoT to MySQL HeatWave Database Service
Pi Day 2022 -  from IoT to MySQL HeatWave Database ServicePi Day 2022 -  from IoT to MySQL HeatWave Database Service
Pi Day 2022 - from IoT to MySQL HeatWave Database Service
Frederic Descamps
 
Confoo 2022 - le cycle d'une instance MySQL
Confoo 2022  - le cycle d'une instance MySQLConfoo 2022  - le cycle d'une instance MySQL
Confoo 2022 - le cycle d'une instance MySQL
Frederic Descamps
 
FOSDEM 2022 MySQL Devroom: MySQL 8.0 - Logical Backups, Snapshots and Point-...
FOSDEM 2022 MySQL Devroom:  MySQL 8.0 - Logical Backups, Snapshots and Point-...FOSDEM 2022 MySQL Devroom:  MySQL 8.0 - Logical Backups, Snapshots and Point-...
FOSDEM 2022 MySQL Devroom: MySQL 8.0 - Logical Backups, Snapshots and Point-...
Frederic Descamps
 
Les nouveautés de MySQL 8.0
Les nouveautés de MySQL 8.0Les nouveautés de MySQL 8.0
Les nouveautés de MySQL 8.0
Frederic Descamps
 
Les nouveautés de MySQL 8.0
Les nouveautés de MySQL 8.0Les nouveautés de MySQL 8.0
Les nouveautés de MySQL 8.0
Frederic Descamps
 
State of The Dolphin - May 2021
State of The Dolphin - May 2021State of The Dolphin - May 2021
State of The Dolphin - May 2021
Frederic Descamps
 
MySQL Shell for DBAs
MySQL Shell for DBAsMySQL Shell for DBAs
MySQL Shell for DBAs
Frederic Descamps
 
Deploying Magento on OCI with MDS
Deploying Magento on OCI with MDSDeploying Magento on OCI with MDS
Deploying Magento on OCI with MDS
Frederic Descamps
 
MySQL Router REST API
MySQL Router REST APIMySQL Router REST API
MySQL Router REST API
Frederic Descamps
 

More from Frederic Descamps (20)

MySQL Innovation & Cloud Day - Document Store avec MySQL HeatWave Database Se...
MySQL Innovation & Cloud Day - Document Store avec MySQL HeatWave Database Se...MySQL Innovation & Cloud Day - Document Store avec MySQL HeatWave Database Se...
MySQL Innovation & Cloud Day - Document Store avec MySQL HeatWave Database Se...
 
MySQL Day Roma - MySQL Shell and Visual Studio Code Extension
MySQL Day Roma - MySQL Shell and Visual Studio Code ExtensionMySQL Day Roma - MySQL Shell and Visual Studio Code Extension
MySQL Day Roma - MySQL Shell and Visual Studio Code Extension
 
RivieraJUG - MySQL Indexes and Histograms
RivieraJUG - MySQL Indexes and HistogramsRivieraJUG - MySQL Indexes and Histograms
RivieraJUG - MySQL Indexes and Histograms
 
RivieraJUG - MySQL 8.0 - What's new for developers.pdf
RivieraJUG - MySQL 8.0 - What's new for developers.pdfRivieraJUG - MySQL 8.0 - What's new for developers.pdf
RivieraJUG - MySQL 8.0 - What's new for developers.pdf
 
MySQL User Group NL - MySQL 8
MySQL User Group NL - MySQL 8MySQL User Group NL - MySQL 8
MySQL User Group NL - MySQL 8
 
State of the Dolphin - May 2022
State of the Dolphin - May 2022State of the Dolphin - May 2022
State of the Dolphin - May 2022
 
Percona Live 2022 - MySQL Shell for Visual Studio Code
Percona Live 2022 - MySQL Shell for Visual Studio CodePercona Live 2022 - MySQL Shell for Visual Studio Code
Percona Live 2022 - MySQL Shell for Visual Studio Code
 
Percona Live 2022 - The Evolution of a MySQL Database System
Percona Live 2022 - The Evolution of a MySQL Database SystemPercona Live 2022 - The Evolution of a MySQL Database System
Percona Live 2022 - The Evolution of a MySQL Database System
 
Percona Live 2022 - MySQL Architectures
Percona Live 2022 - MySQL ArchitecturesPercona Live 2022 - MySQL Architectures
Percona Live 2022 - MySQL Architectures
 
LinuxFest Northwest 2022 - The Evolution of a MySQL Database System
LinuxFest Northwest 2022 - The Evolution of a MySQL Database SystemLinuxFest Northwest 2022 - The Evolution of a MySQL Database System
LinuxFest Northwest 2022 - The Evolution of a MySQL Database System
 
Open Source 101 2022 - MySQL Indexes and Histograms
Open Source 101 2022 - MySQL Indexes and HistogramsOpen Source 101 2022 - MySQL Indexes and Histograms
Open Source 101 2022 - MySQL Indexes and Histograms
 
Pi Day 2022 - from IoT to MySQL HeatWave Database Service
Pi Day 2022 -  from IoT to MySQL HeatWave Database ServicePi Day 2022 -  from IoT to MySQL HeatWave Database Service
Pi Day 2022 - from IoT to MySQL HeatWave Database Service
 
Confoo 2022 - le cycle d'une instance MySQL
Confoo 2022  - le cycle d'une instance MySQLConfoo 2022  - le cycle d'une instance MySQL
Confoo 2022 - le cycle d'une instance MySQL
 
FOSDEM 2022 MySQL Devroom: MySQL 8.0 - Logical Backups, Snapshots and Point-...
FOSDEM 2022 MySQL Devroom:  MySQL 8.0 - Logical Backups, Snapshots and Point-...FOSDEM 2022 MySQL Devroom:  MySQL 8.0 - Logical Backups, Snapshots and Point-...
FOSDEM 2022 MySQL Devroom: MySQL 8.0 - Logical Backups, Snapshots and Point-...
 
Les nouveautés de MySQL 8.0
Les nouveautés de MySQL 8.0Les nouveautés de MySQL 8.0
Les nouveautés de MySQL 8.0
 
Les nouveautés de MySQL 8.0
Les nouveautés de MySQL 8.0Les nouveautés de MySQL 8.0
Les nouveautés de MySQL 8.0
 
State of The Dolphin - May 2021
State of The Dolphin - May 2021State of The Dolphin - May 2021
State of The Dolphin - May 2021
 
MySQL Shell for DBAs
MySQL Shell for DBAsMySQL Shell for DBAs
MySQL Shell for DBAs
 
Deploying Magento on OCI with MDS
Deploying Magento on OCI with MDSDeploying Magento on OCI with MDS
Deploying Magento on OCI with MDS
 
MySQL Router REST API
MySQL Router REST APIMySQL Router REST API
MySQL Router REST API
 

Recently uploaded

Getting started with Amazon Bedrock Studio and Control Tower
Getting started with Amazon Bedrock Studio and Control TowerGetting started with Amazon Bedrock Studio and Control Tower
Getting started with Amazon Bedrock Studio and Control Tower
Vladimir Samoylov
 
Announcement of 18th IEEE International Conference on Software Testing, Verif...
Announcement of 18th IEEE International Conference on Software Testing, Verif...Announcement of 18th IEEE International Conference on Software Testing, Verif...
Announcement of 18th IEEE International Conference on Software Testing, Verif...
Sebastiano Panichella
 
María Carolina Martínez - eCommerce Day Colombia 2024
María Carolina Martínez - eCommerce Day Colombia 2024María Carolina Martínez - eCommerce Day Colombia 2024
María Carolina Martínez - eCommerce Day Colombia 2024
eCommerce Institute
 
Competition and Regulation in Professional Services – KLEINER – June 2024 OEC...
Competition and Regulation in Professional Services – KLEINER – June 2024 OEC...Competition and Regulation in Professional Services – KLEINER – June 2024 OEC...
Competition and Regulation in Professional Services – KLEINER – June 2024 OEC...
OECD Directorate for Financial and Enterprise Affairs
 
somanykidsbutsofewfathers-140705000023-phpapp02.pptx
somanykidsbutsofewfathers-140705000023-phpapp02.pptxsomanykidsbutsofewfathers-140705000023-phpapp02.pptx
somanykidsbutsofewfathers-140705000023-phpapp02.pptx
Howard Spence
 
Media as a Mind Controlling Strategy In Old and Modern Era
Media as a Mind Controlling Strategy In Old and Modern EraMedia as a Mind Controlling Strategy In Old and Modern Era
Media as a Mind Controlling Strategy In Old and Modern Era
faizulhassanfaiz1670
 
Obesity causes and management and associated medical conditions
Obesity causes and management and associated medical conditionsObesity causes and management and associated medical conditions
Obesity causes and management and associated medical conditions
Faculty of Medicine And Health Sciences
 
Bitcoin Lightning wallet and tic-tac-toe game XOXO
Bitcoin Lightning wallet and tic-tac-toe game XOXOBitcoin Lightning wallet and tic-tac-toe game XOXO
Bitcoin Lightning wallet and tic-tac-toe game XOXO
Matjaž Lipuš
 
Doctoral Symposium at the 17th IEEE International Conference on Software Test...
Doctoral Symposium at the 17th IEEE International Conference on Software Test...Doctoral Symposium at the 17th IEEE International Conference on Software Test...
Doctoral Symposium at the 17th IEEE International Conference on Software Test...
Sebastiano Panichella
 
Sharpen existing tools or get a new toolbox? Contemporary cluster initiatives...
Sharpen existing tools or get a new toolbox? Contemporary cluster initiatives...Sharpen existing tools or get a new toolbox? Contemporary cluster initiatives...
Sharpen existing tools or get a new toolbox? Contemporary cluster initiatives...
Orkestra
 
0x01 - Newton's Third Law: Static vs. Dynamic Abusers
0x01 - Newton's Third Law:  Static vs. Dynamic Abusers0x01 - Newton's Third Law:  Static vs. Dynamic Abusers
0x01 - Newton's Third Law: Static vs. Dynamic Abusers
OWASP Beja
 
Eureka, I found it! - Special Libraries Association 2021 Presentation
Eureka, I found it! - Special Libraries Association 2021 PresentationEureka, I found it! - Special Libraries Association 2021 Presentation
Eureka, I found it! - Special Libraries Association 2021 Presentation
Access Innovations, Inc.
 
International Workshop on Artificial Intelligence in Software Testing
International Workshop on Artificial Intelligence in Software TestingInternational Workshop on Artificial Intelligence in Software Testing
International Workshop on Artificial Intelligence in Software Testing
Sebastiano Panichella
 
Bonzo subscription_hjjjjjjjj5hhhhhhh_2024.pdf
Bonzo subscription_hjjjjjjjj5hhhhhhh_2024.pdfBonzo subscription_hjjjjjjjj5hhhhhhh_2024.pdf
Bonzo subscription_hjjjjjjjj5hhhhhhh_2024.pdf
khadija278284
 
Supercharge your AI - SSP Industry Breakout Session 2024-v2_1.pdf
Supercharge your AI - SSP Industry Breakout Session 2024-v2_1.pdfSupercharge your AI - SSP Industry Breakout Session 2024-v2_1.pdf
Supercharge your AI - SSP Industry Breakout Session 2024-v2_1.pdf
Access Innovations, Inc.
 
Acorn Recovery: Restore IT infra within minutes
Acorn Recovery: Restore IT infra within minutesAcorn Recovery: Restore IT infra within minutes
Acorn Recovery: Restore IT infra within minutes
IP ServerOne
 

Recently uploaded (16)

Getting started with Amazon Bedrock Studio and Control Tower
Getting started with Amazon Bedrock Studio and Control TowerGetting started with Amazon Bedrock Studio and Control Tower
Getting started with Amazon Bedrock Studio and Control Tower
 
Announcement of 18th IEEE International Conference on Software Testing, Verif...
Announcement of 18th IEEE International Conference on Software Testing, Verif...Announcement of 18th IEEE International Conference on Software Testing, Verif...
Announcement of 18th IEEE International Conference on Software Testing, Verif...
 
María Carolina Martínez - eCommerce Day Colombia 2024
María Carolina Martínez - eCommerce Day Colombia 2024María Carolina Martínez - eCommerce Day Colombia 2024
María Carolina Martínez - eCommerce Day Colombia 2024
 
Competition and Regulation in Professional Services – KLEINER – June 2024 OEC...
Competition and Regulation in Professional Services – KLEINER – June 2024 OEC...Competition and Regulation in Professional Services – KLEINER – June 2024 OEC...
Competition and Regulation in Professional Services – KLEINER – June 2024 OEC...
 
somanykidsbutsofewfathers-140705000023-phpapp02.pptx
somanykidsbutsofewfathers-140705000023-phpapp02.pptxsomanykidsbutsofewfathers-140705000023-phpapp02.pptx
somanykidsbutsofewfathers-140705000023-phpapp02.pptx
 
Media as a Mind Controlling Strategy In Old and Modern Era
Media as a Mind Controlling Strategy In Old and Modern EraMedia as a Mind Controlling Strategy In Old and Modern Era
Media as a Mind Controlling Strategy In Old and Modern Era
 
Obesity causes and management and associated medical conditions
Obesity causes and management and associated medical conditionsObesity causes and management and associated medical conditions
Obesity causes and management and associated medical conditions
 
Bitcoin Lightning wallet and tic-tac-toe game XOXO
Bitcoin Lightning wallet and tic-tac-toe game XOXOBitcoin Lightning wallet and tic-tac-toe game XOXO
Bitcoin Lightning wallet and tic-tac-toe game XOXO
 
Doctoral Symposium at the 17th IEEE International Conference on Software Test...
Doctoral Symposium at the 17th IEEE International Conference on Software Test...Doctoral Symposium at the 17th IEEE International Conference on Software Test...
Doctoral Symposium at the 17th IEEE International Conference on Software Test...
 
Sharpen existing tools or get a new toolbox? Contemporary cluster initiatives...
Sharpen existing tools or get a new toolbox? Contemporary cluster initiatives...Sharpen existing tools or get a new toolbox? Contemporary cluster initiatives...
Sharpen existing tools or get a new toolbox? Contemporary cluster initiatives...
 
0x01 - Newton's Third Law: Static vs. Dynamic Abusers
0x01 - Newton's Third Law:  Static vs. Dynamic Abusers0x01 - Newton's Third Law:  Static vs. Dynamic Abusers
0x01 - Newton's Third Law: Static vs. Dynamic Abusers
 
Eureka, I found it! - Special Libraries Association 2021 Presentation
Eureka, I found it! - Special Libraries Association 2021 PresentationEureka, I found it! - Special Libraries Association 2021 Presentation
Eureka, I found it! - Special Libraries Association 2021 Presentation
 
International Workshop on Artificial Intelligence in Software Testing
International Workshop on Artificial Intelligence in Software TestingInternational Workshop on Artificial Intelligence in Software Testing
International Workshop on Artificial Intelligence in Software Testing
 
Bonzo subscription_hjjjjjjjj5hhhhhhh_2024.pdf
Bonzo subscription_hjjjjjjjj5hhhhhhh_2024.pdfBonzo subscription_hjjjjjjjj5hhhhhhh_2024.pdf
Bonzo subscription_hjjjjjjjj5hhhhhhh_2024.pdf
 
Supercharge your AI - SSP Industry Breakout Session 2024-v2_1.pdf
Supercharge your AI - SSP Industry Breakout Session 2024-v2_1.pdfSupercharge your AI - SSP Industry Breakout Session 2024-v2_1.pdf
Supercharge your AI - SSP Industry Breakout Session 2024-v2_1.pdf
 
Acorn Recovery: Restore IT infra within minutes
Acorn Recovery: Restore IT infra within minutesAcorn Recovery: Restore IT infra within minutes
Acorn Recovery: Restore IT infra within minutes
 

MySQL 8.0 Document Store - how to mix NoSQL & SQL in MySQL 8.0

  • 1. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 1/70 1 / 70
  • 2. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 2/70 2 / 702 / 702 / 70
  • 3. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 3/70 MyMySQLSQL 8.0 Document Store8.0 Document Store How to Mix NoSQL & SQL inHow to Mix NoSQL & SQL in MyMySQLSQL 8.08.0             Frédéric Descamps - MySQL Community Manager - OracleOracle 3 / 70
  • 4. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 4/70   Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purpose only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied up in making purchasing decisions. The development, release and timing of any features or functionality described for Oracle´s product remains at the sole discretion of Oracle. Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 4 / 70
  • 5. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 5/70 about me - http://about.me/lefred Who am I ?Who am I ? Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 5 / 70
  • 6. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 6/70 Frédéric Descamps @lefred MySQL Evangelist Hacking MySQL since 3.23 devops believer living in Belgium 🇧🇪 http://lefred.be   Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 6 / 70
  • 7. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 7/70 Why ? Developers don't really like SQLSQL   Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 7 / 70
  • 8. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 8/70 Why ? SQL can be complicated and slows down the initial development Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 8 / 70
  • 9. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 9/70 easy operations What do developers want ?What do developers want ? Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 9 / 70
  • 10. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 10/70 Use Objects / Documents Developers want to just use objects (that's why they usually love what DBAs hates: ORMs !). Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 10 / 70
  • 11. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 11/70 Use Objects / Documents Developers want to just use objects (that's why they usually love what DBAs hates: ORMs !). They want to deal with these objects easily (CRUD operations) and they don't want to think about schema design (slows down the initial development process). Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 11 / 70
  • 12. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 12/70 Use Objects / Documents Developers want to just use objects (that's why they usually love what DBAs hates: ORMs !). They want to deal with these objects easily (CRUD operations) and they don't want to think about schema design (slows down the initial development process). But they also want to keep their data safe and use transactions. Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 12 / 70
  • 13. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 13/70 ready for some fun? Let's start !Let's start ! Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 13 / 70
  • 14. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 14/70 Migration from MongoDB to MySQL DS For this example, I will use the well known collection: Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 14 / 70
  • 15. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 15/70 Migration from MongoDB to MySQL DS For this example, I will use the well known collection: Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 15 / 70
  • 16. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 16/70 Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 16 / 70
  • 17. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 17/70 Let's query Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 17 / 70
  • 18. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 18/70 Let's query That's too much records to show it here... let's limit it Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 18 / 70
  • 19. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 19/70 Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 19 / 70
  • 20. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 20/70 Some more examples Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 20 / 70
  • 21. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 21/70 Some more examples Let's add a selection criteria: Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 21 / 70
  • 22. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 22/70 Using IN... Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 22 / 70
  • 23. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 23/70 And for developers ? Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 23 / 70
  • 24. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 24/70 And for developers ? Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 24 / 70
  • 25. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 25/70 And for developers ?   Easy, using only CRUD operations ! Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 25 / 70
  • 26. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 26/70 MySQL Document Store Objects Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 26 / 70
  • 27. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 27/70 CRUD operations Add Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 27 / 70
  • 28. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 28/70 CRUD operations Add Remove Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 28 / 70
  • 29. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 29/70 CRUD operations Modify Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 29 / 70
  • 30. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 30/70 All you need to know is here: https://dev.mysql.com/doc/x-devapi- userguide/en/crud-operations-overview.html Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 30 / 70
  • 31. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 31/70 we do care about your data MyMySQLSQL Document StoreDocument Store is Full ACIDis Full ACID CompliantCompliant Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 31 / 70
  • 32. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 32/70 Document Store Full ACID ! It relies on the proven MySQL InnoDB's strength & robustness: Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 32 / 70
  • 33. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 33/70 Document Store Full ACID ! It relies on the proven MySQL InnoDB's strength & robustness: Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 33 / 70
  • 34. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 34/70 Document Store Full ACID ! It relies on the proven MySQL InnoDB's strength & robustness: Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 34 / 70
  • 35. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 35/70 Document Store Full ACID ! It relies on the proven MySQL InnoDB's strength & robustness: Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 35 / 70
  • 36. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 36/70 Document Store Full ACID ! It relies on the proven MySQL InnoDB's strength & robustness: Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 36 / 70
  • 37. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 37/70 Document Store Full ACID ! It relies on the proven MySQL InnoDB's strength & robustness: We do care about your data ! Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 37 / 70
  • 38. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 38/70 MySQL DS - ACID Transactions support Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 38 / 70
  • 39. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 39/70 MySQL DS - ACID Transactions support Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 39 / 70
  • 40. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 40/70 OK we have Document Store, CRUD and ACID but what makesbut what makes MyMySQLSQL DocumentDocument StoreStore unique ?unique ? Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 40 / 70
  • 41. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 41/70 Challenge: list the best restaurant of each type of food and show the top 10, with the best one first !   don't forget that all these restaurants are just JSON documents Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 41 / 70
  • 42. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 42/70 NoSQL as SQL - aggregation Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 42 / 70
  • 43. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 43/70 NoSQL as SQL - aggregation Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 43 / 70
  • 44. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 44/70 NoSQL as SQL - aggregation Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 44 / 70
  • 45. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 45/70 Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 45 / 70
  • 46. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 46/70 Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 46 / 70
  • 47. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 47/70 Virtual Columns, Indexes, ... And for the DBA ?And for the DBA ? Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 47 / 70
  • 48. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 48/70 DS for DBAs: JSON The DBAs can benefit from all JSON functions and capabilities. Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 48 / 70
  • 49. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 49/70 DS for DBAs: JSON The DBAs can benefit from all JSON functions and capabilities. Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 49 / 70
  • 50. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 50/70 DS for DBAs: JSON The DBAs can benefit from all JSON functions and capabilities. same as: Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 50 / 70
  • 51. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 51/70 DS for DBAs: JSON The DBAs can benefit from all JSON functions and capabilities. same as: we can use it in SQL: Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 51 / 70
  • 52. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 52/70 SQL and JSON: validation Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 52 / 70
  • 53. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 53/70 SQL and JSON: validation Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 53 / 70
  • 54. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 54/70 SQL and JSON: validation Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 54 / 70
  • 55. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 55/70 SQL & JSON But what for ?But what for ? Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 55 / 70
  • 56. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 56/70 Example Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 56 / 70
  • 57. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 57/70 Example (2) Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 57 / 70
  • 58. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 58/70 Example (3) - Index Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 58 / 70
  • 59. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 59/70 Example (4) - Index Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 59 / 70
  • 60. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 60/70 Indexes in Document Store It's also possible to create indexes without using SQL syntax: Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 60 / 70
  • 61. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 61/70 Indexes in Document Store It's also possible to create indexes without using SQL syntax: Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 61 / 70
  • 62. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 62/70 Example (5): arrays Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 62 / 70
  • 63. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 63/70 Example (5): arrays Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 63 / 70
  • 64. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 64/70 Example (5): arrays Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 64 / 70
  • 65. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 65/70 Example (5): arrays Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 65 / 70
  • 66. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 66/70 Example (5): JSON_TABLE Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 66 / 70
  • 67. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 67/70 what do I gain ? ConclusionConclusion Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 67 / 70
  • 68. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 68/70 schemaless flexible data structure easy to start (CRUD) Conclusion This is the best of the two worlds in one product ! Data integrity ACID Compliant Transactions SQL Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 68 / 70
  • 69. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 69/70 69 / 70
  • 70. 2/6/2019 FOSDEM MySQL, MariaDB & Friends Devroom: MySQL 8.0 Document Store - How to Mix NoSQL & SQL in MySQL 8.0 file:///home/fred/ownCloud/Presentations/ORACLE/FOSDEM2019/MySQL%208.0%20Document%20Store/pres.html#1 70/70 Thank you ! Any Questions ? share your 💕 for MySQL on social media using Copyright @ 2019 Oracle and/or its affiliates. All rights reserved. 70 / 70