SlideShare a Scribd company logo
Copyright © 2016 Oracle and/or its affiliates. All rights reserved. |
MySQL Multi Thread Slave
Performance Evaluation on OPC (OC3)
MySQL Global Business Unit
Shinya Sugiyama
Copyright © 2016 Oracle and/or its affiliates. All rights reserved.
Environment
2
Oracle Cloud MySQL Service
Master and Slave Instance: OC3 (1OCPU(2 vCPU), 7.5 GB Mem)
MySQL Version: MySQL5.7.16
Monitoring: MySQL Enterprise Monitor (Separate Instance)
Copyright © 2016 Oracle and/or its affiliates. All rights reserved.
Benchmark
Changed parameter:
slave_parallel_workers
Thread 1, 2, 4, 8, 16,32
Other Parameter is OPC MySQL Service Default (Only Server ID was Changed)
3
+------------------------+-------+
| Variable_name | Value |
+------------------------+-------+
| slave_parallel_workers | 8 |
+------------------------+-------+
/u01/bin/mysql/bin/mysqlslap --no-defaults --create-schema=SLAP --engine=InnoDB --auto-generate-sql
--auto-generate-sql-add-autoincrement --number-int-cols=3 --number-char-cols=5 --concurrency=10 --
auto-generate-sql-write-number=50000 --auto-generate-sql-execute-number=50000 --auto-generate-sql-
load-type=mixed -h localhost -u oracle
+-----------------------------+-------+
| Variable_name | Value |
+-----------------------------+-------+
| slave_preserve_commit_order | ON |
+-----------------------------+-------+
+---------------------+---------------+
| Variable_name | Value |
+---------------------+---------------+
| slave_parallel_type | LOGICAL_CLOCK |
+---------------------+---------------+
Copyright © 2016 Oracle and/or its affiliates. All rights reserved.
Benchmark1
4
[oracle@study01-mysql-1 ~]$ ./mysqlslap.sh
Benchmark
Running for engine InnoDB
Average number of seconds to run all queries: 185.845 seconds
Minimum number of seconds to run all queries: 185.845 seconds
Maximum number of seconds to run all queries: 185.845 seconds
Number of clients running queries: 10
Average number of queries per client: 50000
Study02: slave_parallel_workers = 1
Study03: slave_parallel_workers = 16
CPU USAGE:
Elapsed time is much longer in case of
parallel_workers 1 . CPU usage of
parallel_workers 16 is less than 1 even
total thread number is larger than 1.
QUERIES and DELAY
parallel_workers 16 is much faster than
parallel_workers 1, so Behind_master is
resolved soon.
Copyright © 2016 Oracle and/or its affiliates. All rights reserved.
Benchmark2
5
[oracle@study01-mysql-1 ~]$ ./mysqlslap.sh
Benchmark
Running for engine InnoDB
Average number of seconds to run all queries: 190.973 seconds
Minimum number of seconds to run all queries: 190.973 seconds
Maximum number of seconds to run all queries: 190.973 seconds
Number of clients running queries: 10
Average number of queries per client: 50000
Study02: slave_parallel_workers = 2
Study03: slave_parallel_workers = 16
CPU USAGE:
Elapsed time is longer in case of
parallel_workers 2 . CPU usage of
parallel_workers 16 is less than 2 even
total thread number is larger than 2.
QUERIES and DELAY
parallel_workers 16 is faster than
parallel_workers 2, so Behind_master is
resolved soon.
Copyright © 2016 Oracle and/or its affiliates. All rights reserved.
Benchmark3
6
[oracle@study01-mysql-1 ~]$ ./mysqlslap.sh
Benchmark
Running for engine InnoDB
Average number of seconds to run all queries: 186.468 seconds
Minimum number of seconds to run all queries: 186.468 seconds
Maximum number of seconds to run all queries: 186.468 seconds
Number of clients running queries: 10
Average number of queries per client: 50000
Study02: slave_parallel_workers = 4
Study03: slave_parallel_workers = 16
CPU USAGE:
Elapsed time is little longer in case of
parallel_workers 4 . CPU usage of
parallel_workers 16 is less than 4 even
total thread number is larger than 4.
QUERIES and DELAY
parallel_workers 16 is still faster than
parallel_workers 4, so Behind_master is
resolved little faster than 4.
Copyright © 2016 Oracle and/or its affiliates. All rights reserved.
Benchmark4
7
[oracle@study01-mysql-1 ~]$ ./mysqlslap.sh
Benchmark
Running for engine InnoDB
Average number of seconds to run all queries: 188.104 seconds
Minimum number of seconds to run all queries: 188.104 seconds
Maximum number of seconds to run all queries: 188.104 seconds
Number of clients running queries: 10
Average number of queries per client: 50000
Study02: slave_parallel_workers = 8
Study03: slave_parallel_workers = 16
CPU USAGE:
Elapsed time is almost same beteen
parallel_workers 8 and parallel_workers
16.
QUERIES and DELAY
There is not much difference between
parallel_workers 8 and parallel_workers
16, so Behind_master is almost same.
Copyright © 2016 Oracle and/or its affiliates. All rights reserved.
Trial (トライアル)
8
■ Oracle MySQL Cloud Service
English
https://cloud.oracle.com/mysql
日本語サイト
https://cloud.oracle.com/ja_JP/mysql
■ MySQL Enterprise Monitor Trial
http://edelivery.oracle.com/
https://www-jp.mysql.com/trials/
Multi thread slave_performance_on_opc

