SlideShare a Scribd company logo
1 of 28
Download to read offline
© 2016 Percona© 2016 Percona© 2016 Percona© 2016 Percona© 2016 Percona© 2016 Percona© 2016 Percona1
Laurynas Biveinis
Percona Server 8.0
Technical Director @ Percona
Percona Live Europe 2018
2018-11-06
© 2016 Percona© 2016 Percona© 2016 Percona© 2016 Percona© 2016 Percona© 2016 Percona© 2016 Percona2
First of all, what is Percona Server?
“…a free, fully compatible, enhanced and open source drop-in replacement
for any MySQL database…”
© 2018 Percona3
Percona Server 5.7 user:
▪Percona Server 8.0

= Percona Server 5.7

+ MySQL 8.0
Two Ways to Define Percona Server 8.0
New / MySQL 8.0 user:
▪Percona Server 8.0 

= MySQL 8.0

+ enhancements
© 2018 Percona4
For a Percona Server 5.7 user:
▪Percona Server 8.0

= Percona Server 5.7

+ MySQL 8.0
▪In other words, “what has changed in Percona additions since Percona
Server 5.7?”
We will focus on the latter definition
© 2018 Percona
What has changed since Percona Server 5.7?
▪Features dropped
▪Features adjusted to work with MySQL 8.0 features
Does the above list seem to miss anything?
▪“Features added?”
5
© 2018 Percona
MySQL GA features over time
6
Generallyavailablefeatures
MySQL 5.5 MySQL 5.6 MySQL 5.7 MySQL 8.0
© 2018 Percona
Percona Server GA additions over time
7
GenerallyavailablePerconafeatures
PS 5.5 PS 5.6 PS 5.7 PS 8.0
© 2016 Percona© 2016 Percona© 2016 Percona© 2016 Percona© 2016 Percona© 2016 Percona© 2016 Percona8
Deprecated feature removal
They had it coming
© 2018 Percona
Scalability metrics plugin
Subtly broken architecture that is not easy to fix
No users we are aware of
9
© 2018 Percona
INFORMATION_SCHEMA.THREAD_STATISTICS:
CONCURRENT_CONNECTIONS column
How to define it for thread_statistics in the first place?
The value was zero for years and nobody noticed (or
everybody did and were OK with it)
10
© 2018 Percona
innodb_kill_idle_transactions variable
▪Only the variable, the feature is not deprecated
▪Accessible through kill_idle_transactions variable
▪Drop the innodb_ prefix to upgrade (on 5.7 already!)
▪A remnant of generalisation of the feature from InnoDB to all SEs
11
© 2018 Percona
Query Cache enhancements
▪log_slow_filter=qc_miss
▪QC_hit in the slow query log extensions
▪query_cache_strip_comments system variable
▪“Waiting for query cache mutex” thread state in the processlist
12
© 2016 Percona© 2016 Percona© 2016 Percona© 2016 Percona© 2016 Percona© 2016 Percona© 2016 Percona13
Features removed due to upstream
What is the upgrade path?
© 2018 Percona
Query Response Time plugin
Use Performance Schema execution time histograms
▪Before:
• SELECT * from INFORMATION_SCHEMA.QUERY_RESPONSE_TIME
▪After:
• SELECT COUNT(*) FROM
performance_schema.events_statements_histogram_global GROUP BY
COUNT_BUCKET
• … many other possibilities
14
© 2018 Percona
LOCK BINLOG FOR BACKUP
Query performance_schema.log_status instead
▪Before:
• Use Percona XtraBackup
▪After:
• Use Percona XtraBackup, an 8.0-compatible version (8.0-3-rc1 as of today)
15
© 2018 Percona
innodb_flush_method = ALL_O_DIRECT
Set it to something else, O_DIRECT most likely
▪Before:
• Use innodb_flush_method=ALL_O_DIRECT to avoid having redo logs in the
kernel FS cache
▪After:
• Oracle MySQL 8.0 redo logging is dependent on having logs in the FS cache
16
© 2018 Percona
Memory summary in SHOW ENGINE INNODB
STATUS
Query
performance_schema.memory_summary_global_by_event_name
instead
▪ Before:
Internal hash tables (constant factor + variable factor)
Adaptive hash index 2266736 (2213368 + 53368)
Page hash 139112 (buffer pool 0 only)
Dictionary cache 729463 (554768 + 174695)
File system 824800 (812272 + 12528)
Lock system 333248 (332872 + 376)
Recovery system 0 (0 + 0)
Dictionary memory allocated 174695
▪ After:
• Query PFS memory summary tables
• Beware of MySQL bug 90561, fixed in 8.0.13
17
© 2016 Percona© 2016 Percona© 2016 Percona© 2016 Percona© 2016 Percona© 2016 Percona© 2016 Percona18
Features removed due to lack of uptake
Let us know if you are a user!
© 2018 Percona
Features removed due to lack of uptake
▪INFORMATION_SCHEMA.XTRADB_RSEG
▪Expanded program option modifiers
▪Utility user
▪pseudo_server_id
▪CSV_MODE
▪max_slowlog_files and max_slowlog_size
▪innodb_show_verbose_locks
19
© 2016 Percona© 2016 Percona© 2016 Percona© 2016 Percona© 2016 Percona© 2016 Percona© 2016 Percona20
Changed features
What is the upgrade path?
© 2018 Percona
No more legacy partitioning in 8.0
Percona Server 8.0: native partitioning for MyRocks and
TokuDB
Partitioned tables must be upgraded before the upgrade
to 8.0
Hence, Percona Server 5.7 also features native
partitioning
21
© 2018 Percona
The biggest upstream game-changer: new DD
Atomic DDL, no more FRM files, 1 billion tables…
TokuDB ROW_FORMAT clause removed, use
tokudb_row_format system variable
CREATE COMPRESSION DICTIONARY json_keys (‘name’,
‘city’, … ) reimplemented in the new DD
Expanded fast index creation will be soon
22
© 2018 Percona
SET STATEMENT FOR →/* SET_VAR */
Percona Server 5.7 (and MariaDB) per-statement variable
assignments:
▪SET STATEMENT sort_buffer_size=100000 FOR SELECT name …
MySQL 8.0 variable-setting optimizer hint
▪SELECT /*+ SET_VAR(sort_buffer_size=100000)*/ name …
Percona Server has extended SET_VAR to cover the
majority of SET STATEMENT use cases
23
© 2018 Percona
“userstat” duration columns now floating-point
INFORMATION_SCHEMA.CLIENT_STATISTICS,
THREAD_STATISTICS, USER_STATISTICS:
CONNECTED_TIME, BUSY_TIME, CPU_TIME
▪Percona Server 5.7: integers, 1s resolution,
▪Percona Server 8.0: double precision
24
© 2018 Percona
SHOW [EFFECTIVE] GRANTS
MySQL 5.7 SHOW GRANTS
▪ Shows assigned but not effective grants
Percona Server 5.7 SHOW GRANTS
▪ The above was considered a bug
▪ Shows effective but not assigned grants
Percona Server 8.0 SHOW [EFFECTIVE] GRANTS
▪ The above was considered a bug
▪ SHOW GRANTS: shows assigned grants
▪ SHOW EFFECTIVE GRANTS: shows effective grants
25
© 2018 Percona
Binlog space management
Percona Server 5.7: max_binlog_files
▪Manage max space in combination with max_binlog_size
▪Was not reliable due to extra rotations
Percona Server 8.0: binlog_space_limit
▪binlog_space_limit=10G - works alone, easier to manage
26
© 2018 Percona
Percona Server 8.0: RC1 as of today
RC1 released last week
We are still exploring 8.0 performance
Questions?
27
!28
Thank You Sponsors!!

