Enviar pesquisa
Carregar
MySQL 5.6 config 優化
•
2 gostaram
•
746 visualizações
Alexis Li
Seguir
MySQL 5.6 config 優化
Leia menos
Leia mais
Engenharia
Denunciar
Compartilhar
Denunciar
Compartilhar
1 de 17
Recomendados
MySQL Advanced Administrator 2021 - 네오클로바
MySQL Advanced Administrator 2021 - 네오클로바
NeoClova
InnoDB Cluster Experience (MySQL User Camp)
InnoDB Cluster Experience (MySQL User Camp)
Mydbops
MySQL Performance Tuning Variables
MySQL Performance Tuning Variables
FromDual GmbH
What is new in PostgreSQL 14?
What is new in PostgreSQL 14?
Mydbops
MySQL8.0_performance_schema.pptx
MySQL8.0_performance_schema.pptx
NeoClova
Perf Tuning Short
Perf Tuning Short
Ligaya Turmelle
[db tech showcase Tokyo 2014] B15: Scalability with MariaDB and MaxScale by ...
[db tech showcase Tokyo 2014] B15: Scalability with MariaDB and MaxScale by ...
Insight Technology, Inc.
Maxscale_메뉴얼
Maxscale_메뉴얼
NeoClova
Recomendados
MySQL Advanced Administrator 2021 - 네오클로바
MySQL Advanced Administrator 2021 - 네오클로바
NeoClova
InnoDB Cluster Experience (MySQL User Camp)
InnoDB Cluster Experience (MySQL User Camp)
Mydbops
MySQL Performance Tuning Variables
MySQL Performance Tuning Variables
FromDual GmbH
What is new in PostgreSQL 14?
What is new in PostgreSQL 14?
Mydbops
MySQL8.0_performance_schema.pptx
MySQL8.0_performance_schema.pptx
NeoClova
Perf Tuning Short
Perf Tuning Short
Ligaya Turmelle
[db tech showcase Tokyo 2014] B15: Scalability with MariaDB and MaxScale by ...
[db tech showcase Tokyo 2014] B15: Scalability with MariaDB and MaxScale by ...
Insight Technology, Inc.
Maxscale_메뉴얼
Maxscale_메뉴얼
NeoClova
Introduction to MariaDB MaxScale
Introduction to MariaDB MaxScale
I Goo Lee
MariaDB 10.5 binary install (바이너리 설치)
MariaDB 10.5 binary install (바이너리 설치)
NeoClova
Introduction to ClustrixDB
Introduction to ClustrixDB
I Goo Lee
InnoDB Performance Optimisation
InnoDB Performance Optimisation
Mydbops
Percona Xtrabackup - Highly Efficient Backups
Percona Xtrabackup - Highly Efficient Backups
Mydbops
Parallel Replication in MySQL and MariaDB
Parallel Replication in MySQL and MariaDB
Mydbops
Upgrading mysql version 5.5.30 to 5.6.10
Upgrading mysql version 5.5.30 to 5.6.10
Vasudeva Rao
Ansible is Our Wishbone(Automate DBA Tasks With Ansible)
Ansible is Our Wishbone(Automate DBA Tasks With Ansible)
M Malai
MySQL Performance Tuning. Part 1: MySQL Configuration (includes MySQL 5.7)
MySQL Performance Tuning. Part 1: MySQL Configuration (includes MySQL 5.7)
Aurimas Mikalauskas
MySQL DBA
MySQL DBA
lalit choudhary
PostGreSQL Performance Tuning
PostGreSQL Performance Tuning
Maven Logix
Mysql high availability and scalability
Mysql high availability and scalability
yin gong
High Availability With InnoDB Clusters
High Availability With InnoDB Clusters
Mydbops
MySQL 5.7 - What's new and How to upgrade
MySQL 5.7 - What's new and How to upgrade
Abel Flórez
Percona XtraDB Cluster ( Ensure high Availability )
Percona XtraDB Cluster ( Ensure high Availability )
Mydbops
Amazon Aurora로 안전하게 migration 하기
Amazon Aurora로 안전하게 migration 하기
Jesang Yoon
My sql storage engines
My sql storage engines
Vasudeva Rao
MySQL 5.7 milestone
MySQL 5.7 milestone
Louis liu
A26 MariaDB : The New&Implemented MySQL Branch by Colin Charles
A26 MariaDB : The New&Implemented MySQL Branch by Colin Charles
Insight Technology, Inc.
High performance and high availability proxies for MySQL
High performance and high availability proxies for MySQL
Mydbops
MySQL 5.5&5.6 new features summary
MySQL 5.5&5.6 new features summary
Louis liu
MySQL 开发
MySQL 开发
YUCHENG HU
Mais conteúdo relacionado
Mais procurados
Introduction to MariaDB MaxScale
Introduction to MariaDB MaxScale
I Goo Lee
MariaDB 10.5 binary install (바이너리 설치)
MariaDB 10.5 binary install (바이너리 설치)
NeoClova
Introduction to ClustrixDB
Introduction to ClustrixDB
I Goo Lee
InnoDB Performance Optimisation
InnoDB Performance Optimisation
Mydbops
Percona Xtrabackup - Highly Efficient Backups
Percona Xtrabackup - Highly Efficient Backups
Mydbops
Parallel Replication in MySQL and MariaDB
Parallel Replication in MySQL and MariaDB
Mydbops
Upgrading mysql version 5.5.30 to 5.6.10
Upgrading mysql version 5.5.30 to 5.6.10
Vasudeva Rao
Ansible is Our Wishbone(Automate DBA Tasks With Ansible)
Ansible is Our Wishbone(Automate DBA Tasks With Ansible)
M Malai
MySQL Performance Tuning. Part 1: MySQL Configuration (includes MySQL 5.7)
MySQL Performance Tuning. Part 1: MySQL Configuration (includes MySQL 5.7)
Aurimas Mikalauskas
MySQL DBA
MySQL DBA
lalit choudhary
PostGreSQL Performance Tuning
PostGreSQL Performance Tuning
Maven Logix
Mysql high availability and scalability
Mysql high availability and scalability
yin gong
High Availability With InnoDB Clusters
High Availability With InnoDB Clusters
Mydbops
MySQL 5.7 - What's new and How to upgrade
MySQL 5.7 - What's new and How to upgrade
Abel Flórez
Percona XtraDB Cluster ( Ensure high Availability )
Percona XtraDB Cluster ( Ensure high Availability )
Mydbops
Amazon Aurora로 안전하게 migration 하기
Amazon Aurora로 안전하게 migration 하기
Jesang Yoon
My sql storage engines
My sql storage engines
Vasudeva Rao
MySQL 5.7 milestone
MySQL 5.7 milestone
Louis liu
A26 MariaDB : The New&Implemented MySQL Branch by Colin Charles
A26 MariaDB : The New&Implemented MySQL Branch by Colin Charles
Insight Technology, Inc.
High performance and high availability proxies for MySQL
High performance and high availability proxies for MySQL
Mydbops
Mais procurados
(20)
Introduction to MariaDB MaxScale
Introduction to MariaDB MaxScale
MariaDB 10.5 binary install (바이너리 설치)
MariaDB 10.5 binary install (바이너리 설치)
Introduction to ClustrixDB
Introduction to ClustrixDB
InnoDB Performance Optimisation
InnoDB Performance Optimisation
Percona Xtrabackup - Highly Efficient Backups
Percona Xtrabackup - Highly Efficient Backups
Parallel Replication in MySQL and MariaDB
Parallel Replication in MySQL and MariaDB
Upgrading mysql version 5.5.30 to 5.6.10
Upgrading mysql version 5.5.30 to 5.6.10
Ansible is Our Wishbone(Automate DBA Tasks With Ansible)
Ansible is Our Wishbone(Automate DBA Tasks With Ansible)
MySQL Performance Tuning. Part 1: MySQL Configuration (includes MySQL 5.7)
MySQL Performance Tuning. Part 1: MySQL Configuration (includes MySQL 5.7)
MySQL DBA
MySQL DBA
PostGreSQL Performance Tuning
PostGreSQL Performance Tuning
Mysql high availability and scalability
Mysql high availability and scalability
High Availability With InnoDB Clusters
High Availability With InnoDB Clusters
MySQL 5.7 - What's new and How to upgrade
MySQL 5.7 - What's new and How to upgrade
Percona XtraDB Cluster ( Ensure high Availability )
Percona XtraDB Cluster ( Ensure high Availability )
Amazon Aurora로 안전하게 migration 하기
Amazon Aurora로 안전하게 migration 하기
My sql storage engines
My sql storage engines
MySQL 5.7 milestone
MySQL 5.7 milestone
A26 MariaDB : The New&Implemented MySQL Branch by Colin Charles
A26 MariaDB : The New&Implemented MySQL Branch by Colin Charles
High performance and high availability proxies for MySQL
High performance and high availability proxies for MySQL
Destaque
MySQL 5.5&5.6 new features summary
MySQL 5.5&5.6 new features summary
Louis liu
MySQL 开发
MySQL 开发
YUCHENG HU
NoSQL Plus MySQL From MySQL Practitioner\'s Point Of View
NoSQL Plus MySQL From MySQL Practitioner\'s Point Of View
Alex Esterkin
NoSQL and MySQL webinar - best of both worlds
NoSQL and MySQL webinar - best of both worlds
Mat Keep
MySQL的并发线程性能问题
MySQL的并发线程性能问题
Hui Liu
What's New in MySQL 5.6
What's New in MySQL 5.6
Santo Leto
MongoDB at Baidu
MongoDB at Baidu
Mat Keep
Destaque
(7)
MySQL 5.5&5.6 new features summary
MySQL 5.5&5.6 new features summary
MySQL 开发
MySQL 开发
NoSQL Plus MySQL From MySQL Practitioner\'s Point Of View
NoSQL Plus MySQL From MySQL Practitioner\'s Point Of View
NoSQL and MySQL webinar - best of both worlds
NoSQL and MySQL webinar - best of both worlds
MySQL的并发线程性能问题
MySQL的并发线程性能问题
What's New in MySQL 5.6
What's New in MySQL 5.6
MongoDB at Baidu
MongoDB at Baidu
Semelhante a MySQL 5.6 config 優化
MySQL for Large Scale Social Games
MySQL for Large Scale Social Games
Yoshinori Matsunobu
MySQL Galera 集群
MySQL Galera 集群
YUCHENG HU
MySQL Replication Update -- Zendcon 2016
MySQL Replication Update -- Zendcon 2016
Dave Stokes
MySQL Replication Basics -Ohio Linux Fest 2016
MySQL Replication Basics -Ohio Linux Fest 2016
Dave Stokes
MySQL Replication Overview -- PHPTek 2016
MySQL Replication Overview -- PHPTek 2016
Dave Stokes
Mysql replication @ gnugroup
Mysql replication @ gnugroup
Jayant Chutke
MySQL Utilities -- Cool Tools For You: PHP World Nov 16 2016
MySQL Utilities -- Cool Tools For You: PHP World Nov 16 2016
Dave Stokes
Percona Cluster Installation with High Availability
Percona Cluster Installation with High Availability
Ram Gautam
Migration from MySQL to Cassandra for millions of active users
Migration from MySQL to Cassandra for millions of active users
Andrey Panasyuk
MySQL Tokudb engine benchmark
MySQL Tokudb engine benchmark
Louis liu
XPDS14: MirageOS 2.0: branch consistency for Xen Stub Domains - Anil Madhavap...
XPDS14: MirageOS 2.0: branch consistency for Xen Stub Domains - Anil Madhavap...
The Linux Foundation
A Detailed Look At cassandra.yaml (Edward Capriolo, The Last Pickle) | Cassan...
A Detailed Look At cassandra.yaml (Edward Capriolo, The Last Pickle) | Cassan...
DataStax
MySQL replication & cluster
MySQL replication & cluster
elliando dias
MySQL 101 PHPTek 2017
MySQL 101 PHPTek 2017
Dave Stokes
ZFS and MySQL on Linux, the Sweet Spots
ZFS and MySQL on Linux, the Sweet Spots
Jervin Real
Data Guard Deep Dive UKOUG 2012
Data Guard Deep Dive UKOUG 2012
Emre Baransel
Production MongoDB in the Cloud
Production MongoDB in the Cloud
bridgetkromhout
MySQL Replication Evolution -- Confoo Montreal 2017
MySQL Replication Evolution -- Confoo Montreal 2017
Dave Stokes
A kind and gentle introducton to rac
A kind and gentle introducton to rac
Riyaj Shamsudeen
Introduction to Galera Cluster
Introduction to Galera Cluster
Codership Oy - Creators of Galera Cluster
Semelhante a MySQL 5.6 config 優化
(20)
MySQL for Large Scale Social Games
MySQL for Large Scale Social Games
MySQL Galera 集群
MySQL Galera 集群
MySQL Replication Update -- Zendcon 2016
MySQL Replication Update -- Zendcon 2016
MySQL Replication Basics -Ohio Linux Fest 2016
MySQL Replication Basics -Ohio Linux Fest 2016
MySQL Replication Overview -- PHPTek 2016
MySQL Replication Overview -- PHPTek 2016
Mysql replication @ gnugroup
Mysql replication @ gnugroup
MySQL Utilities -- Cool Tools For You: PHP World Nov 16 2016
MySQL Utilities -- Cool Tools For You: PHP World Nov 16 2016
Percona Cluster Installation with High Availability
Percona Cluster Installation with High Availability
Migration from MySQL to Cassandra for millions of active users
Migration from MySQL to Cassandra for millions of active users
MySQL Tokudb engine benchmark
MySQL Tokudb engine benchmark
XPDS14: MirageOS 2.0: branch consistency for Xen Stub Domains - Anil Madhavap...
XPDS14: MirageOS 2.0: branch consistency for Xen Stub Domains - Anil Madhavap...
A Detailed Look At cassandra.yaml (Edward Capriolo, The Last Pickle) | Cassan...
A Detailed Look At cassandra.yaml (Edward Capriolo, The Last Pickle) | Cassan...
MySQL replication & cluster
MySQL replication & cluster
MySQL 101 PHPTek 2017
MySQL 101 PHPTek 2017
ZFS and MySQL on Linux, the Sweet Spots
ZFS and MySQL on Linux, the Sweet Spots
Data Guard Deep Dive UKOUG 2012
Data Guard Deep Dive UKOUG 2012
Production MongoDB in the Cloud
Production MongoDB in the Cloud
MySQL Replication Evolution -- Confoo Montreal 2017
MySQL Replication Evolution -- Confoo Montreal 2017
A kind and gentle introducton to rac
A kind and gentle introducton to rac
Introduction to Galera Cluster
Introduction to Galera Cluster
Último
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086
anil_gaur
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
Neometrix_Engineering_Pvt_Ltd
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
MsecMca
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Kandungan 087776558899
Learn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic Marks
Magic Marks
Bridge Jacking Design Sample Calculation.pptx
Bridge Jacking Design Sample Calculation.pptx
nuruddin69
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
soginsider
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planes
RAJNEESHKUMAR341697
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Call Girls Mumbai
Online electricity billing project report..pdf
Online electricity billing project report..pdf
Kamal Acharya
Employee leave management system project.
Employee leave management system project.
Kamal Acharya
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
BhangaleSonal
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
Morshed Ahmed Rahath
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
Quintin Balsdon
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
JiananWang21
Thermal Engineering Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
DineshKumar4165
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
MayuraD1
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
KOUSTAV SARKAR
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
maisarahman1
Último
(20)
Minimum and Maximum Modes of microprocessor 8086
Minimum and Maximum Modes of microprocessor 8086
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Learn the concepts of Thermodynamics on Magic Marks
Learn the concepts of Thermodynamics on Magic Marks
Bridge Jacking Design Sample Calculation.pptx
Bridge Jacking Design Sample Calculation.pptx
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Hazard Identification (HAZID) vs. Hazard and Operability (HAZOP): A Comparati...
Engineering Drawing focus on projection of planes
Engineering Drawing focus on projection of planes
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Bhubaneswar🌹Call Girls Bhubaneswar ❤Komal 9777949614 💟 Full Trusted CALL GIRL...
Online electricity billing project report..pdf
Online electricity billing project report..pdf
Employee leave management system project.
Employee leave management system project.
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
Thermal Engineering Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
DeepFakes presentation : brief idea of DeepFakes
DeepFakes presentation : brief idea of DeepFakes
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
HAND TOOLS USED AT ELECTRONICS WORK PRESENTED BY KOUSTAV SARKAR
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
A CASE STUDY ON CERAMIC INDUSTRY OF BANGLADESH.pptx
MySQL 5.6 config 優化
1.
MySQL config Tuning Alexis
2.
調整原則 1.一次調整一個 2.Set Global:若該變數是dynamic,則可用它在 runtime修正variables,但restart即會消失,需設 定option file 3.注意variable的關聯性 4.ram
2x不代表所有東西都2倍
3.
innodb_buffer_pool_size 1.cache both data
and index 2.512M:for normal 3.4G:for 寫入多 4.5.6 above 5.redo log
4.
max_connections 1.>1000 is not
OK(有人設2000) 2.thread pool 3.connection pool
5.
innodb_file_per_table 1.bad performance 2.>10k table
is not good 3.reclaim space as dropping, truncating or rebuilding
6.
innodb_flush_log_at_trx_commit =1 1.safety 2.flush時會有多的fsyncs 3.完全ACID
7.
innodb_flush_log_at_trx_commit =2 1.每秒 flush committed
transactions 到 redo log 2.適合replica 3.loss data as OS crash =0 1.crash時會丟失
8.
innodb_flush_method 1.通常O_DIRECT 2.sysbench來判斷
9.
innodb_log_buffer_size -flushed every 1
sec -default is ok for medium write & shorter transactions -more for activity spikes or lots of blobs work
10.
innodb_log_buffer_size -not committed yet -1MB -innodb_log_waits -larger
will save disk I/O
11.
innodb_log_file_size larger: -better performance -longer recovery
time -less checkpoint flush activity
12.
innodb_log_file_size BUG #69477 5.6.20 5.6.22 10
times larger than the largest BLOB + length of other variable length fields redo log BLOB’s max is 10% of redo log size
13.
Query_cache_size 1.well-known bottleneck 2.better to
be zero 3.good indexing, replicas, external cache 4.not good for real practice 5.Today’s machine is much faster than before
14.
log_bin 1.for replication master 2.also
got to set server_id 3.to save disk space: a.expire_logs_days b.purge binary logs
15.
skip_name_resolve 1.enable it to
prevent the slow DNS let you slow 2.GRANT got to use IP address 3.skip_name_resolve
16.
PS 1.table_cache 2.thread_cache:dont create thread
for normal operation
17.
PS http://dev.mysql.com/doc/refman/5. 6/en/server-system-variables. html#sysvar_table_definition_cache