More Related Content

PDF
MySQL8.0 in COSCUP2017
Shinya Sugiyama
 
PDF
MySQL High Availability with Group Replication
Nuno Carvalho
 
PDF
[B34] MySQL最新ロードマップ – MySQL 5.7とその先へ by Ryusuke Kajiyama
Insight Technology, Inc.
 
PDF
MySQL Group Replication
Manish Kumar
 
PPTX
MySQL InnoDB Cluster 미리보기 (remote cluster test)
Seungmin Yu
 
PDF
Introduction to ClustrixDB
I Goo Lee
 
PDF
Intro ProxySQL
I Goo Lee
 
PDF
MySQL 5.7 GIS-Norvald H. Ryeng
郁萍 王
 
MySQL8.0 in COSCUP2017
Shinya Sugiyama
 
MySQL High Availability with Group Replication
Nuno Carvalho
 
[B34] MySQL最新ロードマップ – MySQL 5.7とその先へ by Ryusuke Kajiyama
Insight Technology, Inc.
 
MySQL Group Replication
Manish Kumar
 
MySQL InnoDB Cluster 미리보기 (remote cluster test)
Seungmin Yu
 
Introduction to ClustrixDB
I Goo Lee
 
Intro ProxySQL
I Goo Lee
 
MySQL 5.7 GIS-Norvald H. Ryeng
郁萍 王
 

What's hot (20)

PDF
MySQL Monitoring 101
Ronald Bradford
 
PDF
Overview of Optimizer Features in 5.6 and 5.7-Manyi Lu
郁萍 王
 
ODP
MySQL 5.7 - What's new and How to upgrade
Abel Flórez
 
PPTX
MySQL Utilities -- Cool Tools For You: PHP World Nov 16 2016
Dave Stokes
 
PDF
MySQL JSON Functions
Sveta Smirnova
 
KEY
Perf Tuning Short
Ligaya Turmelle
 
PDF
MySQL Cluster Performance Tuning - 2013 MySQL User Conference
Severalnines
 
PDF
My sql 5.7-upcoming-changes-v2
Morgan Tocker
 
PDF
MySQL as a Document Store
Dave Stokes
 
PDF
MySQL Audit using Percona audit plugin and ELK
I Goo Lee
 
PDF
Percona XtraDB Cluster vs Galera Cluster vs MySQL Group Replication
Kenny Gryp
 
PDF
Introduction to MariaDB MaxScale
I Goo Lee
 
PDF
MySQL Replication Update -- Zendcon 2016
Dave Stokes
 
PDF
MySQL Replication Basics -Ohio Linux Fest 2016
Dave Stokes
 
PDF
MySQL Group Replication - an Overview
Matt Lord
 
PDF
MySQL Group Replication - Ready For Production? (2018-04)
Kenny Gryp
 
PDF
Ohio Linux Fest -- MySQL's NoSQL
Dave Stokes
 
PDF
A26 MariaDB : The New&Implemented MySQL Branch by Colin Charles
Insight Technology, Inc.
 
PDF
Greenplum versus redshift and actian vectorwise comparison
Dr. Syed Hassan Amin
 
PDF
MySQL 5.5&5.6 new features summary
Louis liu
 
MySQL Monitoring 101
Ronald Bradford
 
Overview of Optimizer Features in 5.6 and 5.7-Manyi Lu
郁萍 王
 
MySQL 5.7 - What's new and How to upgrade
Abel Flórez
 
MySQL Utilities -- Cool Tools For You: PHP World Nov 16 2016
Dave Stokes
 