More Related Content

What's hot

WebLogic, 12C SOA Standalone installation
WebLogic, 12C SOA Standalone installation WebLogic, 12C SOA Standalone installation
WebLogic, 12C SOA Standalone installation K Kumar Guduru
 
Presentation oracle net services
Presentation    oracle net servicesPresentation    oracle net services
Presentation oracle net servicesxKinAnx
 
Sonas spe csfs-publication-feb-22-2011
Sonas spe csfs-publication-feb-22-2011Sonas spe csfs-publication-feb-22-2011
Sonas spe csfs-publication-feb-22-2011richswain
 
SAP HANA Distributed System Scaleout and HA
SAP HANA Distributed System Scaleout and HASAP HANA Distributed System Scaleout and HA
SAP HANA Distributed System Scaleout and HALinh Nguyen
 
Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer
Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and AdministerOracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer
Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and AdministerAndrejs Karpovs
 
SAP HANA System Replication - Setup, Operations and HANA Monitoring
SAP HANA System Replication - Setup, Operations and HANA MonitoringSAP HANA System Replication - Setup, Operations and HANA Monitoring
SAP HANA System Replication - Setup, Operations and HANA MonitoringLinh Nguyen
 
Rapid Upgrades With Pg_Upgrade, Bruce Momjian
Rapid Upgrades With Pg_Upgrade, Bruce MomjianRapid Upgrades With Pg_Upgrade, Bruce Momjian
Rapid Upgrades With Pg_Upgrade, Bruce MomjianFuenteovejuna
 
Asa 8.3 upgrade what you need to know
Asa 8.3 upgrade  what you need to knowAsa 8.3 upgrade  what you need to know
Asa 8.3 upgrade what you need to knowIT Tech
 
SAP HANA 2 – Dynamic Tiering Overview including HANA Monitoring
SAP HANA 2 – Dynamic Tiering Overview including HANA MonitoringSAP HANA 2 – Dynamic Tiering Overview including HANA Monitoring
SAP HANA 2 – Dynamic Tiering Overview including HANA MonitoringLinh Nguyen
 
