SlideShare a Scribd company logo
MySQL – Nekad i Sad
Bogdan Kecman
CEO @BAD-TEAM
MySQL Principal Technical Engineer @ORACLE
#mDevDay, #mDevDay2021,
Novi Sad, Jul 2021
Safe Harbor Statement
The following is intended to outline our general product direction. It is intended for
information purposes 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 upon
in making purchasing decisions. The development, release, and timing of any features or
functionality described for Oracle’s products remains at the sole discretion of Oracle.
2
MySQL
●
first release May 1995, TCX.SE
●
ISAM
●
Monty Widenius, David Axmark, Allan Larsson
●
mSQL by Hyghes Technologies, Postgres (QUEL)
●
SiGraf, Silicon Graphics Yugoslavia, SGI, IRIX, Vexy…
●
Free but not open source => Dual Licence
We need free SQL server
3
MySQL 3.20 – year 1996/97 / 3.19-3.23 – year 2000
●
1995/1996, SiGraf, Silicon Graphics Yugoslavia, SGI, IRIX…
●
ACID
●
JOINS
●
UNIONS
●
RTREE, BTREE, SUBQUERY, TRIGGER, VIEW, XA transactions
●
PREPARED STATEMENTS, PROCEDURES, CURSORS
Only idiots need OUTER JOIN
4
Developers’ mDay 2021: Bogdan Kecman, Oracle – MySQL nekad i sad
MySQL 8.0 - 2018
●
Evolved beyond SQL-92
●
Evolved beyond relational dogma
●
Supports window functions (over)
●
Supports CommonTableExpressions (with)
●
Transactional DDL (no more FRM files)
●
Hash Joins, SKIP LOCKED, NO WAIT, Explain Analyze...
One Giant Leap for SQL
6
MySQL 8.0
●
Support for the latest Unicode 9.0
●
UTF8MB4 is new default (utf8mb4_0900_ai_ci is default coll.)
●
Accent and case sensitive collations (20+ lang specific)
●
Improved performance (no, really, it’s unbelievably fast now)
UTF8
7
MySQL 8.0
●
Geography Support (lat/lon)
●
Spatial Reference Systems (SRS) Support
●
SRID aware spatial datatypes, indexes and functions
●
Informational Schema views about spatial data
(ST_GEOMETRY_COLUMNS)
●
GeoHash(), GeoJSON()
GIS: SRS, SRID, IS Views, GeoHash and GeoJSON
8
MySQL 8.0
Common problem: hot row contention, multiple worker threads accessing the same rows
●
Solution 1:
start transaction;
select * from seats where seat_no between 2 and 3 and booked =
‘no’ for update SKIP LOCKED;
●
Solution 2:
start transaction;
select * from seats where seat_no between 2 and 3 and booked =
‘no’ for update NOWAIT;
SKIP LOCKED and NOWAIT
9
MySQL 8.0
●
A derived table is a subquery in the FROM clause
– SELECT … FROM (subquery) AS derived, t1
●
Common Table Expression is just like a derived table, but its
declaration is put before the query block instead of in FROM clause
– WITH derived AS ( subquery) SELECT … FROM derived, t1
●
It’s an alternative to derived table for readability, multiple
references, increased performance
●
Can be recursive (traverse hierarchies)
CTEs (SQL:99)
10
MySQL 8.0
●
Similar to an aggregation function, performs a calculation across a
set of rows that are related to the current row
●
Window functions can access values of other rows “in the vicinity”
of the current row
Example (sum up total salary for each department):
SELECT name, dept _id, salary,
SUM(salary) OVER (PARTITION BY dept_id) AS dept_total
FROM employee ORDER BY dept _id, name
WINDOW functions (SQL: 2003)
11
MySQL 8.0
●
Illegal in SQL92 because a derived table cannot depend on other
tables in the same FROM clause (it has to be constant over the
query's duration
●
A derived table cannot normally refer to (depend on) columns of
preceding tables in the same FROM clause
SELECT salesperson.name, max_sale.amount, max_sale.customer_name
FROM salesperson, --find max size and customer at same time
LATERAL (SELECT amount, customer_name FROM all_sales
WHERE all_sales.salesperson_id = salesperson.id
ORDER BY amount DESC LIMIT 1) AS max_sale;
LATERAL derived tables (SQL:99)
12
MySQL HA
●
Self managed groups of MySQL servers with multi master support
– built in Group Replication plugin → InnoDB Cluster (Oracle)
– Galera Cluster (Percona)
●
MySQL Proxy, MySQL Router, MySQL Shell (Oracle)
●
ProxySQL (Rene Cannao)
●
Oracle Cloud MySQL Database Service (Oracle)
●
MySQL MCCGE ndbcluster (Oracle)
●
AWS RDS MySQL (Amazon)
●
...
13
MySQL OLAP/OLTP Workload
●
HeatWave
●
ColumnStore
14
HVALA!

More Related Content

What's hot (20)

PDF
MySQL Performance Schema in Action
Sveta Smirnova
 
PPT
A brief introduction to PostgreSQL
Vu Hung Nguyen
 
PPTX
Postgresql
NexThoughts Technologies
 
PDF
External Language Stored Procedures for MySQL
Antony T Curtis
 
PPTX
MySQL 8 -- A new beginning : Sunshine PHP/PHP UK (updated)
Dave Stokes
 
PPTX
PostgreSQL Database Slides
metsarin
 
PPTX
View, Store Procedure & Function and Trigger in MySQL - Thaipt
Framgia Vietnam
 
PDF
How to Avoid Pitfalls in Schema Upgrade with Galera
Sveta Smirnova
 
PPTX
PHP UK 2020 Tutorial: MySQL Indexes, Histograms And other ways To Speed Up Yo...
Dave Stokes
 
PDF
MySQL 8.0 New Features -- September 27th presentation for Open Source Summit
Dave Stokes
 
PDF
Performance Schema for MySQL Troubleshooting
Sveta Smirnova
 
PPT
15 Ways to Kill Your Mysql Application Performance
guest9912e5
 
PDF
Introduction to MySQL InnoDB Cluster
I Goo Lee
 
PPTX
Confoo 2021 - MySQL Indexes & Histograms
Dave Stokes
 
PPTX
DBA Commands and Concepts That Every Developer Should Know
Alex Zaballa
 
PDF
Preparse Query Rewrite Plugins
Sveta Smirnova
 
PPTX
MySQL Replication Evolution -- Confoo Montreal 2017
Dave Stokes
 
PPTX
PostgreSQL- An Introduction
Smita Prasad
 
PDF
Troubleshooting MySQL Performance
Sveta Smirnova
 
DOCX
Upgrading mysql version 5.5.30 to 5.6.10
Vasudeva Rao
 
MySQL Performance Schema in Action
Sveta Smirnova
 
A brief introduction to PostgreSQL
Vu Hung Nguyen
 
External Language Stored Procedures for MySQL
Antony T Curtis
 
MySQL 8 -- A new beginning : Sunshine PHP/PHP UK (updated)
Dave Stokes
 
PostgreSQL Database Slides
metsarin
 
View, Store Procedure & Function and Trigger in MySQL - Thaipt
Framgia Vietnam
 
How to Avoid Pitfalls in Schema Upgrade with Galera
Sveta Smirnova
 
PHP UK 2020 Tutorial: MySQL Indexes, Histograms And other ways To Speed Up Yo...
Dave Stokes
 
MySQL 8.0 New Features -- September 27th presentation for Open Source Summit
Dave Stokes
 
Performance Schema for MySQL Troubleshooting
Sveta Smirnova
 
15 Ways to Kill Your Mysql Application Performance
guest9912e5
 
Introduction to MySQL InnoDB Cluster
I Goo Lee
 
Confoo 2021 - MySQL Indexes & Histograms
Dave Stokes
 
DBA Commands and Concepts That Every Developer Should Know
Alex Zaballa
 
Preparse Query Rewrite Plugins
Sveta Smirnova
 
MySQL Replication Evolution -- Confoo Montreal 2017
Dave Stokes
 
PostgreSQL- An Introduction
Smita Prasad
 
Troubleshooting MySQL Performance
Sveta Smirnova
 
Upgrading mysql version 5.5.30 to 5.6.10
Vasudeva Rao
 

Similar to Developers’ mDay 2021: Bogdan Kecman, Oracle – MySQL nekad i sad (20)

PDF
MySQL Goes to 8! FOSDEM 2020 Database Track, January 2nd, 2020
Geir Høydalsvik
 
PPTX
MySQL 8.0 Featured for Developers
Dave Stokes
 
PDF
Breakthrough performance with MySQL Cluster (2012)
Frazer Clement
 
PDF
PHP Detroit -- MySQL 8 A New Beginning (updated presentation)
Dave Stokes
 
PPTX
SQL Windowing
Sandun Perera
 
PPTX
Confoo 2021 -- MySQL New Features
Dave Stokes
 
PDF
MySQL up and running 30 minutes.pdf
Vinicius M Grippa
 
PPTX
MySQL 8 - UKOUG Techfest Brighton December 2nd, 2019
Dave Stokes
 
PPT
Introduction to Threading in .Net
webhostingguy
 
PDF
Ohio Linux Fest -- MySQL's NoSQL
Dave Stokes
 
PDF
Trivadis TechEvent 2017 Oracle to My SQL Migration - Challenges by Robert Bia...
Trivadis
 
PDF
RivieraJUG - MySQL 8.0 - What's new for developers.pdf
Frederic Descamps
 
PPTX
MySQL Without the SQL -- Oh My! Longhorn PHP Conference
Dave Stokes
 
PPTX
cPanel now supports MySQL 8.0 - My Top Seven Features
Dave Stokes
 
PDF
Developers' mDay 2017. - Bogdan Kecman Oracle
mCloud
 
PDF
Developers’ mDay u Banjoj Luci - Bogdan Kecman, Oracle – MySQL Server 8.0
mCloud
 
PPTX
Oracle Database 12c - New Features for Developers and DBAs
Alex Zaballa
 
PPTX
Oracle Database 12c - New Features for Developers and DBAs
Alex Zaballa
 
PPTX
OOW16 - Oracle Database 12c - The Best Oracle Database 12c New Features for D...
Alex Zaballa
 
PPTX
OOW16 - Oracle Database 12c - The Best Oracle Database 12c New Features for D...
Alex Zaballa
 
MySQL Goes to 8! FOSDEM 2020 Database Track, January 2nd, 2020
Geir Høydalsvik
 
MySQL 8.0 Featured for Developers
Dave Stokes
 
Breakthrough performance with MySQL Cluster (2012)
Frazer Clement
 
PHP Detroit -- MySQL 8 A New Beginning (updated presentation)
Dave Stokes
 
SQL Windowing
Sandun Perera
 
Confoo 2021 -- MySQL New Features
Dave Stokes
 
MySQL up and running 30 minutes.pdf
Vinicius M Grippa
 
MySQL 8 - UKOUG Techfest Brighton December 2nd, 2019
Dave Stokes
 
Introduction to Threading in .Net
webhostingguy
 
Ohio Linux Fest -- MySQL's NoSQL
Dave Stokes
 
Trivadis TechEvent 2017 Oracle to My SQL Migration - Challenges by Robert Bia...
Trivadis
 
RivieraJUG - MySQL 8.0 - What's new for developers.pdf
Frederic Descamps
 
MySQL Without the SQL -- Oh My! Longhorn PHP Conference
Dave Stokes
 
cPanel now supports MySQL 8.0 - My Top Seven Features
Dave Stokes
 
Developers' mDay 2017. - Bogdan Kecman Oracle
mCloud
 
Developers’ mDay u Banjoj Luci - Bogdan Kecman, Oracle – MySQL Server 8.0
mCloud
 
Oracle Database 12c - New Features for Developers and DBAs
Alex Zaballa
 
Oracle Database 12c - New Features for Developers and DBAs
Alex Zaballa
 
OOW16 - Oracle Database 12c - The Best Oracle Database 12c New Features for D...
Alex Zaballa
 
OOW16 - Oracle Database 12c - The Best Oracle Database 12c New Features for D...
Alex Zaballa
 
Ad

More from mCloud (20)

PPTX
Developers’ mDay 2021: Robert Juhas, SimpleTask – Should I run my own blockc...
mCloud
 
PPTX
Developers’ mDay 2021: Andrea Bjelogrlić, Sysbee – Tips, tricks and debugging...
mCloud
 
PPTX
Developers’ mDay 2021: Goran Kunjadić, Cyber security, cryptography and DPO e...
mCloud
 
PDF
Developers’ mDay 2021: Igor Spasić, Oblac – Jodd, jedna open-source priča
mCloud
 
PDF
Developers’ mDay 2021: Mladen Janjetović, Laravel Srbija – Laravel Awesome
mCloud
 
PDF
Developers’ mDay 2021: Nikola Krgović, Twin Star Systems – CentOS i šta dalje
mCloud
 
PDF
Developers’ mDay 2021: Nebojša Kamber, Infostud – SQL vs noSQL
mCloud
 
PPTX
Developers’ mDay 2021: Jelena Opačić, mCloud – Dobrodošlica
mCloud
 
PPTX
Developers’ mDay 2019. - Zvonimir Gembec, Sysbee – Developers vs Sysadmins – ...
mCloud
 
PPT
Developers’ mDay 2019. - Dijana Milutinović, RNIDS – Kako se kalio domen
mCloud
 
PPTX
Developers’ mDay 2019. - Rastko Vasiljević, SuperAdmins – Infrastructure as c...
mCloud
 
PPTX
Developers’ mDay 2019. - Dejan Bosanac, Red Hat – Cloud scale IoT connectivity
mCloud
 
PPTX
Developers’ mDay 2019. - Adrian Smijulj, Webiny – Server-side rendering u Ser...
mCloud
 
PPTX
Developers’ mDay 2019. - Nikola Krgović, Twin Star Systems – Big Data for Dev...
mCloud
 
PPTX
Developers’ mDay 2019. - Dragutin Ćirković, mCloud – HTTP/3
mCloud
 
PDF
Developers’ mDay u Banjoj Luci - Janko Isidorović, Mainflux – Unified IoT Pl...
mCloud
 
PDF
Developers’ mDay u Banjoj Luci - Jelena Opačić, mCloud – Dobrodošlica
mCloud
 
PDF
Developers’ mDay u Banjoj Luci - Duško Bajić, Kotlin User Group Bosnia – Kotl...
mCloud
 
PPTX
Developers’ mDay u Banjoj Luci - Ivan Đukić, ECD, Blockchain & Cryptocurrency...
mCloud
 
PDF
Developers’ mDay u Banjoj Luci - Boris Vezmar, SuperAdmins – Simple sysadmin ...
mCloud
 
Developers’ mDay 2021: Robert Juhas, SimpleTask – Should I run my own blockc...
mCloud
 
Developers’ mDay 2021: Andrea Bjelogrlić, Sysbee – Tips, tricks and debugging...
mCloud
 
Developers’ mDay 2021: Goran Kunjadić, Cyber security, cryptography and DPO e...
mCloud
 
Developers’ mDay 2021: Igor Spasić, Oblac – Jodd, jedna open-source priča
mCloud
 
Developers’ mDay 2021: Mladen Janjetović, Laravel Srbija – Laravel Awesome
mCloud
 
Developers’ mDay 2021: Nikola Krgović, Twin Star Systems – CentOS i šta dalje
mCloud
 
Developers’ mDay 2021: Nebojša Kamber, Infostud – SQL vs noSQL
mCloud
 
Developers’ mDay 2021: Jelena Opačić, mCloud – Dobrodošlica
mCloud
 
Developers’ mDay 2019. - Zvonimir Gembec, Sysbee – Developers vs Sysadmins – ...
mCloud
 
Developers’ mDay 2019. - Dijana Milutinović, RNIDS – Kako se kalio domen
mCloud
 
Developers’ mDay 2019. - Rastko Vasiljević, SuperAdmins – Infrastructure as c...
mCloud
 
Developers’ mDay 2019. - Dejan Bosanac, Red Hat – Cloud scale IoT connectivity
mCloud
 
Developers’ mDay 2019. - Adrian Smijulj, Webiny – Server-side rendering u Ser...
mCloud
 
Developers’ mDay 2019. - Nikola Krgović, Twin Star Systems – Big Data for Dev...
mCloud
 
Developers’ mDay 2019. - Dragutin Ćirković, mCloud – HTTP/3
mCloud
 
Developers’ mDay u Banjoj Luci - Janko Isidorović, Mainflux – Unified IoT Pl...
mCloud
 
Developers’ mDay u Banjoj Luci - Jelena Opačić, mCloud – Dobrodošlica
mCloud
 
Developers’ mDay u Banjoj Luci - Duško Bajić, Kotlin User Group Bosnia – Kotl...
mCloud
 
Developers’ mDay u Banjoj Luci - Ivan Đukić, ECD, Blockchain & Cryptocurrency...
mCloud
 
Developers’ mDay u Banjoj Luci - Boris Vezmar, SuperAdmins – Simple sysadmin ...
mCloud
 
Ad

Recently uploaded (20)

PDF
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
PPTX
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PDF
July Patch Tuesday
Ivanti
 
PDF
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
PDF
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
PDF
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
PDF
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
PDF
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
PDF
SFWelly Summer 25 Release Highlights July 2025
Anna Loughnan Colquhoun
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PDF
Timothy Rottach - Ramp up on AI Use Cases, from Vector Search to AI Agents wi...
AWS Chicago
 
PDF
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
PDF
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
PDF
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
PDF
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
Empower Inclusion Through Accessible Java Applications
Ana-Maria Mihalceanu
 
Webinar: Introduction to LF Energy EVerest
DanBrown980551
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
July Patch Tuesday
Ivanti
 
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
"AI Transformation: Directions and Challenges", Pavlo Shaternik
Fwdays
 
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
Using FME to Develop Self-Service CAD Applications for a Major UK Police Force
Safe Software
 
Reverse Engineering of Security Products: Developing an Advanced Microsoft De...
nwbxhhcyjv
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
SFWelly Summer 25 Release Highlights July 2025
Anna Loughnan Colquhoun
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
CIFDAQ Token Spotlight for 9th July 2025
CIFDAQ
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
Timothy Rottach - Ramp up on AI Use Cases, from Vector Search to AI Agents wi...
AWS Chicago
 
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 

Developers’ mDay 2021: Bogdan Kecman, Oracle – MySQL nekad i sad

  • 1. MySQL – Nekad i Sad Bogdan Kecman CEO @BAD-TEAM MySQL Principal Technical Engineer @ORACLE #mDevDay, #mDevDay2021, Novi Sad, Jul 2021
  • 2. Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purposes 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 upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle. 2
  • 3. MySQL ● first release May 1995, TCX.SE ● ISAM ● Monty Widenius, David Axmark, Allan Larsson ● mSQL by Hyghes Technologies, Postgres (QUEL) ● SiGraf, Silicon Graphics Yugoslavia, SGI, IRIX, Vexy… ● Free but not open source => Dual Licence We need free SQL server 3
  • 4. MySQL 3.20 – year 1996/97 / 3.19-3.23 – year 2000 ● 1995/1996, SiGraf, Silicon Graphics Yugoslavia, SGI, IRIX… ● ACID ● JOINS ● UNIONS ● RTREE, BTREE, SUBQUERY, TRIGGER, VIEW, XA transactions ● PREPARED STATEMENTS, PROCEDURES, CURSORS Only idiots need OUTER JOIN 4
  • 6. MySQL 8.0 - 2018 ● Evolved beyond SQL-92 ● Evolved beyond relational dogma ● Supports window functions (over) ● Supports CommonTableExpressions (with) ● Transactional DDL (no more FRM files) ● Hash Joins, SKIP LOCKED, NO WAIT, Explain Analyze... One Giant Leap for SQL 6
  • 7. MySQL 8.0 ● Support for the latest Unicode 9.0 ● UTF8MB4 is new default (utf8mb4_0900_ai_ci is default coll.) ● Accent and case sensitive collations (20+ lang specific) ● Improved performance (no, really, it’s unbelievably fast now) UTF8 7
  • 8. MySQL 8.0 ● Geography Support (lat/lon) ● Spatial Reference Systems (SRS) Support ● SRID aware spatial datatypes, indexes and functions ● Informational Schema views about spatial data (ST_GEOMETRY_COLUMNS) ● GeoHash(), GeoJSON() GIS: SRS, SRID, IS Views, GeoHash and GeoJSON 8
  • 9. MySQL 8.0 Common problem: hot row contention, multiple worker threads accessing the same rows ● Solution 1: start transaction; select * from seats where seat_no between 2 and 3 and booked = ‘no’ for update SKIP LOCKED; ● Solution 2: start transaction; select * from seats where seat_no between 2 and 3 and booked = ‘no’ for update NOWAIT; SKIP LOCKED and NOWAIT 9
  • 10. MySQL 8.0 ● A derived table is a subquery in the FROM clause – SELECT … FROM (subquery) AS derived, t1 ● Common Table Expression is just like a derived table, but its declaration is put before the query block instead of in FROM clause – WITH derived AS ( subquery) SELECT … FROM derived, t1 ● It’s an alternative to derived table for readability, multiple references, increased performance ● Can be recursive (traverse hierarchies) CTEs (SQL:99) 10
  • 11. MySQL 8.0 ● Similar to an aggregation function, performs a calculation across a set of rows that are related to the current row ● Window functions can access values of other rows “in the vicinity” of the current row Example (sum up total salary for each department): SELECT name, dept _id, salary, SUM(salary) OVER (PARTITION BY dept_id) AS dept_total FROM employee ORDER BY dept _id, name WINDOW functions (SQL: 2003) 11
  • 12. MySQL 8.0 ● Illegal in SQL92 because a derived table cannot depend on other tables in the same FROM clause (it has to be constant over the query's duration ● A derived table cannot normally refer to (depend on) columns of preceding tables in the same FROM clause SELECT salesperson.name, max_sale.amount, max_sale.customer_name FROM salesperson, --find max size and customer at same time LATERAL (SELECT amount, customer_name FROM all_sales WHERE all_sales.salesperson_id = salesperson.id ORDER BY amount DESC LIMIT 1) AS max_sale; LATERAL derived tables (SQL:99) 12
  • 13. MySQL HA ● Self managed groups of MySQL servers with multi master support – built in Group Replication plugin → InnoDB Cluster (Oracle) – Galera Cluster (Percona) ● MySQL Proxy, MySQL Router, MySQL Shell (Oracle) ● ProxySQL (Rene Cannao) ● Oracle Cloud MySQL Database Service (Oracle) ● MySQL MCCGE ndbcluster (Oracle) ● AWS RDS MySQL (Amazon) ● ... 13