MySQL JSON Functions
Sveta Smirnova
 
Perf Tuning Short
Ligaya Turmelle
 
MySQL Cluster Performance Tuning - 2013 MySQL User Conference
Severalnines
 
My sql 5.7-upcoming-changes-v2
Morgan Tocker
 
MySQL as a Document Store
Dave Stokes
 
MySQL Audit using Percona audit plugin and ELK
I Goo Lee
 
Percona XtraDB Cluster vs Galera Cluster vs MySQL Group Replication
Kenny Gryp
 
Introduction to MariaDB MaxScale
I Goo Lee
 
MySQL Replication Update -- Zendcon 2016
Dave Stokes
 
MySQL Replication Basics -Ohio Linux Fest 2016
Dave Stokes
 
MySQL Group Replication - an Overview
Matt Lord
 
MySQL Group Replication - Ready For Production? (2018-04)
Kenny Gryp
 
Ohio Linux Fest -- MySQL's NoSQL
Dave Stokes
 
A26 MariaDB : The New&Implemented MySQL Branch by Colin Charles
Insight Technology, Inc.
 
Greenplum versus redshift and actian vectorwise comparison
Dr. Syed Hassan Amin
 
MySQL 5.5&5.6 new features summary
Louis liu
 
Ad

Similar to Multi thread slave_performance_on_opc (20)

PDF
MySQL Manchester TT - 5.7 Whats new
Mark Swarbrick
 
PDF
MySQL 5.7 - What's new, How to upgrade and Document Store
Abel Flórez
 
PDF
제3회난공불락 오픈소스 인프라세미나 - MySQL Performance
Tommy Lee
 
PDF
What's new in MySQL 5.7, Oracle Virtual Technology Summit, 2016
Geir Høydalsvik
 
PDF
MySQL 5.7: What's New, Nov. 2015
Mario Beck
 
PPTX
MySQL Tech Tour 2015 - 5.7 Whats new
Mark Swarbrick
 
PDF
MySQL Manchester TT - Performance Tuning
Mark Swarbrick
 
PDF
My sql 5.6&MySQL Cluster 7.3
Oleksii(Alexey) Porytskyi
 
PPTX
MySQL Performance Tuning 101
Mirko Ortensi
 
PPTX
Analyze database system using a 3 d method
Ajith Narayanan
 
PPTX
Cloud Performance Benchmarking
Santanu Dey
 
PDF
MySQL Performance Metrics that Matter
Morgan Tocker
 
PDF
How should I monitor my idaa
Cuneyt Goksu
 
PDF
Oracle 11g R2 RAC setup on rhel 5.0
Santosh Kangane
 
PDF
MySQL 5.7 what's new
Ricky Setyawan
 
PDF
What's New in MySQL 5.7
Olivier DASINI
 
PDF
DB12c: All You Need to Know About the Resource Manager
Andrejs Vorobjovs
 
PDF
20161029 py con-mysq-lv3
Ivan Ma
 
PPTX
ProxySQL & PXC(Query routing and Failover Test)
YoungHeon (Roy) Kim
 
PDF
Exploring mysql cluster 7.4
Ivan Ma
 
MySQL Manchester TT - 5.7 Whats new
Mark Swarbrick
 
MySQL 5.7 - What's new, How to upgrade and Document Store
Abel Flórez
 
제3회난공불락 오픈소스 인프라세미나 - MySQL Performance
Tommy Lee
 
What's new in MySQL 5.7, Oracle Virtual Technology Summit, 2016
Geir Høydalsvik
 
MySQL 5.7: What's New, Nov. 2015
Mario Beck
 
MySQL Tech Tour 2015 - 5.7 Whats new
Mark Swarbrick
 
MySQL Manchester TT - Performance Tuning
Mark Swarbrick
 
My sql 5.6&MySQL Cluster 7.3
Oleksii(Alexey) Porytskyi
 
MySQL Performance Tuning 101
Mirko Ortensi
 
Analyze database system using a 3 d method
Ajith Narayanan
 
Cloud Performance Benchmarking
Santanu Dey
 
MySQL Performance Metrics that Matter
Morgan Tocker
 
How should I monitor my idaa
Cuneyt Goksu
 
Oracle 11g R2 RAC setup on rhel 5.0
Santosh Kangane
 
MySQL 5.7 what's new
Ricky Setyawan
 
What's New in MySQL 5.7
Olivier DASINI
 
DB12c: All You Need to Know About the Resource Manager
Andrejs Vorobjovs
 