LVOUG meetup #4 - Case Study 10g to 11g
LVOUG meetup #4 - Case Study 10g to 11gLVOUG meetup #4 - Case Study 10g to 11g
LVOUG meetup #4 - Case Study 10g to 11gMaris Elsins
 
B35 all you wanna know about rman by francisco alvarez
B35 all you wanna know about rman by francisco alvarezB35 all you wanna know about rman by francisco alvarez
B35 all you wanna know about rman by francisco alvarezInsight Technology, Inc.
 
Install and upgrade Oracle grid infrastructure 12.1.0.2
Install and upgrade Oracle grid infrastructure 12.1.0.2Install and upgrade Oracle grid infrastructure 12.1.0.2
Install and upgrade Oracle grid infrastructure 12.1.0.2Biju Thomas
 
SAP HANA SPS12 Exploring New Features
SAP HANA SPS12 Exploring New FeaturesSAP HANA SPS12 Exploring New Features
SAP HANA SPS12 Exploring New FeaturesLinh Nguyen
 
Sprint 157
Sprint 157Sprint 157
Sprint 157ManageIQ
 
Oracle Cloud Compute - EBS 12.2.5 Vision Demo - Technical Discussion
Oracle Cloud Compute - EBS 12.2.5 Vision Demo - Technical DiscussionOracle Cloud Compute - EBS 12.2.5 Vision Demo - Technical Discussion
Oracle Cloud Compute - EBS 12.2.5 Vision Demo - Technical DiscussionJoshua Johnson, MIS
 
Step by Step Restore rman to different host
Step by Step Restore rman to different hostStep by Step Restore rman to different host
Step by Step Restore rman to different hostOsama Mustafa
 
Oracle Multitenant Database 2.0 - Improvements in Oracle Database 12c Release 2
Oracle Multitenant Database 2.0 - Improvements in Oracle Database 12c Release 2Oracle Multitenant Database 2.0 - Improvements in Oracle Database 12c Release 2
Oracle Multitenant Database 2.0 - Improvements in Oracle Database 12c Release 2Markus Flechtner
 

What's hot (20)

Fuel 9.0
Fuel 9.0 Fuel 9.0
Fuel 9.0
 
WebLogic, 12C SOA Standalone installation
WebLogic, 12C SOA Standalone installation WebLogic, 12C SOA Standalone installation
WebLogic, 12C SOA Standalone installation
 
Presentation oracle net services
Presentation    oracle net servicesPresentation    oracle net services
Presentation oracle net services
 
Sonas spe csfs-publication-feb-22-2011
Sonas spe csfs-publication-feb-22-2011Sonas spe csfs-publication-feb-22-2011
Sonas spe csfs-publication-feb-22-2011
 
SAP HANA Distributed System Scaleout and HA
SAP HANA Distributed System Scaleout and HASAP HANA Distributed System Scaleout and HA
SAP HANA Distributed System Scaleout and HA
 
Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer
Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and AdministerOracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer
Oracle E-Business Suite R12.2.6 on Database 12c: Install, Patch and Administer
 
SAP HANA System Replication - Setup, Operations and HANA Monitoring
SAP HANA System Replication - Setup, Operations and HANA MonitoringSAP HANA System Replication - Setup, Operations and HANA Monitoring
SAP HANA System Replication - Setup, Operations and HANA Monitoring
 
Rapid Upgrades With Pg_Upgrade, Bruce Momjian
Rapid Upgrades With Pg_Upgrade, Bruce MomjianRapid Upgrades With Pg_Upgrade, Bruce Momjian
Rapid Upgrades With Pg_Upgrade, Bruce Momjian
 
RMAN – The Pocket Knife of a DBA
RMAN – The Pocket Knife of a DBA RMAN – The Pocket Knife of a DBA
RMAN – The Pocket Knife of a DBA
 
Asa 8.3 upgrade what you need to know
Asa 8.3 upgrade  what you need to knowAsa 8.3 upgrade  what you need to know
Asa 8.3 upgrade what you need to know
 
SAP HANA 2 – Dynamic Tiering Overview including HANA Monitoring
SAP HANA 2 – Dynamic Tiering Overview including HANA MonitoringSAP HANA 2 – Dynamic Tiering Overview including HANA Monitoring
SAP HANA 2 – Dynamic Tiering Overview including HANA Monitoring
 
LVOUG meetup #4 - Case Study 10g to 11g
LVOUG meetup #4 - Case Study 10g to 11gLVOUG meetup #4 - Case Study 10g to 11g
LVOUG meetup #4 - Case Study 10g to 11g
 
Minor Project (Rohit Sharma)
Minor Project (Rohit Sharma)Minor Project (Rohit Sharma)
Minor Project (Rohit Sharma)
 
B35 all you wanna know about rman by francisco alvarez
B35 all you wanna know about rman by francisco alvarezB35 all you wanna know about rman by francisco alvarez
B35 all you wanna know about rman by francisco alvarez
 
