22 Reasons to move to MySQL 8� And 4 reasons not to�
Peter Zaitsev,
Founder at Percona
10 June 2023
Heatwave to melt Snowflake
© Percona
2
#1 MySQL 5.7 Goes EOL in October 2023
© Percona
3
#2 New Development Process
Get new Features Frequently, Rather than once every 2-3 years
© Percona
4
#3 Innodb based Data Dictionary
© Percona
5
#4 More SQL, Better SQL
© Percona
6
Window Functions
CTEs (Common Table Expressions)
INTERSECT and EXCEPT
LATERAL JOIN
#5 Better Security
© Percona
7
#6 UTF8 Default
And Proper (MB4) UTF8 that is !💕👍😉🧌
© Percona
8
#7 All Things Indexes
© Percona
9
Functional Indexes
Descending Indexes
Invisible Indexes
Multi Value Indexes (JSON)
Generated Invisible Primary Keys
#8 Better JSON Support
© Percona
10
#9 Improved Optimizer
Hash Joins among other things…
© Percona
11
#10 Improved EXPLAIN
© Percona
12
TREE Format
1
EXPLAIN ANALYZE
2
Default EXPLAIN Format
3
#11 Better Agility
Much more DDLs supported as ALGORITHM=INSTANT
© Percona
13
#12 SET PERSIST
New way to control MySQL Configuration
© Percona
14
#13 Optimizer Hints
© Percona
15
Number of new Hints Supported
SET_VAR to set some variables for query duration only
#14 Resource Management
Resource Groups to Prioritize or Restrict CPU Resources for some queries
© Percona
16
#15 NOWAIT an SKIP_LOCKED
Flexible handling of encountered row level locks
© Percona
17
#16 Proper AUTO_INCREMENT
Do not loose Auto Increment Counter value in Edge Cases
© Percona
18
#17 Temptable Storage Engine
© Percona
19
#18 Undo Space
Separate Dynamically Sized location for Innodb Undo Space
© Percona
20
#19 Double Write
© Percona
21
Separate Location
Configurable
Detect Only Option
#20 Redo Logs
© Percona
22
Dynamically Sizable Online
Can be Disabled for faster data loading
#21 Better Concurrency
© Percona
23
#22 User Comments and Attributes
Store Meta-Data about user accounts directly in MySQL
© Percona
24
Why not Upgrade to MySQL 8 ?
© Percona
25
Heatwave
Is Oracle re-focusing MySQL Development on Proprietary cloud version only?
© Percona
26
New Development Process
© Percona
27
Performance
Performance at low concurrency with simple queries perceived to be lower
© Percona
28
Sharding
No Built In transparent “Scale Out” Option makes developing large scale applications hard
© Percona
29
Question
Know Even Better “MySQL” ?
© Percona
30
31
Want to know more about Percona Software For MySQL?
QR Code goes here
Thank you, Let’s Connect!
https://www.linkedin.com/in/peterzaitsev/
https://twitter.com/PeterZaitsev