20161029 py con-mysq-lv3
Ivan Ma
 
ProxySQL & PXC(Query routing and Failover Test)
YoungHeon (Roy) Kim
 
Exploring mysql cluster 7.4
Ivan Ma
 
Ad

More from Shinya Sugiyama (20)

PDF
MySQLとPostgreSQLの基本的な実行プラン比較
Shinya Sugiyama
 
PDF
MySQLとPostgreSQLの基本的なパラメータ比較
Shinya Sugiyama
 
PDF
MySQLとPostgreSQLの基本的なレプリケーション設定比較
Shinya Sugiyama
 
PDF
MySQLとPostgreSQLの基本的なバックアップ比較
Shinya Sugiyama
 
PDF
MySQLとPostgreSQLにおける基本的なアカウント管理
Shinya Sugiyama
 
PDF
Locondo 20190703@inno db_cluster
Shinya Sugiyama
 
PDF
Locondo 20190215@ec tech_group
Shinya Sugiyama
 
PDF
DB tech showcase_tokyo2018_LOCONDO
Shinya Sugiyama
 
PDF
MySQL8.0 SYS スキーマ概要
Shinya Sugiyama
 
PDF
MySQL SYSスキーマのご紹介
Shinya Sugiyama
 
PDF
MySQL Partition Engine
Shinya Sugiyama
 
PDF
Oracle Cloud MySQL Service
Shinya Sugiyama
 
PDF
MySQL InnoDB Clusterによる高可用性構成(DB Tech Showcase 2017)
Shinya Sugiyama
 
PDF
MySQLデータ暗号化と暗号鍵のローテーション
Shinya Sugiyama
 
PDF
Power of SQL and NoSQL with MySQL5.7
Shinya Sugiyama
 
PDF
db tech showcase2016 - MySQLドキュメントストア
Shinya Sugiyama
 
PDF
MySQL57 Update@OSC Fukuoka 20151003
Shinya Sugiyama
 
PDF
No sql with mysql cluster (MyNA・JPUG合同DB勉強会)
Shinya Sugiyama
 
PDF
MySQL 5.7とレプリケーションにおける改良
Shinya Sugiyama
 
PDF
MySQL 5.7 Technical Update (日本語)
Shinya Sugiyama
 
MySQLとPostgreSQLの基本的な実行プラン比較
Shinya Sugiyama
 
MySQLとPostgreSQLの基本的なパラメータ比較
Shinya Sugiyama
 
MySQLとPostgreSQLの基本的なレプリケーション設定比較
Shinya Sugiyama
 
MySQLとPostgreSQLの基本的なバックアップ比較
Shinya Sugiyama
 
MySQLとPostgreSQLにおける基本的なアカウント管理
Shinya Sugiyama
 
Locondo 20190703@inno db_cluster
Shinya Sugiyama
 
Locondo 20190215@ec tech_group
Shinya Sugiyama
 
DB tech showcase_tokyo2018_LOCONDO
Shinya Sugiyama
 
MySQL8.0 SYS スキーマ概要
Shinya Sugiyama
 
MySQL SYSスキーマのご紹介
Shinya Sugiyama
 
MySQL Partition Engine
Shinya Sugiyama
 
Oracle Cloud MySQL Service
Shinya Sugiyama
 
MySQL InnoDB Clusterによる高可用性構成(DB Tech Showcase 2017)
Shinya Sugiyama
 
MySQLデータ暗号化と暗号鍵のローテーション
Shinya Sugiyama
 
Power of SQL and NoSQL with MySQL5.7
Shinya Sugiyama
 
db tech showcase2016 - MySQLドキュメントストア
Shinya Sugiyama
 
MySQL57 Update@OSC Fukuoka 20151003
Shinya Sugiyama
 
No sql with mysql cluster (MyNA・JPUG合同DB勉強会)
Shinya Sugiyama
 
MySQL 5.7とレプリケーションにおける改良
Shinya Sugiyama
 
MySQL 5.7 Technical Update (日本語)
Shinya Sugiyama
 

Recently uploaded (20)

PPTX
Maximizing Revenue with Marketo Measure: A Deep Dive into Multi-Touch Attribu...
bbedford2
 
PDF
lesson-2-rules-of-netiquette.pdf.bshhsjdj
jasmenrojas249
 
PPTX
ConcordeApp: Engineering Global Impact & Unlocking Billions in Event ROI with AI
chastechaste14
 
PPTX
Visualising Data with Scatterplots in IBM SPSS Statistics.pptx
Version 1 Analytics
 