Install and upgrade Oracle grid infrastructure 12.1.0.2
Install and upgrade Oracle grid infrastructure 12.1.0.2Install and upgrade Oracle grid infrastructure 12.1.0.2
Install and upgrade Oracle grid infrastructure 12.1.0.2
 
SAP HANA SPS12 Exploring New Features
SAP HANA SPS12 Exploring New FeaturesSAP HANA SPS12 Exploring New Features
SAP HANA SPS12 Exploring New Features
 
Sprint 157
Sprint 157Sprint 157
Sprint 157
 
Oracle Cloud Compute - EBS 12.2.5 Vision Demo - Technical Discussion
Oracle Cloud Compute - EBS 12.2.5 Vision Demo - Technical DiscussionOracle Cloud Compute - EBS 12.2.5 Vision Demo - Technical Discussion
Oracle Cloud Compute - EBS 12.2.5 Vision Demo - Technical Discussion
 
Step by Step Restore rman to different host
Step by Step Restore rman to different hostStep by Step Restore rman to different host
Step by Step Restore rman to different host
 
Oracle Multitenant Database 2.0 - Improvements in Oracle Database 12c Release 2
Oracle Multitenant Database 2.0 - Improvements in Oracle Database 12c Release 2Oracle Multitenant Database 2.0 - Improvements in Oracle Database 12c Release 2
Oracle Multitenant Database 2.0 - Improvements in Oracle Database 12c Release 2
 

Similar to Percona Server 8.0

How to upgrade like a boss to my sql 8.0?
How to upgrade like a boss to my sql 8.0?How to upgrade like a boss to my sql 8.0?
How to upgrade like a boss to my sql 8.0?Alkin Tezuysal
 
How to upgrade like a boss to MySQL 8.0 - PLE19
How to upgrade like a boss to MySQL 8.0 -  PLE19How to upgrade like a boss to MySQL 8.0 -  PLE19
How to upgrade like a boss to MySQL 8.0 - PLE19Alkin Tezuysal
 
Percona Server for MySQL 8.0 @ Percona Live 2019
Percona Server for MySQL 8.0 @ Percona Live 2019Percona Server for MySQL 8.0 @ Percona Live 2019
Percona Server for MySQL 8.0 @ Percona Live 2019Laurynas Biveinis
 
Percona Server 5.6: Enterprise-Grade MySQL / PLMCE 2014
Percona Server 5.6: Enterprise-Grade MySQL / PLMCE 2014Percona Server 5.6: Enterprise-Grade MySQL / PLMCE 2014
Percona Server 5.6: Enterprise-Grade MySQL / PLMCE 2014Laurynas Biveinis
 
stackconf 2020 | The Path to OpenSource DBaaS with Kubernetes by Peter Zaitsev
stackconf 2020 | The Path to OpenSource DBaaS with Kubernetes by Peter Zaitsevstackconf 2020 | The Path to OpenSource DBaaS with Kubernetes by Peter Zaitsev
stackconf 2020 | The Path to OpenSource DBaaS with Kubernetes by Peter ZaitsevNETWAYS
 
[db tech showcase OSS 2017] A11: How Percona is Different, and How We Support...
[db tech showcase OSS 2017] A11: How Percona is Different, and How We Support...[db tech showcase OSS 2017] A11: How Percona is Different, and How We Support...
[db tech showcase OSS 2017] A11: How Percona is Different, and How We Support...Insight Technology, Inc.
 
Mysql ecosystem in 2019
Mysql ecosystem in 2019Mysql ecosystem in 2019
Mysql ecosystem in 2019Alkin Tezuysal
 
Percona University - ProxySQL para MySQL
Percona University - ProxySQL para MySQLPercona University - ProxySQL para MySQL
Percona University - ProxySQL para MySQLMarcelo Altmann
 
OSMC 2023 | What’s new with Grafana Labs’s Open Source Observability stack by...
OSMC 2023 | What’s new with Grafana Labs’s Open Source Observability stack by...OSMC 2023 | What’s new with Grafana Labs’s Open Source Observability stack by...
OSMC 2023 | What’s new with Grafana Labs’s Open Source Observability stack by...NETWAYS
 
Analyzing MySQL Logs with ClickHouse, by Peter Zaitsev
Analyzing MySQL Logs with ClickHouse, by Peter ZaitsevAnalyzing MySQL Logs with ClickHouse, by Peter Zaitsev
Analyzing MySQL Logs with ClickHouse, by Peter ZaitsevAltinity Ltd
 
Pivotal Cloud Foundry 2.6: A First Look
Pivotal Cloud Foundry 2.6: A First LookPivotal Cloud Foundry 2.6: A First Look
Pivotal Cloud Foundry 2.6: A First LookVMware Tanzu
 
PaaS on Openstack
PaaS on OpenstackPaaS on Openstack
PaaS on OpenstackOpen Stack
 
What's New in SAP HANA SPS 11 Platform Lifecycle Management (Operations)
What's New in SAP HANA SPS 11 Platform Lifecycle Management (Operations)What's New in SAP HANA SPS 11 Platform Lifecycle Management (Operations)
What's New in SAP HANA SPS 11 Platform Lifecycle Management (Operations)SAP Technology
 
Kea DHCP – the new open source DHCP server from ISC
Kea DHCP – the new open source DHCP server from ISCKea DHCP – the new open source DHCP server from ISC
Kea DHCP – the new open source DHCP server from ISCMen and Mice
 
P6 upgrade paths - Oracle Primavera P6 Collaborate 14
P6 upgrade paths  - Oracle Primavera P6 Collaborate 14P6 upgrade paths  - Oracle Primavera P6 Collaborate 14
P6 upgrade paths - Oracle Primavera P6 Collaborate 14p6academy
 
B1 od administratorguide
B1 od administratorguideB1 od administratorguide
B1 od administratorguideJose Pintado
 
Peter Zaitsev "18 ways to fix MySQL bottlenecks"
Peter Zaitsev "18 ways to fix MySQL bottlenecks"Peter Zaitsev "18 ways to fix MySQL bottlenecks"
Peter Zaitsev "18 ways to fix MySQL bottlenecks"Fwdays
 

Similar to Percona Server 8.0 (20)

MySQL Ecosystem in 2018
MySQL Ecosystem in 2018MySQL Ecosystem in 2018
MySQL Ecosystem in 2018
 
How to upgrade like a boss to my sql 8.0?
How to upgrade like a boss to my sql 8.0?How to upgrade like a boss to my sql 8.0?
How to upgrade like a boss to my sql 8.0?
 
How to upgrade like a boss to MySQL 8.0 - PLE19
How to upgrade like a boss to MySQL 8.0 -  PLE19How to upgrade like a boss to MySQL 8.0 -  PLE19
How to upgrade like a boss to MySQL 8.0 - PLE19
 
Percona Server for MySQL 8.0 @ Percona Live 2019
Percona Server for MySQL 8.0 @ Percona Live 2019Percona Server for MySQL 8.0 @ Percona Live 2019
Percona Server for MySQL 8.0 @ Percona Live 2019
 
Percona Server 5.6: Enterprise-Grade MySQL / PLMCE 2014
Percona Server 5.6: Enterprise-Grade MySQL / PLMCE 2014Percona Server 5.6: Enterprise-Grade MySQL / PLMCE 2014
Percona Server 5.6: Enterprise-Grade MySQL / PLMCE 2014
 
stackconf 2020 | The Path to OpenSource DBaaS with Kubernetes by Peter Zaitsev
stackconf 2020 | The Path to OpenSource DBaaS with Kubernetes by Peter Zaitsevstackconf 2020 | The Path to OpenSource DBaaS with Kubernetes by Peter Zaitsev
stackconf 2020 | The Path to OpenSource DBaaS with Kubernetes by Peter Zaitsev
 
Proxy SQL 2.0 with PXC
Proxy SQL 2.0 with PXCProxy SQL 2.0 with PXC
Proxy SQL 2.0 with PXC
 
[db tech showcase OSS 2017] A11: How Percona is Different, and How We Support...
[db tech showcase OSS 2017] A11: How Percona is Different, and How We Support...[db tech showcase OSS 2017] A11: How Percona is Different, and How We Support...
[db tech showcase OSS 2017] A11: How Percona is Different, and How We Support...
 
Mysql ecosystem in 2019
Mysql ecosystem in 2019Mysql ecosystem in 2019
Mysql ecosystem in 2019
 
Percona University - ProxySQL para MySQL
Percona University - ProxySQL para MySQLPercona University - ProxySQL para MySQL
Percona University - ProxySQL para MySQL
 
Percona Server 8.0
Percona Server 8.0Percona Server 8.0
Percona Server 8.0
 
OSMC 2023 | What’s new with Grafana Labs’s Open Source Observability stack by...
OSMC 2023 | What’s new with Grafana Labs’s Open Source Observability stack by...OSMC 2023 | What’s new with Grafana Labs’s Open Source Observability stack by...
OSMC 2023 | What’s new with Grafana Labs’s Open Source Observability stack by...
 
Analyzing MySQL Logs with ClickHouse, by Peter Zaitsev
Analyzing MySQL Logs with ClickHouse, by Peter ZaitsevAnalyzing MySQL Logs with ClickHouse, by Peter Zaitsev
Analyzing MySQL Logs with ClickHouse, by Peter Zaitsev
 
Pivotal Cloud Foundry 2.6: A First Look
Pivotal Cloud Foundry 2.6: A First LookPivotal Cloud Foundry 2.6: A First Look
Pivotal Cloud Foundry 2.6: A First Look
 
PaaS on Openstack
PaaS on OpenstackPaaS on Openstack
PaaS on Openstack
 
What's New in SAP HANA SPS 11 Platform Lifecycle Management (Operations)
What's New in SAP HANA SPS 11 Platform Lifecycle Management (Operations)What's New in SAP HANA SPS 11 Platform Lifecycle Management (Operations)
What's New in SAP HANA SPS 11 Platform Lifecycle Management (Operations)
 