PPTX
Presentation about Database and Database Administrator
abhishekchauhan86963
 
PPTX
Web Testing.pptx528278vshbuqffqhhqiwnwuq
studylike474
 
PPTX
Explanation about Structures in C language.pptx
Veeral Rathod
 
PDF
Key Features to Look for in Arizona App Development Services
Net-Craft.com
 
PDF
Summary Of Odoo 18.1 to 18.4 : The Way For Odoo 19
CandidRoot Solutions Private Limited
 
PPTX
AI-Ready Handoff: Auto-Summaries & Draft Emails from MQL to Slack in One Flow
bbedford2
 
PDF
New Download MiniTool Partition Wizard Crack Latest Version 2025
imang66g
 
PDF
WatchTraderHub - Watch Dealer software with inventory management and multi-ch...
WatchDealer Pavel
 
PPTX
GALILEO CRS SYSTEM | GALILEO TRAVEL SOFTWARE
philipnathen82
 
PPT
Activate_Methodology_Summary presentatio
annapureddyn
 
DOCX
Can You Build Dashboards Using Open Source Visualization Tool.docx
Varsha Nayak
 
PPTX
Can You Build Dashboards Using Open Source Visualization Tool.pptx
Varsha Nayak
 
PPTX
Role Of Python In Programing Language.pptx
jaykoshti048
 
PDF
Download iTop VPN Free 6.1.0.5882 Crack Full Activated Pre Latest 2025
imang66g
 
PDF
New Download FL Studio Crack Full Version [Latest 2025]
imang66g
 
PDF
Balancing Resource Capacity and Workloads with OnePlan – Avoid Overloading Te...
OnePlan Solutions
 
Maximizing Revenue with Marketo Measure: A Deep Dive into Multi-Touch Attribu...
bbedford2
 
lesson-2-rules-of-netiquette.pdf.bshhsjdj
jasmenrojas249
 
ConcordeApp: Engineering Global Impact & Unlocking Billions in Event ROI with AI
chastechaste14
 
Visualising Data with Scatterplots in IBM SPSS Statistics.pptx
Version 1 Analytics
 
Presentation about Database and Database Administrator
abhishekchauhan86963
 
Web Testing.pptx528278vshbuqffqhhqiwnwuq
studylike474
 
Explanation about Structures in C language.pptx
Veeral Rathod
 
Key Features to Look for in Arizona App Development Services
Net-Craft.com
 
Summary Of Odoo 18.1 to 18.4 : The Way For Odoo 19
CandidRoot Solutions Private Limited
 
AI-Ready Handoff: Auto-Summaries & Draft Emails from MQL to Slack in One Flow
bbedford2
 
New Download MiniTool Partition Wizard Crack Latest Version 2025
imang66g
 
WatchTraderHub - Watch Dealer software with inventory management and multi-ch...
WatchDealer Pavel
 
GALILEO CRS SYSTEM | GALILEO TRAVEL SOFTWARE
philipnathen82
 
Activate_Methodology_Summary presentatio
annapureddyn
 
Can You Build Dashboards Using Open Source Visualization Tool.docx
Varsha Nayak
 
Can You Build Dashboards Using Open Source Visualization Tool.pptx
Varsha Nayak
 
Role Of Python In Programing Language.pptx
jaykoshti048
 
Download iTop VPN Free 6.1.0.5882 Crack Full Activated Pre Latest 2025
imang66g
 
New Download FL Studio Crack Full Version [Latest 2025]
imang66g
 
Balancing Resource Capacity and Workloads with OnePlan – Avoid Overloading Te...
OnePlan Solutions
 