Kea DHCP – the new open source DHCP server from ISC
Kea DHCP – the new open source DHCP server from ISCKea DHCP – the new open source DHCP server from ISC
Kea DHCP – the new open source DHCP server from ISC
 
P6 upgrade paths - Oracle Primavera P6 Collaborate 14
P6 upgrade paths  - Oracle Primavera P6 Collaborate 14P6 upgrade paths  - Oracle Primavera P6 Collaborate 14
P6 upgrade paths - Oracle Primavera P6 Collaborate 14
 
B1 od administratorguide
B1 od administratorguideB1 od administratorguide
B1 od administratorguide
 
Peter Zaitsev "18 ways to fix MySQL bottlenecks"
Peter Zaitsev "18 ways to fix MySQL bottlenecks"Peter Zaitsev "18 ways to fix MySQL bottlenecks"
Peter Zaitsev "18 ways to fix MySQL bottlenecks"
 

More from Laurynas Biveinis

Percona Server 5.7: Key Performance Algorithms
Percona Server 5.7: Key Performance AlgorithmsPercona Server 5.7: Key Performance Algorithms
Percona Server 5.7: Key Performance AlgorithmsLaurynas Biveinis
 
XtraDB 5.7: key performance algorithms
XtraDB 5.7: key performance algorithmsXtraDB 5.7: key performance algorithms
XtraDB 5.7: key performance algorithmsLaurynas Biveinis
 
Developing a database server: software engineer's view
Developing a database server: software engineer's viewDeveloping a database server: software engineer's view
Developing a database server: software engineer's viewLaurynas Biveinis
 
XtraDB 5.6 and 5.7: Key Performance Algorithms
XtraDB 5.6 and 5.7: Key Performance AlgorithmsXtraDB 5.6 and 5.7: Key Performance Algorithms
XtraDB 5.6 and 5.7: Key Performance AlgorithmsLaurynas Biveinis
 
Fast Incremental Backups with Percona Server and Percona XtraBackup / PLMCE 2014
Fast Incremental Backups with Percona Server and Percona XtraBackup / PLMCE 2014Fast Incremental Backups with Percona Server and Percona XtraBackup / PLMCE 2014
Fast Incremental Backups with Percona Server and Percona XtraBackup / PLMCE 2014Laurynas Biveinis
 
Tracking Page Changes for Your Database and Bitmap Backups
Tracking Page Changes for Your Database and Bitmap BackupsTracking Page Changes for Your Database and Bitmap Backups
Tracking Page Changes for Your Database and Bitmap BackupsLaurynas Biveinis
 

More from Laurynas Biveinis (6)

Percona Server 5.7: Key Performance Algorithms
Percona Server 5.7: Key Performance AlgorithmsPercona Server 5.7: Key Performance Algorithms
Percona Server 5.7: Key Performance Algorithms
 
XtraDB 5.7: key performance algorithms
XtraDB 5.7: key performance algorithmsXtraDB 5.7: key performance algorithms
XtraDB 5.7: key performance algorithms
 
Developing a database server: software engineer's view
Developing a database server: software engineer's viewDeveloping a database server: software engineer's view
Developing a database server: software engineer's view
 
XtraDB 5.6 and 5.7: Key Performance Algorithms
XtraDB 5.6 and 5.7: Key Performance AlgorithmsXtraDB 5.6 and 5.7: Key Performance Algorithms
XtraDB 5.6 and 5.7: Key Performance Algorithms
 
Fast Incremental Backups with Percona Server and Percona XtraBackup / PLMCE 2014
Fast Incremental Backups with Percona Server and Percona XtraBackup / PLMCE 2014Fast Incremental Backups with Percona Server and Percona XtraBackup / PLMCE 2014
Fast Incremental Backups with Percona Server and Percona XtraBackup / PLMCE 2014
 
Tracking Page Changes for Your Database and Bitmap Backups
Tracking Page Changes for Your Database and Bitmap BackupsTracking Page Changes for Your Database and Bitmap Backups
Tracking Page Changes for Your Database and Bitmap Backups
 

Recently uploaded

What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmSujith Sukumaran
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfjoe51371421
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number SystemsJheuzeDellosa
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEOrtus Solutions, Corp
 
cybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningcybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningVitsRangannavar
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Andreas Granig
 
XpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsXpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsMehedi Hasan Shohan
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxTier1 app
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideChristina Lin
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureDinusha Kumarasiri
 
What are the features of Vehicle Tracking System?
What are the features of Vehicle Tracking System?What are the features of Vehicle Tracking System?
What are the features of Vehicle Tracking System?Watsoo Telematics
 
buds n tech IT solutions
buds n  tech IT                solutionsbuds n  tech IT                solutions
buds n tech IT solutionsmonugehlot87
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataBradBedford3
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)OPEN KNOWLEDGE GmbH
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - InfographicHr365.us smith
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio, Inc.
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptkotipi9215
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...MyIntelliSource, Inc.
 

Recently uploaded (20)

What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalm
 
why an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdfwhy an Opensea Clone Script might be your perfect match.pdf
why an Opensea Clone Script might be your perfect match.pdf
 
What is Binary Language? Computer Number Systems
What is Binary Language?  Computer Number SystemsWhat is Binary Language?  Computer Number Systems
What is Binary Language? Computer Number Systems
 
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASEBATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
BATTLEFIELD ORM: TIPS, TACTICS AND STRATEGIES FOR CONQUERING YOUR DATABASE
 
cybersecurity notes for mca students for learning
cybersecurity notes for mca students for learningcybersecurity notes for mca students for learning
cybersecurity notes for mca students for learning
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024
 
XpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software SolutionsXpertSolvers: Your Partner in Building Innovative Software Solutions
XpertSolvers: Your Partner in Building Innovative Software Solutions
 
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptxKnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
KnowAPIs-UnknownPerf-jaxMainz-2024 (1).pptx
 
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop SlideBuilding Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
Building Real-Time Data Pipelines: Stream & Batch Processing workshop Slide
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with Azure
 
What are the features of Vehicle Tracking System?
What are the features of Vehicle Tracking System?What are the features of Vehicle Tracking System?
What are the features of Vehicle Tracking System?
 
buds n tech IT solutions
buds n  tech IT                solutionsbuds n  tech IT                solutions
buds n tech IT solutions
 
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer DataAdobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
Adobe Marketo Engage Deep Dives: Using Webhooks to Transfer Data
 
Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)Der Spagat zwischen BIAS und FAIRNESS (2024)
Der Spagat zwischen BIAS und FAIRNESS (2024)
 
Asset Management Software - Infographic
Asset Management Software - InfographicAsset Management Software - Infographic
Asset Management Software - Infographic
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed DataAlluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
Alluxio Monthly Webinar | Cloud-Native Model Training on Distributed Data
 
chapter--4-software-project-planning.ppt
chapter--4-software-project-planning.pptchapter--4-software-project-planning.ppt
chapter--4-software-project-planning.ppt
 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
 