Multi thread slave_performance_on_opc

  • 1. Copyright © 2016 Oracle and/or its affiliates. All rights reserved. | MySQL Multi Thread Slave Performance Evaluation on OPC (OC3) MySQL Global Business Unit Shinya Sugiyama
  • 2. Copyright © 2016 Oracle and/or its affiliates. All rights reserved. Environment 2 Oracle Cloud MySQL Service Master and Slave Instance: OC3 (1OCPU(2 vCPU), 7.5 GB Mem) MySQL Version: MySQL5.7.16 Monitoring: MySQL Enterprise Monitor (Separate Instance)
  • 3. Copyright © 2016 Oracle and/or its affiliates. All rights reserved. Benchmark Changed parameter: slave_parallel_workers Thread 1, 2, 4, 8, 16,32 Other Parameter is OPC MySQL Service Default (Only Server ID was Changed) 3 +------------------------+-------+ | Variable_name | Value | +------------------------+-------+ | slave_parallel_workers | 8 | +------------------------+-------+ /u01/bin/mysql/bin/mysqlslap --no-defaults --create-schema=SLAP --engine=InnoDB --auto-generate-sql --auto-generate-sql-add-autoincrement --number-int-cols=3 --number-char-cols=5 --concurrency=10 -- auto-generate-sql-write-number=50000 --auto-generate-sql-execute-number=50000 --auto-generate-sql- load-type=mixed -h localhost -u oracle +-----------------------------+-------+ | Variable_name | Value | +-----------------------------+-------+ | slave_preserve_commit_order | ON | +-----------------------------+-------+ +---------------------+---------------+ | Variable_name | Value | +---------------------+---------------+ | slave_parallel_type | LOGICAL_CLOCK | +---------------------+---------------+
  • 4. Copyright © 2016 Oracle and/or its affiliates. All rights reserved. Benchmark1 4 [oracle@study01-mysql-1 ~]$ ./mysqlslap.sh Benchmark Running for engine InnoDB Average number of seconds to run all queries: 185.845 seconds Minimum number of seconds to run all queries: 185.845 seconds Maximum number of seconds to run all queries: 185.845 seconds Number of clients running queries: 10 Average number of queries per client: 50000 Study02: slave_parallel_workers = 1 Study03: slave_parallel_workers = 16 CPU USAGE: Elapsed time is much longer in case of parallel_workers 1 . CPU usage of parallel_workers 16 is less than 1 even total thread number is larger than 1. QUERIES and DELAY parallel_workers 16 is much faster than parallel_workers 1, so Behind_master is resolved soon.
  • 5. Copyright © 2016 Oracle and/or its affiliates. All rights reserved. Benchmark2 5 [oracle@study01-mysql-1 ~]$ ./mysqlslap.sh Benchmark Running for engine InnoDB Average number of seconds to run all queries: 190.973 seconds Minimum number of seconds to run all queries: 190.973 seconds Maximum number of seconds to run all queries: 190.973 seconds Number of clients running queries: 10 Average number of queries per client: 50000 Study02: slave_parallel_workers = 2 Study03: slave_parallel_workers = 16 CPU USAGE: Elapsed time is longer in case of parallel_workers 2 . CPU usage of parallel_workers 16 is less than 2 even total thread number is larger than 2. QUERIES and DELAY parallel_workers 16 is faster than parallel_workers 2, so Behind_master is resolved soon.
  • 6. Copyright © 2016 Oracle and/or its affiliates. All rights reserved. Benchmark3 6 [oracle@study01-mysql-1 ~]$ ./mysqlslap.sh Benchmark Running for engine InnoDB Average number of seconds to run all queries: 186.468 seconds Minimum number of seconds to run all queries: 186.468 seconds Maximum number of seconds to run all queries: 186.468 seconds Number of clients running queries: 10 Average number of queries per client: 50000 Study02: slave_parallel_workers = 4 Study03: slave_parallel_workers = 16 CPU USAGE: Elapsed time is little longer in case of parallel_workers 4 . CPU usage of parallel_workers 16 is less than 4 even total thread number is larger than 4. QUERIES and DELAY parallel_workers 16 is still faster than parallel_workers 4, so Behind_master is resolved little faster than 4.
  • 7. Copyright © 2016 Oracle and/or its affiliates. All rights reserved. Benchmark4 7 [oracle@study01-mysql-1 ~]$ ./mysqlslap.sh Benchmark Running for engine InnoDB Average number of seconds to run all queries: 188.104 seconds Minimum number of seconds to run all queries: 188.104 seconds Maximum number of seconds to run all queries: 188.104 seconds Number of clients running queries: 10 Average number of queries per client: 50000 Study02: slave_parallel_workers = 8 Study03: slave_parallel_workers = 16 CPU USAGE: Elapsed time is almost same beteen parallel_workers 8 and parallel_workers 16. QUERIES and DELAY There is not much difference between parallel_workers 8 and parallel_workers 16, so Behind_master is almost same.
  • 8. Copyright © 2016 Oracle and/or its affiliates. All rights reserved. Trial (トライアル) 8 ■ Oracle MySQL Cloud Service English https://cloud.oracle.com/mysql 日本語サイト https://cloud.oracle.com/ja_JP/mysql ■ MySQL Enterprise Monitor Trial http://edelivery.oracle.com/ https://www-jp.mysql.com/trials/