Percona Server 8.0

  • 1. © 2016 Percona© 2016 Percona© 2016 Percona© 2016 Percona© 2016 Percona© 2016 Percona© 2016 Percona1 Laurynas Biveinis Percona Server 8.0 Technical Director @ Percona Percona Live Europe 2018 2018-11-06
  • 2. © 2016 Percona© 2016 Percona© 2016 Percona© 2016 Percona© 2016 Percona© 2016 Percona© 2016 Percona2 First of all, what is Percona Server? “…a free, fully compatible, enhanced and open source drop-in replacement for any MySQL database…”
  • 3. © 2018 Percona3 Percona Server 5.7 user: ▪Percona Server 8.0
 = Percona Server 5.7
 + MySQL 8.0 Two Ways to Define Percona Server 8.0 New / MySQL 8.0 user: ▪Percona Server 8.0 
 = MySQL 8.0
 + enhancements
  • 4. © 2018 Percona4 For a Percona Server 5.7 user: ▪Percona Server 8.0
 = Percona Server 5.7
 + MySQL 8.0 ▪In other words, “what has changed in Percona additions since Percona Server 5.7?” We will focus on the latter definition
  • 5. © 2018 Percona What has changed since Percona Server 5.7? ▪Features dropped ▪Features adjusted to work with MySQL 8.0 features Does the above list seem to miss anything? ▪“Features added?” 5
  • 6. © 2018 Percona MySQL GA features over time 6 Generallyavailablefeatures MySQL 5.5 MySQL 5.6 MySQL 5.7 MySQL 8.0
  • 7. © 2018 Percona Percona Server GA additions over time 7 GenerallyavailablePerconafeatures PS 5.5 PS 5.6 PS 5.7 PS 8.0
  • 8. © 2016 Percona© 2016 Percona© 2016 Percona© 2016 Percona© 2016 Percona© 2016 Percona© 2016 Percona8 Deprecated feature removal They had it coming
  • 9. © 2018 Percona Scalability metrics plugin Subtly broken architecture that is not easy to fix No users we are aware of 9
  • 10. © 2018 Percona INFORMATION_SCHEMA.THREAD_STATISTICS: CONCURRENT_CONNECTIONS column How to define it for thread_statistics in the first place? The value was zero for years and nobody noticed (or everybody did and were OK with it) 10
  • 11. © 2018 Percona innodb_kill_idle_transactions variable ▪Only the variable, the feature is not deprecated ▪Accessible through kill_idle_transactions variable ▪Drop the innodb_ prefix to upgrade (on 5.7 already!) ▪A remnant of generalisation of the feature from InnoDB to all SEs 11
  • 12. © 2018 Percona Query Cache enhancements ▪log_slow_filter=qc_miss ▪QC_hit in the slow query log extensions ▪query_cache_strip_comments system variable ▪“Waiting for query cache mutex” thread state in the processlist 12
  • 13. © 2016 Percona© 2016 Percona© 2016 Percona© 2016 Percona© 2016 Percona© 2016 Percona© 2016 Percona13 Features removed due to upstream What is the upgrade path?
  • 14. © 2018 Percona Query Response Time plugin Use Performance Schema execution time histograms ▪Before: • SELECT * from INFORMATION_SCHEMA.QUERY_RESPONSE_TIME ▪After: • SELECT COUNT(*) FROM performance_schema.events_statements_histogram_global GROUP BY COUNT_BUCKET • … many other possibilities 14
  • 15. © 2018 Percona LOCK BINLOG FOR BACKUP Query performance_schema.log_status instead ▪Before: • Use Percona XtraBackup ▪After: • Use Percona XtraBackup, an 8.0-compatible version (8.0-3-rc1 as of today) 15
  • 16. © 2018 Percona innodb_flush_method = ALL_O_DIRECT Set it to something else, O_DIRECT most likely ▪Before: • Use innodb_flush_method=ALL_O_DIRECT to avoid having redo logs in the kernel FS cache ▪After: • Oracle MySQL 8.0 redo logging is dependent on having logs in the FS cache 16
  • 17. © 2018 Percona Memory summary in SHOW ENGINE INNODB STATUS Query performance_schema.memory_summary_global_by_event_name instead ▪ Before: Internal hash tables (constant factor + variable factor) Adaptive hash index 2266736 (2213368 + 53368) Page hash 139112 (buffer pool 0 only) Dictionary cache 729463 (554768 + 174695) File system 824800 (812272 + 12528) Lock system 333248 (332872 + 376) Recovery system 0 (0 + 0) Dictionary memory allocated 174695 ▪ After: • Query PFS memory summary tables • Beware of MySQL bug 90561, fixed in 8.0.13 17
  • 18. © 2016 Percona© 2016 Percona© 2016 Percona© 2016 Percona© 2016 Percona© 2016 Percona© 2016 Percona18 Features removed due to lack of uptake Let us know if you are a user!
  • 19. © 2018 Percona Features removed due to lack of uptake ▪INFORMATION_SCHEMA.XTRADB_RSEG ▪Expanded program option modifiers ▪Utility user ▪pseudo_server_id ▪CSV_MODE ▪max_slowlog_files and max_slowlog_size ▪innodb_show_verbose_locks 19
  • 20. © 2016 Percona© 2016 Percona© 2016 Percona© 2016 Percona© 2016 Percona© 2016 Percona© 2016 Percona20 Changed features What is the upgrade path?
  • 21. © 2018 Percona No more legacy partitioning in 8.0 Percona Server 8.0: native partitioning for MyRocks and TokuDB Partitioned tables must be upgraded before the upgrade to 8.0 Hence, Percona Server 5.7 also features native partitioning 21
  • 22. © 2018 Percona The biggest upstream game-changer: new DD Atomic DDL, no more FRM files, 1 billion tables… TokuDB ROW_FORMAT clause removed, use tokudb_row_format system variable CREATE COMPRESSION DICTIONARY json_keys (‘name’, ‘city’, … ) reimplemented in the new DD Expanded fast index creation will be soon 22
  • 23. © 2018 Percona SET STATEMENT FOR →/* SET_VAR */ Percona Server 5.7 (and MariaDB) per-statement variable assignments: ▪SET STATEMENT sort_buffer_size=100000 FOR SELECT name … MySQL 8.0 variable-setting optimizer hint ▪SELECT /*+ SET_VAR(sort_buffer_size=100000)*/ name … Percona Server has extended SET_VAR to cover the majority of SET STATEMENT use cases 23
  • 24. © 2018 Percona “userstat” duration columns now floating-point INFORMATION_SCHEMA.CLIENT_STATISTICS, THREAD_STATISTICS, USER_STATISTICS: CONNECTED_TIME, BUSY_TIME, CPU_TIME ▪Percona Server 5.7: integers, 1s resolution, ▪Percona Server 8.0: double precision 24
  • 25. © 2018 Percona SHOW [EFFECTIVE] GRANTS MySQL 5.7 SHOW GRANTS ▪ Shows assigned but not effective grants Percona Server 5.7 SHOW GRANTS ▪ The above was considered a bug ▪ Shows effective but not assigned grants Percona Server 8.0 SHOW [EFFECTIVE] GRANTS ▪ The above was considered a bug ▪ SHOW GRANTS: shows assigned grants ▪ SHOW EFFECTIVE GRANTS: shows effective grants 25
  • 26. © 2018 Percona Binlog space management Percona Server 5.7: max_binlog_files ▪Manage max space in combination with max_binlog_size ▪Was not reliable due to extra rotations Percona Server 8.0: binlog_space_limit ▪binlog_space_limit=10G - works alone, easier to manage 26
  • 27. © 2018 Percona Percona Server 8.0: RC1 as of today RC1 released last week We are still exploring 8.0 performance Questions? 27