Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
SlideShare a Scribd company logo
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
MySQL Troubleshooting &
Performance Best Practice
Ivan Ma
ivan-cs.ma@oracle.com
2019-06-15
Copyright © 2017, Oracle and/or its affiliates. All rights reserved.
20190615 hkos-mysql-troubleshootingandperformancev2
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
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.
3
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
The 8 essential steps to secure your MySQL
Starting with general, connectivity,
monitoring, enterprise level security!
By Ryusuke Kajiyama
Oracle / Japan
Troubleshooting & Performance Tuning Best
Practices
By Ivan Ma
Hong Kong
Lesson Learned from a large scale MySQL
Cluster implementing project
By Ivan Tu
Taiwan
Plug It In! MySQL Authentication with
Windows via PAM
By Patrick Jolliffe
Li & Fung Trading Ltd.
Run Programs Faster Anywhere: GraalVM
By Amitpal Singh
Oracle Labs
MySQL Track - Sessions
MorningBreak

Recommended for you

FOSDEM MySQL & Friends Devroom, February 2018 MySQL Point-in-Time Recovery l...
FOSDEM MySQL & Friends Devroom, February 2018  MySQL Point-in-Time Recovery l...FOSDEM MySQL & Friends Devroom, February 2018  MySQL Point-in-Time Recovery l...
FOSDEM MySQL & Friends Devroom, February 2018 MySQL Point-in-Time Recovery l...

The document describes how to perform point-in-time recovery (PITR) with MySQL to restore data to a past state. It requires binary logs to be enabled and backups kept along with binlogs. The procedure involves restoring the last backup, finding the binlog position, and replaying binlog events from that position up to the desired point in time. An example demonstrates restoring data after an accidental update, identifying the binlog position to recover to using SHOW BINLOG EVENTS.

mysqlpitrpoint-in-time recover
MySQL 8.0 & Unicode: Why, what & how
MySQL 8.0 & Unicode: Why, what & howMySQL 8.0 & Unicode: Why, what & how
MySQL 8.0 & Unicode: Why, what & how

MySQL 8.0 adds a lot of new Unicode collations. Why use unicode, what are collations and how to migrate to utf8mb4.

mysqlprefosdemmysqlday
MySQL InnoDB Cluster and Group Replication in a Nutshell
MySQL InnoDB Cluster and Group Replication in a NutshellMySQL InnoDB Cluster and Group Replication in a Nutshell
MySQL InnoDB Cluster and Group Replication in a Nutshell

This document outlines the agenda and steps for a hands-on tutorial on MySQL InnoDB Cluster and Group Replication. The agenda includes preparing the workstation by setting up virtual machines, an overview of MySQL InnoDB Cluster and Group Replication, migrating from a master-slave topology to Group Replication, monitoring Group Replication, and application interaction with Group Replication. The first lab demonstrates the current master-slave setup. The migration plan involves installing MySQL InnoDB Cluster on a new server, restoring a backup, setting up asynchronous replication on the new server, adding it to the Group Replication group, pointing the application to a new node, and stopping asynchronous replication after catch up.

mysqlmysql innodb clustergroup replication
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
The 8 essential steps to secure your MySQL
Starting with general, connectivity,
monitoring, enterprise level security!
By Ryusuke Kajiyama
Oracle / Japan
Troubleshooting & Performance Tuning Best
Practices
By Ivan Ma
Hong Kong
Lesson Learned from a large scale MySQL
Cluster implementing project
By Ivan Tu
Taiwan
Plug It In! MySQL Authentication with
Windows via PAM
By Patrick Jolliffe
Li & Fung Trading Ltd.
Run Programs Faster Anywhere: GraalVM
By Amitpal Singh
Oracle Labs
MySQL Track - Sessions
MorningBreak
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Troubleshooting
• When there is no issue
– LOG file?
– Monitoring (CPU, Memory, Filesystem, Network, Locks)
• When there is the issue
– Recover FIRST?
– Do you have second option?
• Redundancy
– We do not want to see this issue happening again
• ROOT CAUSE ANALYSIS
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Tools
• Logs
• Variables :
– log_error
– slow_query_log_file
– general_log_file
• Application Error / Exception
• Process Level Error and Trace
• Diagnosis
– Performance and SYS Schema
• OS Tools
– lsof, iostat, mpstat, perf, vmstat, pstack, strace, etc…
• http://dimitrik.free.fr/
• Enterprise Tools – MySQL Enterprise Monitor
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Performance and SYS Schema
• http://mysqlhk.blogspot.com/2016/04/running-sys-schema-diagnostics-to-
get.html

Recommended for you

Introduction to MySQL InnoDB Cluster
Introduction to MySQL InnoDB ClusterIntroduction to MySQL InnoDB Cluster
Introduction to MySQL InnoDB Cluster

This document provides an introduction to MySQL InnoDB Cluster, which is MySQL's solution for high availability and scaling. It discusses how Group Replication, the heart of MySQL InnoDB Cluster, allows data to be written simultaneously across cluster nodes while maintaining consistency through techniques like conflict detection and resolution. The document also explains how Group Replication provides automatic recovery from failures and makes high availability easy for users to setup and manage.

mysqlhainnodb cluster
pre-FOSDEM MySQL day, February 2018 - MySQL Document Store
pre-FOSDEM MySQL day, February 2018 - MySQL Document Storepre-FOSDEM MySQL day, February 2018 - MySQL Document Store
pre-FOSDEM MySQL day, February 2018 - MySQL Document Store

The document discusses using MySQL as a document store by leveraging its support for JSON data and the X Plugin & X Protocol. It outlines the requirements for doing so, including supporting JSON data types, CRUD operations, an extended protocol, and the MySQL Shell. Examples are provided of migrating data from MongoDB to MySQL and performing queries and CRUD operations on the JSON documents.

mysqldocument storejson
Introduction to MySQL InnoDB Cluster
Introduction to MySQL InnoDB ClusterIntroduction to MySQL InnoDB Cluster
Introduction to MySQL InnoDB Cluster

The document discusses MySQL InnoDB Cluster, which provides high availability and scaling features for MySQL. It uses Group Replication under the hood, which allows data to be written simultaneously across cluster nodes while maintaining consistency. By default, MySQL InnoDB Cluster runs in Single Primary Mode, where one node acts as the primary/writable node and others act as hot standbys through an automated leader election process.

mysqlinnodb clusterha
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Environment
Global Variables
diagnostics.allow_i_s_tables, @sys.diagnostics.allow_i_s_tables
diagnostics.include_raw, @sys.diagnostics.include_raw
statement_truncate_len, @sys.statement_truncate_len
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Show InnoDB Engine Status
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Replication Info
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
SYS performance data
• InnoDB Transaction
• SELECT * from sys.processlist
• SELECT * FROM sys.latest_file_io
• SELECT * FROM sys.memory_by_host_by_current_bytes
• SELECT * FROM sys.memory_by_user_by_current_bytes

Recommended for you

MySQL Community Meetup in China : Innovation driven by the Community
MySQL Community Meetup in China : Innovation driven by the CommunityMySQL Community Meetup in China : Innovation driven by the Community
MySQL Community Meetup in China : Innovation driven by the Community

The document discusses innovations and new features in MySQL from versions 5.7 to 8.0. Key points include: - MySQL 5.7 introduced performance improvements, security enhancements, and JSON support. MySQL InnoDB Cluster provided out-of-the-box high availability. - MySQL 8.0 focuses on boosting developer productivity with features like common table expressions, window functions, and improved handling of hot rows. It also makes scaling easier through improved observability and parallel replication. - The vision is to deliver a fully-integrated solution with relational and document storage, built-in high availability, and scale-out capabilities through sharding and replication. This will be achieved in steps, with Group Re

mysqlshenzeninnovation
Introduction to MySQL InnoDB Cluster
Introduction to MySQL InnoDB ClusterIntroduction to MySQL InnoDB Cluster
Introduction to MySQL InnoDB Cluster

Introduction to MySQL InnoDB Cluster, the native MySQL HA solution. This session was delivered at Percona Live Europe 2017 in Dublin

mysql innodb clustermysqlha
20161029 py con-mysq-lv3
20161029 py con-mysq-lv320161029 py con-mysq-lv3
20161029 py con-mysq-lv3

The document provides an overview of using Python to connect to and query a MySQL database configured for high availability. It discusses MySQL replication, group replication, and connectors that enable multi-host connections. It also demonstrates connecting to MySQL from Python, executing queries, handling errors, and implementing a simple web application using Flask that connects to MySQL to call a stored procedure.

mysql "group replication" replication
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Schema Information
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
• Queries with Runtime in 95th Percentile
• Overall host_summary_by_file_io_type
• Overall host_summary_by_statement_type
• Overall host_summary_by_statement_type
• Overall io_by_thread_by_latency
• Overall io_global_by_file_by_bytes
• Overall io_global_by_file_by_latency
• Overall io_global_by_wait_by_bytes
• Overall schema_index_statistics
•
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Overall schema_table_statistics
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |

Recommended for you

Staying Ahead of the Curve with Spring and Cassandra 4 (SpringOne 2020)
Staying Ahead of the Curve with Spring and Cassandra 4 (SpringOne 2020)Staying Ahead of the Curve with Spring and Cassandra 4 (SpringOne 2020)
Staying Ahead of the Curve with Spring and Cassandra 4 (SpringOne 2020)

Spring and Cassandra are two of the leading technologies for building cloud native applications. In this talk by the project leads for Spring Data and the Cassandra Java Driver, we’ll cover the recent improvements in the latest and greatest versions of Spring Boot, Spring Data Cassandra, Cassandra 4.0 and the Cassandra Java driver. Whether you’re a novice, intermediate, or expert developer, this content will help you get started or migrate your existing application to the latest innovations. We’ll illustrate these new concepts with code samples and snippets that you can find on GitHub to help you get things done faster with these tools.

apachecassandraspringspringframework
Upcoming changes in MySQL 5.7
Upcoming changes in MySQL 5.7Upcoming changes in MySQL 5.7
Upcoming changes in MySQL 5.7

The document discusses upcoming changes and new features in MySQL 5.7. Key points include: - MySQL 5.7 development has focused on performance, scalability, security and refactoring code. - New features include online DDL support for additional DDL statements, InnoDB support for spatial data types, and cost information added to EXPLAIN output. - Benchmarks show MySQL 5.7 providing significantly higher performance than previous versions, with a peak of 645,000 queries/second on some workloads.

mysql
MySQL InnoDB Cluster and Group Replication in a nutshell hands-on tutorial
MySQL InnoDB Cluster and Group Replication in a nutshell  hands-on tutorialMySQL InnoDB Cluster and Group Replication in a nutshell  hands-on tutorial
MySQL InnoDB Cluster and Group Replication in a nutshell hands-on tutorial

Percona Live Hands-on Tutorial on MySQL InnoDB Cluster : How to migrate from master-slave setup to better HA with MySQL InnoDB Cluster

mysqlmysql innodb clustermysql group replication
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Delta Status
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
SELECT * FROM sys.metrics (DELTA)
• | Variable_name
• | Output 1
• | Output 2
• | Output 3
• | Output 4
• | Delta (1 -> 2)
• | Delta (2 -> 3)
• | Delta (3 -> 4)
• | Type
• | Enabled|
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |

Recommended for you

Elastic Scalability in MySQL Fabric Using OpenStack
Elastic Scalability in MySQL Fabric Using OpenStackElastic Scalability in MySQL Fabric Using OpenStack
Elastic Scalability in MySQL Fabric Using OpenStack

Elastic scalability, the ability to quickly adapt to changing demands for resources, is critical to running modern applications. Both over- and underallocation of resources have an impact on a business’s bottom line. OpenStack is a cloud operating system that achieves elastic scalability by managing the allocation of compute, storage, and network resources. MySQL Fabric is a new member of the community enabling large database systems to be managed easily, providing support for handling high availability and sharding. In this session, you will learn how to leverage OpenStack and MySQL Fabric to build a system in which resources can be added on demand, providing elastic scalability, sharding, and high availability as a single system.

mysqlmysql fabricmysql central
MySQL 8.0.1 DMR
MySQL 8.0.1 DMRMySQL 8.0.1 DMR
MySQL 8.0.1 DMR

The document discusses several new features and improvements in MySQL 8.0, including a transactional data dictionary, persisted server configuration, MySQL roles for access control, common table expressions and window functions for developers, and continued enhancements for JSON, UUID, security, replication, and GIS. It also outlines the goals for MySQL InnoDB Cluster to provide an integrated high availability and scaling solution.

mysql
Mysql User Camp : 20-June-14 : Mysql Fabric
Mysql User Camp : 20-June-14 : Mysql FabricMysql User Camp : 20-June-14 : Mysql Fabric
Mysql User Camp : 20-June-14 : Mysql Fabric

This document provides an overview and agenda for a presentation on database sharding. It discusses how sharding can help with scaling databases to handle increasing load. It describes the key components of a sharded database solution like shards, switches, and state stores. It also covers important aspects of implementing sharding like transaction handling, mapping sharding keys, and handling queries across sharded tables.

mysql
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Infinitive Loop of DB Tuning …

Recommended for you

Simple Way for MySQL to NoSQL
Simple Way for MySQL to NoSQLSimple Way for MySQL to NoSQL
Simple Way for MySQL to NoSQL

The document discusses migrating data from MySQL to Cassandra. It provides an overview of MySQL and its capabilities as a relational database. It then discusses big data and NoSQL databases like Cassandra that are suited for large, distributed datasets. The document outlines the steps to use Sqoop to import data from MySQL tables into Cassandra tables, maintaining the row keys. It provides references for further information on MySQL, Cassandra, and migrating between the two databases.

oraclenosqlmysql
MySQL 5.7 GIS
MySQL 5.7 GISMySQL 5.7 GIS
MySQL 5.7 GIS

This document provides an overview of MySQL 5.7's new and improved GIS capabilities. It begins with introductions to geographic information systems and common GIS concepts. It then outlines the key new features in MySQL 5.7, such as its integration of Boost.Geometry for geometry representations and comparisons. The document also provides examples of how GIS data can be imported and analyzed using MySQL, and concludes with suggestions for further enhancements to MySQL's GIS functionality.

spatialmysql5.7geospatial
MySQL in Oracle environment : Quick start guide for Oracle DBA (Part 1)
MySQL in Oracle environment : Quick start guide for Oracle DBA (Part 1)MySQL in Oracle environment : Quick start guide for Oracle DBA (Part 1)
MySQL in Oracle environment : Quick start guide for Oracle DBA (Part 1)

You are an IT manager or Oracle DBA, comfortable and successful with your knowledge of how to keep an Oracle database up and running. One day, you find out you’ll now be supporting a popular MySQL database application. No one in your team has MySQL expertise and you have no budget to hire. This slides covers the different use cases for MySQL and Oracle Database, as well as the tools to manage both databases. Additionally, the presentation spotlights top MySQL solutions for high availability, disaster recovery, and high-level security to protect your databases and business. You’ll also see the advantages of managing a MySQL database side by side with an Oracle database in the Oracle Public Cloud with the push-button ease of the MySQL Cloud Service.

mysqloracleoracle mysql
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Infinitive Loop of DB Tuning …
Even if 95%
problem is here!
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
“Generic” Test Workloads @MySQL
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Performance and Troubleshooting
• http://dimitrik.free.fr/blog/
– http://dimitrik.free.fr/Presentations/MySQL_Perf-Tuning-PLive_US-
Apr.2016-dim.pdf
• dim_STAT
– http://dimitrik.free.fr/
•
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Data Collection : Download & Installation
• http://dimitrik.free.fr/
• 0) be sure you have right "perf" tool installed on your system
• 1) download the STAT-service tarball from my site :
http://dimitrik.free.fr/STATsrv-v5-Linux-x64-mysql.tgz
2) deploy it somewhere on the server (ex: /opt/stats)
("/opt/stats" is used as example here and then)..
• # cd /opt/stats
• # tar xzf /path/to/STATsrv-v5-Linux-x64-mysql.tgz
3) # cd /opt/stats/STATsrv/bin
(better to be "root" user to allow "perf" and "Proc" stats to be collected
4) # vi .env-mysql
(edit the file and provide the connection params to your MySQL instance)
NOTE : be sure you have at least the following enabled in your my.conf :
• - innodb_monitor_enable='%'
• - performance_schema = ON (By default – it is ON)

Recommended for you

6 Tips to MySQL Performance Tuning
6 Tips to MySQL Performance Tuning6 Tips to MySQL Performance Tuning
6 Tips to MySQL Performance Tuning

This is an in-depth introduction to MySQL Performance Tuning. We will review best practices, the most important configuration options, discuss the initial MySQL configuration file, monitoring, and more! Learn how to find the queries most in need of optimization using performance reports in MySQL Workbench, MySQL Enterprise Monitor, or through the sys schema.

mysqlperformance tuningperformance report
MySQL in oracle_environments(Part 2): MySQL Enterprise Monitor & Oracle Enter...
MySQL in oracle_environments(Part 2): MySQL Enterprise Monitor & Oracle Enter...MySQL in oracle_environments(Part 2): MySQL Enterprise Monitor & Oracle Enter...
MySQL in oracle_environments(Part 2): MySQL Enterprise Monitor & Oracle Enter...

This document discusses how Oracle Enterprise Manager can be used to manage MySQL databases. It provides an overview of how MySQL Enterprise Monitor and Oracle Enterprise Manager integrate to provide monitoring of MySQL performance metrics, configuration monitoring, replication monitoring, query analysis, security management, and other capabilities from a single dashboard. It also discusses how to install and set up both MySQL Enterprise Monitor and the Oracle Enterprise Manager MySQL plugin.

mysqlmysql enterprise monitororacle enterprise monitor
Streaming solutions for real time problems
Streaming solutions for real time problems Streaming solutions for real time problems
Streaming solutions for real time problems

A presentation of a Kafka, Spark, Redis based streaming Solution shown in Oracle Code 2017 Bangalore event

Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
• 5) # ./mysqlLOAD.sh 5
(just to check your connection is working, so the stats will be saved ;-))
• # ./innodbSTAT.sh 5
• (be sure the output is not empty here either)
• # ./innodbMUTEX.sh 5
• (be sure the output is not empty here too)
• 6) # mkdir /opt/stats/data
(create an output directory for stats collection)
•
7) # nohup ./EasySTAT.sh /opt/stats/data 10 8 &
(collect the data into "/opt/stats/data" with "10" sec frequency during "8" hours)
(if you need more or less hours, then just change "8" to what you need)
8) once finished:
# cd /opt/stats
# tar czf ./data-stats.tgz data
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
cd /o
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
• output data to /opt/mysql/dimitri/data
– 10 seconds
– for 1 hour
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
What about the Graphing….
• Download –
• http://dimitrik.free.fr/

Recommended for you

Python and the MySQL Document Store
Python and the MySQL Document StorePython and the MySQL Document Store
Python and the MySQL Document Store

This document provides an overview and agenda for a presentation on Python and the MySQL Document Store. The presentation introduces JSON and how MySQL works with JSON documents, the MySQL Document Store and X DevAPI, and provides code examples for interacting with document collections using Connector/Python, including creating a collection, adding, finding, modifying, and removing documents.

mysqlnosqlpython
Full Speed Ahead! (Ahead-of-Time Compilation for Java SE) [JavaOne 2017 CON3738]
Full Speed Ahead! (Ahead-of-Time Compilation for Java SE) [JavaOne 2017 CON3738]Full Speed Ahead! (Ahead-of-Time Compilation for Java SE) [JavaOne 2017 CON3738]
Full Speed Ahead! (Ahead-of-Time Compilation for Java SE) [JavaOne 2017 CON3738]

presentation video: https://www.youtube.com/watch?v=mhravU1HL4k One of the lesser-known features coming with JDK 9 is experimental support for ahead-of-time (AOT) compilation. Compiling Java bytecode into ready-to-execute machine code before runtime means that many applications may benefit from quicker startup and, in the case of multiple JVM instances, even lower memory consumption. In this demo-heavy session, you will see what advantages AOT has to offer and, perhaps even more importantly, what its limitations are. You will also get the opportunity to see Java’s new AOT compilation in action and leave with the knowledge needed to experiment on your own later. Although Java’s AOT is not yet ready for production use, this is a great chance to get a sneak peek at one of HotSpot’s most exciting new technologies.

javaopen sourcejavaone
Robust easy affordable disaster recovery for MySQL Data
Robust easy affordable disaster recovery for MySQL DataRobust easy affordable disaster recovery for MySQL Data
Robust easy affordable disaster recovery for MySQL Data

Priscila Galvao, a MySQL Solutions Engineer, presented on disaster recovery options for MySQL data. The presentation discussed how backup is the first step but not sufficient on its own for protection against disasters. It introduced disaster recovery plans and options like cloud backup and disaster recovery to Oracle Cloud's MySQL service in active-standby or active-active configurations. Benefits highlighted included conserving resources, faster response times, flexibility, security, and support.

data receoverydisaster recoverymysql
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |

Recommended for you

GraphPipe - Blazingly Fast Machine Learning Inference by Vish Abrams
GraphPipe - Blazingly Fast Machine Learning Inference by Vish AbramsGraphPipe - Blazingly Fast Machine Learning Inference by Vish Abrams
GraphPipe - Blazingly Fast Machine Learning Inference by Vish Abrams

GraphPipe is an open source protocol and collection of software designed to simplify machine learning model deployment and decouple it from framework-specific model implementations.

oraclemachine learninggraphpipe
LAD -GroundBreakers-Jul 2019 - Introduction to Machine Learning - From DBA's ...
LAD -GroundBreakers-Jul 2019 - Introduction to Machine Learning - From DBA's ...LAD -GroundBreakers-Jul 2019 - Introduction to Machine Learning - From DBA's ...
LAD -GroundBreakers-Jul 2019 - Introduction to Machine Learning - From DBA's ...

Come to this session and experience a deep-dive into what you really need to know to may your DBA career thrive in an autonomous-driven world. Create cloud-scale automation; assess, score, and remediate IT and business compliance violations , get real-time insights into log data to find anomalies and ensure early detection of potential problems; and enable rapid detection, investigation, and remediation of the range of security threats across databases Features around the self-driving, self-securing, and self-repairing capabilities available across data management, application development, analytics, security and management. how DBAs can easily configure log collection and efficiently analyze logs from their database environment to rapidly troubleshoot problems. See how to use simple analysis to easily find errors across different log sources. Experience the power of machine learning techniques to rapidly identify anomalies that can lead to a problem’s root cause and eliminate finger-pointing. To use machine learning techniques to identify performance issues , steady windows for maintenance activities.

machine learningoracle aiops tfa machine learning anomaly timelineoracle machine learning autonomous cloud
LAD -GroundBreakers-Jul 2019 - The Machine Learning behind the Autonomous Dat...
LAD -GroundBreakers-Jul 2019 - The Machine Learning behind the Autonomous Dat...LAD -GroundBreakers-Jul 2019 - The Machine Learning behind the Autonomous Dat...
LAD -GroundBreakers-Jul 2019 - The Machine Learning behind the Autonomous Dat...

We are entering a new era in the database with the introduction of the Oracle Autonomous Database. AI and Machine Learning are center stage to most projects and assist in making complex decisions which was not possible before. Most data science projects don’t get beyond the data scientist and rarely operationalize their predictive models. there are new toolsets and methods available everyday which make this an extremely dynamic space. There are different categories of users who want to use the algorithms , the toolsets but don't know where to start. Whether you are a data scientist who wants to play with data and build your own models or make use of the database features with the built in models or use the specific AI services within a specific vertical such as Insurance or Healthcare . We will take a glimpse at Oracle's Machine Learning Zeppelin-based notebooks for Oracle Autonomous Data Warehouse Cloud to how Oracle uses AIOps and Applied Machine learning for its own operations and the Oracle AI Platform Cloud Service to provided an all rounded view of what Oracle is upto in this space

machine learningoracle aiops tfa machine learning anomaly timelineoracle machine learning autonomous cloud
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Start very first time
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Browser Interface – Home Page
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Charts
• Many MySQL Benchmarks charts
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Trying….

Recommended for you

AIOUG -GroundBreakers-Jul 2019 - Introduction to Machine Learning - From DBA'...
AIOUG -GroundBreakers-Jul 2019 - Introduction to Machine Learning - From DBA'...AIOUG -GroundBreakers-Jul 2019 - Introduction to Machine Learning - From DBA'...
AIOUG -GroundBreakers-Jul 2019 - Introduction to Machine Learning - From DBA'...

The document discusses machine learning and provides an introduction to key concepts. It describes common machine learning algorithms like classification, clustering, and regression. It also discusses neural networks and how they are modeled after the brain. The document outlines tools that can be used for machine learning projects and highlights features of Oracle's machine learning and autonomous data warehouse products.

aiopsai/mldata meets ai
Everything You Need to Know About MySQL Group Replication
Everything You Need to Know About MySQL Group ReplicationEverything You Need to Know About MySQL Group Replication
Everything You Need to Know About MySQL Group Replication

MySQL Group Replication is a new plugin that implements an exciting extension to the proven and long standing MySQL Replication technology. It leverages advanced distributed protocols to ultimately provide to the end user features such as data replication, high availability, split brain protection and automation. It can be deployed in single-primary mode (default), in which primary fail-over is handled gracefully and automatically, or in multi-master mode, in which row level conflicts are detected and handled automatically as well. Regardless of the deployment mode, the end result is that this new addition provides a consistent and dependable replicated state machine, thus effectively enabling a fault-tolerant MySQL database service. At the end of the presentation, you will be able to understand how it works, the use cases it address, its limitations and also its roadmap ahead. Moreover, you will get to know how it fits in the overall high availability roadmap at MySQL.

mysql group replicationmulti-mastermulti-master update everywhere
What's new in MySQL 5.7, Oracle Virtual Technology Summit, 2016
What's new in MySQL 5.7, Oracle Virtual Technology Summit, 2016What's new in MySQL 5.7, Oracle Virtual Technology Summit, 2016
What's new in MySQL 5.7, Oracle Virtual Technology Summit, 2016

The document discusses performance improvements in MySQL 5.7 compared to previous versions. Key points include: - MySQL 5.7 is up to 3 times faster than MySQL 5.6 and 6 times faster than 5.5 according to benchmarks. Faster performance is achieved through improvements to the InnoDB storage engine, new optimizer cost model, and other enhancements. - New features in 5.7 like parallel replication, native JSON support, and InnoDB spatial indexing improve performance for specific use cases like replication, JSON querying, and GIS searching. - The MySQL Router was introduced as a way to route connections and transactions for increased performance, high availability, and scalability.

open sourcemysqldatabase
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Analyze!!!
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Choose Multi-Host Extended Analyzer

Recommended for you

Rootconf admin101
Rootconf admin101Rootconf admin101
Rootconf admin101

This document discusses various topics related to MySQL administration including access control, diagnostic data, log files, and backups. It provides examples of how to configure user accounts and privileges using commands like CREATE USER, ALTER USER, GRANT, and REVOKE. It also explains how to view diagnostic information using SHOW commands, the INFORMATION_SCHEMA, and the SYS schema. Finally, it covers MySQL's different log files and various options for logical and physical backups.

rootconf2017
MySQL 5.7: What's New, Nov. 2015
MySQL 5.7: What's New, Nov. 2015MySQL 5.7: What's New, Nov. 2015
MySQL 5.7: What's New, Nov. 2015

MySQL 5.7 is GA! Here is the news about many of the new features that we can use in MySQL's latest version.

mysqloraclenews
Streaming Solutions for Real time problems
Streaming Solutions for Real time problemsStreaming Solutions for Real time problems
Streaming Solutions for Real time problems

The document is a presentation on streaming solutions for real-time problems using Apache Kafka, Kafka Streams, and Redis. It begins with an introduction and overview of the technologies. It then presents a sample monitoring application using metrics from multiple machines as a use case. The presentation demonstrates how to implement this application using Kafka as the event store, Kafka Streams for processing, and Redis as the state store. It also shows how to deploy the application components on Oracle Cloud.

kafkakafka streamsoracle cloud
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Choose the Server!!!
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Check ALL  Go
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
You see the Graphs…
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Upload Data from Agent (Tar)
• Create Database

Recommended for you

MySQL Manchester TT - Performance Tuning
MySQL Manchester TT  - Performance TuningMySQL Manchester TT  - Performance Tuning
MySQL Manchester TT - Performance Tuning

This document provides an overview of MySQL server performance tuning. It discusses laying the foundation for performance tuning by examining the server, OS, network and filesystem. It also covers examining current server settings and status variables, and tuning various aspects of MySQL like InnoDB, MyISAM, queries and session settings. The document aims to provide guidance on areas to optimize to improve MySQL server performance.

mysql
MySQL for Oracle DBAs
MySQL for Oracle DBAsMySQL for Oracle DBAs
MySQL for Oracle DBAs

Introduction to, and highlights about, MySQL, from the perspective of an Oracle DBA. Contains many pointers and references for further study.

databasemysqldba
Mysql NDB Cluster's Asynchronous Parallel Design for High Performance
Mysql NDB Cluster's Asynchronous Parallel Design for High PerformanceMysql NDB Cluster's Asynchronous Parallel Design for High Performance
Mysql NDB Cluster's Asynchronous Parallel Design for High Performance

MySQL's NDB Cluster is a partitioned distributed database engine that is entirely build around a parallel virtual machine with an event driven asynchronous design. Using this design NDB can execute even single queries in parallel and scales linearly handling terabytes of sharded data in a real-time fashion.

mysql clusterdatabaseparallel
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Create Database
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Unzip all gz files….
• gunzip *.gz

Recommended for you

MySQL 5.7 InnoDB Cluster (Jan 2018)
MySQL 5.7 InnoDB Cluster (Jan 2018)MySQL 5.7 InnoDB Cluster (Jan 2018)
MySQL 5.7 InnoDB Cluster (Jan 2018)

MySQL InnoDB cluster provides a complete high availability solution for MySQL. MySQL Shell includes AdminAPI which enables you to easily configure and administer a group of at least three MySQL server instances to function as an InnoDB cluster. Each MySQL server instance runs MySQL Group Replication, which provides the mechanism to replicate data within InnoDB clusters, with built-in failover. MySQL Router can automatically configure itself based on the cluster you deploy, connecting client applications transparently to the server instances.

mysqlmysql innodb clusterinnodb
Exploring MySQL Operator for Kubernetes in Python
Exploring MySQL Operator for Kubernetes in PythonExploring MySQL Operator for Kubernetes in Python
Exploring MySQL Operator for Kubernetes in Python

The document discusses the MySQL Operator for Kubernetes, which allows users to run MySQL clusters on Kubernetes. It provides an overview of how the operator works using the Kopf framework to create Kubernetes custom resources and controllers. It describes how the operator creates deployments, services, and other resources to set up MySQL servers in a stateful set, a replica set for routers, and monitoring. The document also provides instructions for installing the MySQL Operator using Kubernetes manifests or Helm.

mysqlmysql innodb clusterkopf
20201106 hk-py con-mysql-shell
20201106 hk-py con-mysql-shell20201106 hk-py con-mysql-shell
20201106 hk-py con-mysql-shell

Using MySQL Shell toolbox with Python Shell API, XDevAPI, Admin API, Utilitiy Supporting JS, SQL and Python

mysqlmysqlshmysql shell
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Check the load file… (And edit the database name)
(LoadData.sh)
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Enjoy!!!
• SYS / Performance Schema
– diagnostics(…)
• Thanks Dimitri for this great tools.
– Data Collector
– Graphs
• MySQL Enterprise Edition – MySQL Enterprise Monitor
– and more…
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 55
20190615 hkos-mysql-troubleshootingandperformancev2

Recommended for you

20200613 my sql-ha-deployment
20200613 my sql-ha-deployment20200613 my sql-ha-deployment
20200613 my sql-ha-deployment

The document discusses MySQL high availability options including: 1) Asynchronous and semi-synchronous replication for high availability deployments. 2) MySQL InnoDB Cluster which uses Group Replication, MySQL Router, and MySQL Shell to provide an integrated high availability solution. 3) Examples of deploying MySQL InnoDB Cluster in single and multi-data center configurations for high availability and disaster recovery.

mysqlinnodb clustermysql ha
20191001 bkk-secret-of inno-db_clusterv1
20191001 bkk-secret-of inno-db_clusterv120191001 bkk-secret-of inno-db_clusterv1
20191001 bkk-secret-of inno-db_clusterv1

This document discusses deploying MySQL InnoDB Cluster for high availability. It provides an overview of MySQL InnoDB Cluster and compares it to other MySQL and Oracle high availability solutions. It then covers topics like MySQL InnoDB Cluster architecture, example deployments, configuration settings for replication, failover consistency, network reliability and adding replicas. Finally, it discusses MySQL Router configuration and using MySQL Shell and MySQL Enterprise Backup for management and recovery.

mysql innodb clustermysql
20171104 hk-py con-mysql-documentstore_v1
20171104 hk-py con-mysql-documentstore_v120171104 hk-py con-mysql-documentstore_v1
20171104 hk-py con-mysql-documentstore_v1

The document discusses the MySQL Document Store, which allows storing and querying JSON documents in MySQL databases. It introduces the components of the MySQL Document Store, including the MySQL server, JSON data type, X Plugin, X Protocol, X DevAPI, MySQL Shell and connectors. The X DevAPI provides a modern CRUD interface for working with document collections and documents. Documents can be accessed and queried using both the NoSQL-style X DevAPI and traditional SQL.

mysql shellreplicationdocument store

More Related Content

What's hot

MySQL Document Store - How to replace a NoSQL database by MySQL without effor...
MySQL Document Store - How to replace a NoSQL database by MySQL without effor...MySQL Document Store - How to replace a NoSQL database by MySQL without effor...
MySQL Document Store - How to replace a NoSQL database by MySQL without effor...
Frederic Descamps
 
MySQL Document Store - when SQL & NoSQL live together... in peace!
MySQL Document Store - when SQL & NoSQL live together... in peace!MySQL Document Store - when SQL & NoSQL live together... in peace!
MySQL Document Store - when SQL & NoSQL live together... in peace!
Frederic Descamps
 
MySQL InnoDB Cluster in a Nutshell - Hands-on Lab
MySQL InnoDB Cluster in a Nutshell - Hands-on LabMySQL InnoDB Cluster in a Nutshell - Hands-on Lab
MySQL InnoDB Cluster in a Nutshell - Hands-on Lab
Frederic Descamps
 
FOSDEM MySQL & Friends Devroom, February 2018 MySQL Point-in-Time Recovery l...
FOSDEM MySQL & Friends Devroom, February 2018  MySQL Point-in-Time Recovery l...FOSDEM MySQL & Friends Devroom, February 2018  MySQL Point-in-Time Recovery l...
FOSDEM MySQL & Friends Devroom, February 2018 MySQL Point-in-Time Recovery l...
Frederic Descamps
 
MySQL 8.0 & Unicode: Why, what & how
MySQL 8.0 & Unicode: Why, what & howMySQL 8.0 & Unicode: Why, what & how
MySQL 8.0 & Unicode: Why, what & how
Bernt Marius Johnsen
 
MySQL InnoDB Cluster and Group Replication in a Nutshell
MySQL InnoDB Cluster and Group Replication in a NutshellMySQL InnoDB Cluster and Group Replication in a Nutshell
MySQL InnoDB Cluster and Group Replication in a Nutshell
Frederic Descamps
 
Introduction to MySQL InnoDB Cluster
Introduction to MySQL InnoDB ClusterIntroduction to MySQL InnoDB Cluster
Introduction to MySQL InnoDB Cluster
Frederic Descamps
 
pre-FOSDEM MySQL day, February 2018 - MySQL Document Store
pre-FOSDEM MySQL day, February 2018 - MySQL Document Storepre-FOSDEM MySQL day, February 2018 - MySQL Document Store
pre-FOSDEM MySQL day, February 2018 - MySQL Document Store
Frederic Descamps
 
Introduction to MySQL InnoDB Cluster
Introduction to MySQL InnoDB ClusterIntroduction to MySQL InnoDB Cluster
Introduction to MySQL InnoDB Cluster
Frederic Descamps
 
MySQL Community Meetup in China : Innovation driven by the Community
MySQL Community Meetup in China : Innovation driven by the CommunityMySQL Community Meetup in China : Innovation driven by the Community
MySQL Community Meetup in China : Innovation driven by the Community
Frederic Descamps
 
Introduction to MySQL InnoDB Cluster
Introduction to MySQL InnoDB ClusterIntroduction to MySQL InnoDB Cluster
Introduction to MySQL InnoDB Cluster
Frederic Descamps
 
20161029 py con-mysq-lv3
20161029 py con-mysq-lv320161029 py con-mysq-lv3
20161029 py con-mysq-lv3
Ivan Ma
 
Staying Ahead of the Curve with Spring and Cassandra 4 (SpringOne 2020)
Staying Ahead of the Curve with Spring and Cassandra 4 (SpringOne 2020)Staying Ahead of the Curve with Spring and Cassandra 4 (SpringOne 2020)
Staying Ahead of the Curve with Spring and Cassandra 4 (SpringOne 2020)
Alexandre Dutra
 
Upcoming changes in MySQL 5.7
Upcoming changes in MySQL 5.7Upcoming changes in MySQL 5.7
Upcoming changes in MySQL 5.7
Morgan Tocker
 
MySQL InnoDB Cluster and Group Replication in a nutshell hands-on tutorial
MySQL InnoDB Cluster and Group Replication in a nutshell  hands-on tutorialMySQL InnoDB Cluster and Group Replication in a nutshell  hands-on tutorial
MySQL InnoDB Cluster and Group Replication in a nutshell hands-on tutorial
Frederic Descamps
 
Elastic Scalability in MySQL Fabric Using OpenStack
Elastic Scalability in MySQL Fabric Using OpenStackElastic Scalability in MySQL Fabric Using OpenStack
Elastic Scalability in MySQL Fabric Using OpenStack
Mats Kindahl
 
MySQL 8.0.1 DMR
MySQL 8.0.1 DMRMySQL 8.0.1 DMR
MySQL 8.0.1 DMR
MySQL Brasil
 
Mysql User Camp : 20-June-14 : Mysql Fabric
Mysql User Camp : 20-June-14 : Mysql FabricMysql User Camp : 20-June-14 : Mysql Fabric
Mysql User Camp : 20-June-14 : Mysql Fabric
Mysql User Camp
 
Simple Way for MySQL to NoSQL
Simple Way for MySQL to NoSQLSimple Way for MySQL to NoSQL
Simple Way for MySQL to NoSQL
Okcan Yasin Saygılı
 
MySQL 5.7 GIS
MySQL 5.7 GISMySQL 5.7 GIS
MySQL 5.7 GIS
Matt Lord
 

What's hot (20)

MySQL Document Store - How to replace a NoSQL database by MySQL without effor...
MySQL Document Store - How to replace a NoSQL database by MySQL without effor...MySQL Document Store - How to replace a NoSQL database by MySQL without effor...
MySQL Document Store - How to replace a NoSQL database by MySQL without effor...
 
MySQL Document Store - when SQL & NoSQL live together... in peace!
MySQL Document Store - when SQL & NoSQL live together... in peace!MySQL Document Store - when SQL & NoSQL live together... in peace!
MySQL Document Store - when SQL & NoSQL live together... in peace!
 
MySQL InnoDB Cluster in a Nutshell - Hands-on Lab
MySQL InnoDB Cluster in a Nutshell - Hands-on LabMySQL InnoDB Cluster in a Nutshell - Hands-on Lab
MySQL InnoDB Cluster in a Nutshell - Hands-on Lab
 
FOSDEM MySQL & Friends Devroom, February 2018 MySQL Point-in-Time Recovery l...
FOSDEM MySQL & Friends Devroom, February 2018  MySQL Point-in-Time Recovery l...FOSDEM MySQL & Friends Devroom, February 2018  MySQL Point-in-Time Recovery l...
FOSDEM MySQL & Friends Devroom, February 2018 MySQL Point-in-Time Recovery l...
 
MySQL 8.0 & Unicode: Why, what & how
MySQL 8.0 & Unicode: Why, what & howMySQL 8.0 & Unicode: Why, what & how
MySQL 8.0 & Unicode: Why, what & how
 
MySQL InnoDB Cluster and Group Replication in a Nutshell
MySQL InnoDB Cluster and Group Replication in a NutshellMySQL InnoDB Cluster and Group Replication in a Nutshell
MySQL InnoDB Cluster and Group Replication in a Nutshell
 
Introduction to MySQL InnoDB Cluster
Introduction to MySQL InnoDB ClusterIntroduction to MySQL InnoDB Cluster
Introduction to MySQL InnoDB Cluster
 
pre-FOSDEM MySQL day, February 2018 - MySQL Document Store
pre-FOSDEM MySQL day, February 2018 - MySQL Document Storepre-FOSDEM MySQL day, February 2018 - MySQL Document Store
pre-FOSDEM MySQL day, February 2018 - MySQL Document Store
 
Introduction to MySQL InnoDB Cluster
Introduction to MySQL InnoDB ClusterIntroduction to MySQL InnoDB Cluster
Introduction to MySQL InnoDB Cluster
 
MySQL Community Meetup in China : Innovation driven by the Community
MySQL Community Meetup in China : Innovation driven by the CommunityMySQL Community Meetup in China : Innovation driven by the Community
MySQL Community Meetup in China : Innovation driven by the Community
 
Introduction to MySQL InnoDB Cluster
Introduction to MySQL InnoDB ClusterIntroduction to MySQL InnoDB Cluster
Introduction to MySQL InnoDB Cluster
 
20161029 py con-mysq-lv3
20161029 py con-mysq-lv320161029 py con-mysq-lv3
20161029 py con-mysq-lv3
 
Staying Ahead of the Curve with Spring and Cassandra 4 (SpringOne 2020)
Staying Ahead of the Curve with Spring and Cassandra 4 (SpringOne 2020)Staying Ahead of the Curve with Spring and Cassandra 4 (SpringOne 2020)
Staying Ahead of the Curve with Spring and Cassandra 4 (SpringOne 2020)
 
Upcoming changes in MySQL 5.7
Upcoming changes in MySQL 5.7Upcoming changes in MySQL 5.7
Upcoming changes in MySQL 5.7
 
MySQL InnoDB Cluster and Group Replication in a nutshell hands-on tutorial
MySQL InnoDB Cluster and Group Replication in a nutshell  hands-on tutorialMySQL InnoDB Cluster and Group Replication in a nutshell  hands-on tutorial
MySQL InnoDB Cluster and Group Replication in a nutshell hands-on tutorial
 
Elastic Scalability in MySQL Fabric Using OpenStack
Elastic Scalability in MySQL Fabric Using OpenStackElastic Scalability in MySQL Fabric Using OpenStack
Elastic Scalability in MySQL Fabric Using OpenStack
 
MySQL 8.0.1 DMR
MySQL 8.0.1 DMRMySQL 8.0.1 DMR
MySQL 8.0.1 DMR
 
Mysql User Camp : 20-June-14 : Mysql Fabric
Mysql User Camp : 20-June-14 : Mysql FabricMysql User Camp : 20-June-14 : Mysql Fabric
Mysql User Camp : 20-June-14 : Mysql Fabric
 
Simple Way for MySQL to NoSQL
Simple Way for MySQL to NoSQLSimple Way for MySQL to NoSQL
Simple Way for MySQL to NoSQL
 
MySQL 5.7 GIS
MySQL 5.7 GISMySQL 5.7 GIS
MySQL 5.7 GIS
 

Similar to 20190615 hkos-mysql-troubleshootingandperformancev2

MySQL in Oracle environment : Quick start guide for Oracle DBA (Part 1)
MySQL in Oracle environment : Quick start guide for Oracle DBA (Part 1)MySQL in Oracle environment : Quick start guide for Oracle DBA (Part 1)
MySQL in Oracle environment : Quick start guide for Oracle DBA (Part 1)
OracleMySQL
 
6 Tips to MySQL Performance Tuning
6 Tips to MySQL Performance Tuning6 Tips to MySQL Performance Tuning
6 Tips to MySQL Performance Tuning
OracleMySQL
 
MySQL in oracle_environments(Part 2): MySQL Enterprise Monitor & Oracle Enter...
MySQL in oracle_environments(Part 2): MySQL Enterprise Monitor & Oracle Enter...MySQL in oracle_environments(Part 2): MySQL Enterprise Monitor & Oracle Enter...
MySQL in oracle_environments(Part 2): MySQL Enterprise Monitor & Oracle Enter...
OracleMySQL
 
Streaming solutions for real time problems
Streaming solutions for real time problems Streaming solutions for real time problems
Streaming solutions for real time problems
Aparna Gaonkar
 
Python and the MySQL Document Store
Python and the MySQL Document StorePython and the MySQL Document Store
Python and the MySQL Document Store
Jesper Wisborg Krogh
 
Full Speed Ahead! (Ahead-of-Time Compilation for Java SE) [JavaOne 2017 CON3738]
Full Speed Ahead! (Ahead-of-Time Compilation for Java SE) [JavaOne 2017 CON3738]Full Speed Ahead! (Ahead-of-Time Compilation for Java SE) [JavaOne 2017 CON3738]
Full Speed Ahead! (Ahead-of-Time Compilation for Java SE) [JavaOne 2017 CON3738]
David Buck
 
Robust easy affordable disaster recovery for MySQL Data
Robust easy affordable disaster recovery for MySQL DataRobust easy affordable disaster recovery for MySQL Data
Robust easy affordable disaster recovery for MySQL Data
OracleMySQL
 
GraphPipe - Blazingly Fast Machine Learning Inference by Vish Abrams
GraphPipe - Blazingly Fast Machine Learning Inference by Vish AbramsGraphPipe - Blazingly Fast Machine Learning Inference by Vish Abrams
GraphPipe - Blazingly Fast Machine Learning Inference by Vish Abrams
Oracle Developers
 
LAD -GroundBreakers-Jul 2019 - Introduction to Machine Learning - From DBA's ...
LAD -GroundBreakers-Jul 2019 - Introduction to Machine Learning - From DBA's ...LAD -GroundBreakers-Jul 2019 - Introduction to Machine Learning - From DBA's ...
LAD -GroundBreakers-Jul 2019 - Introduction to Machine Learning - From DBA's ...
Sandesh Rao
 
LAD -GroundBreakers-Jul 2019 - The Machine Learning behind the Autonomous Dat...
LAD -GroundBreakers-Jul 2019 - The Machine Learning behind the Autonomous Dat...LAD -GroundBreakers-Jul 2019 - The Machine Learning behind the Autonomous Dat...
LAD -GroundBreakers-Jul 2019 - The Machine Learning behind the Autonomous Dat...
Sandesh Rao
 
AIOUG -GroundBreakers-Jul 2019 - Introduction to Machine Learning - From DBA'...
AIOUG -GroundBreakers-Jul 2019 - Introduction to Machine Learning - From DBA'...AIOUG -GroundBreakers-Jul 2019 - Introduction to Machine Learning - From DBA'...
AIOUG -GroundBreakers-Jul 2019 - Introduction to Machine Learning - From DBA'...
Sandesh Rao
 
Everything You Need to Know About MySQL Group Replication
Everything You Need to Know About MySQL Group ReplicationEverything You Need to Know About MySQL Group Replication
Everything You Need to Know About MySQL Group Replication
Nuno Carvalho
 
What's new in MySQL 5.7, Oracle Virtual Technology Summit, 2016
What's new in MySQL 5.7, Oracle Virtual Technology Summit, 2016What's new in MySQL 5.7, Oracle Virtual Technology Summit, 2016
What's new in MySQL 5.7, Oracle Virtual Technology Summit, 2016
Geir Høydalsvik
 
Rootconf admin101
Rootconf admin101Rootconf admin101
Rootconf admin101
Ligaya Turmelle
 
MySQL 5.7: What's New, Nov. 2015
MySQL 5.7: What's New, Nov. 2015MySQL 5.7: What's New, Nov. 2015
MySQL 5.7: What's New, Nov. 2015
Mario Beck
 
Streaming Solutions for Real time problems
Streaming Solutions for Real time problemsStreaming Solutions for Real time problems
Streaming Solutions for Real time problems
Abhishek Gupta
 
MySQL Manchester TT - Performance Tuning
MySQL Manchester TT  - Performance TuningMySQL Manchester TT  - Performance Tuning
MySQL Manchester TT - Performance Tuning
Mark Swarbrick
 
MySQL for Oracle DBAs
MySQL for Oracle DBAsMySQL for Oracle DBAs
MySQL for Oracle DBAs
Ben Krug
 
Mysql NDB Cluster's Asynchronous Parallel Design for High Performance
Mysql NDB Cluster's Asynchronous Parallel Design for High PerformanceMysql NDB Cluster's Asynchronous Parallel Design for High Performance
Mysql NDB Cluster's Asynchronous Parallel Design for High Performance
Bernd Ocklin
 
MySQL 5.7 InnoDB Cluster (Jan 2018)
MySQL 5.7 InnoDB Cluster (Jan 2018)MySQL 5.7 InnoDB Cluster (Jan 2018)
MySQL 5.7 InnoDB Cluster (Jan 2018)
Olivier DASINI
 

Similar to 20190615 hkos-mysql-troubleshootingandperformancev2 (20)

MySQL in Oracle environment : Quick start guide for Oracle DBA (Part 1)
MySQL in Oracle environment : Quick start guide for Oracle DBA (Part 1)MySQL in Oracle environment : Quick start guide for Oracle DBA (Part 1)
MySQL in Oracle environment : Quick start guide for Oracle DBA (Part 1)
 
6 Tips to MySQL Performance Tuning
6 Tips to MySQL Performance Tuning6 Tips to MySQL Performance Tuning
6 Tips to MySQL Performance Tuning
 
MySQL in oracle_environments(Part 2): MySQL Enterprise Monitor & Oracle Enter...
MySQL in oracle_environments(Part 2): MySQL Enterprise Monitor & Oracle Enter...MySQL in oracle_environments(Part 2): MySQL Enterprise Monitor & Oracle Enter...
MySQL in oracle_environments(Part 2): MySQL Enterprise Monitor & Oracle Enter...
 
Streaming solutions for real time problems
Streaming solutions for real time problems Streaming solutions for real time problems
Streaming solutions for real time problems
 
Python and the MySQL Document Store
Python and the MySQL Document StorePython and the MySQL Document Store
Python and the MySQL Document Store
 
Full Speed Ahead! (Ahead-of-Time Compilation for Java SE) [JavaOne 2017 CON3738]
Full Speed Ahead! (Ahead-of-Time Compilation for Java SE) [JavaOne 2017 CON3738]Full Speed Ahead! (Ahead-of-Time Compilation for Java SE) [JavaOne 2017 CON3738]
Full Speed Ahead! (Ahead-of-Time Compilation for Java SE) [JavaOne 2017 CON3738]
 
Robust easy affordable disaster recovery for MySQL Data
Robust easy affordable disaster recovery for MySQL DataRobust easy affordable disaster recovery for MySQL Data
Robust easy affordable disaster recovery for MySQL Data
 
GraphPipe - Blazingly Fast Machine Learning Inference by Vish Abrams
GraphPipe - Blazingly Fast Machine Learning Inference by Vish AbramsGraphPipe - Blazingly Fast Machine Learning Inference by Vish Abrams
GraphPipe - Blazingly Fast Machine Learning Inference by Vish Abrams
 
LAD -GroundBreakers-Jul 2019 - Introduction to Machine Learning - From DBA's ...
LAD -GroundBreakers-Jul 2019 - Introduction to Machine Learning - From DBA's ...LAD -GroundBreakers-Jul 2019 - Introduction to Machine Learning - From DBA's ...
LAD -GroundBreakers-Jul 2019 - Introduction to Machine Learning - From DBA's ...
 
LAD -GroundBreakers-Jul 2019 - The Machine Learning behind the Autonomous Dat...
LAD -GroundBreakers-Jul 2019 - The Machine Learning behind the Autonomous Dat...LAD -GroundBreakers-Jul 2019 - The Machine Learning behind the Autonomous Dat...
LAD -GroundBreakers-Jul 2019 - The Machine Learning behind the Autonomous Dat...
 
AIOUG -GroundBreakers-Jul 2019 - Introduction to Machine Learning - From DBA'...
AIOUG -GroundBreakers-Jul 2019 - Introduction to Machine Learning - From DBA'...AIOUG -GroundBreakers-Jul 2019 - Introduction to Machine Learning - From DBA'...
AIOUG -GroundBreakers-Jul 2019 - Introduction to Machine Learning - From DBA'...
 
Everything You Need to Know About MySQL Group Replication
Everything You Need to Know About MySQL Group ReplicationEverything You Need to Know About MySQL Group Replication
Everything You Need to Know About MySQL Group Replication
 
What's new in MySQL 5.7, Oracle Virtual Technology Summit, 2016
What's new in MySQL 5.7, Oracle Virtual Technology Summit, 2016What's new in MySQL 5.7, Oracle Virtual Technology Summit, 2016
What's new in MySQL 5.7, Oracle Virtual Technology Summit, 2016
 
Rootconf admin101
Rootconf admin101Rootconf admin101
Rootconf admin101
 
MySQL 5.7: What's New, Nov. 2015
MySQL 5.7: What's New, Nov. 2015MySQL 5.7: What's New, Nov. 2015
MySQL 5.7: What's New, Nov. 2015
 
Streaming Solutions for Real time problems
Streaming Solutions for Real time problemsStreaming Solutions for Real time problems
Streaming Solutions for Real time problems
 
MySQL Manchester TT - Performance Tuning
MySQL Manchester TT  - Performance TuningMySQL Manchester TT  - Performance Tuning
MySQL Manchester TT - Performance Tuning
 
MySQL for Oracle DBAs
MySQL for Oracle DBAsMySQL for Oracle DBAs
MySQL for Oracle DBAs
 
Mysql NDB Cluster's Asynchronous Parallel Design for High Performance
Mysql NDB Cluster's Asynchronous Parallel Design for High PerformanceMysql NDB Cluster's Asynchronous Parallel Design for High Performance
Mysql NDB Cluster's Asynchronous Parallel Design for High Performance
 
MySQL 5.7 InnoDB Cluster (Jan 2018)
MySQL 5.7 InnoDB Cluster (Jan 2018)MySQL 5.7 InnoDB Cluster (Jan 2018)
MySQL 5.7 InnoDB Cluster (Jan 2018)
 

More from Ivan Ma

Exploring MySQL Operator for Kubernetes in Python
Exploring MySQL Operator for Kubernetes in PythonExploring MySQL Operator for Kubernetes in Python
Exploring MySQL Operator for Kubernetes in Python
Ivan Ma
 
20201106 hk-py con-mysql-shell
20201106 hk-py con-mysql-shell20201106 hk-py con-mysql-shell
20201106 hk-py con-mysql-shell
Ivan Ma
 
20200613 my sql-ha-deployment
20200613 my sql-ha-deployment20200613 my sql-ha-deployment
20200613 my sql-ha-deployment
Ivan Ma
 
20191001 bkk-secret-of inno-db_clusterv1
20191001 bkk-secret-of inno-db_clusterv120191001 bkk-secret-of inno-db_clusterv1
20191001 bkk-secret-of inno-db_clusterv1
Ivan Ma
 
20171104 hk-py con-mysql-documentstore_v1
20171104 hk-py con-mysql-documentstore_v120171104 hk-py con-mysql-documentstore_v1
20171104 hk-py con-mysql-documentstore_v1
Ivan Ma
 
MySQL InnoDB Cluster and MySQL Group Replication @HKOSC 2017
MySQL InnoDB Cluster and MySQL Group Replication @HKOSC 2017MySQL InnoDB Cluster and MySQL Group Replication @HKOSC 2017
MySQL InnoDB Cluster and MySQL Group Replication @HKOSC 2017
Ivan Ma
 
What's New in MySQL 8.0 @ HKOSC 2017
What's New in MySQL 8.0 @ HKOSC 2017What's New in MySQL 8.0 @ HKOSC 2017
What's New in MySQL 8.0 @ HKOSC 2017
Ivan Ma
 
20160821 coscup-my sql57docstorelab01
20160821 coscup-my sql57docstorelab0120160821 coscup-my sql57docstorelab01
20160821 coscup-my sql57docstorelab01
Ivan Ma
 
Hkosc group replication-lecture_lab07
Hkosc group replication-lecture_lab07Hkosc group replication-lecture_lab07
Hkosc group replication-lecture_lab07
Ivan Ma
 
20151010 my sq-landjavav2a
20151010 my sq-landjavav2a20151010 my sq-landjavav2a
20151010 my sq-landjavav2a
Ivan Ma
 
01 demystifying mysq-lfororacledbaanddeveloperv1
01 demystifying mysq-lfororacledbaanddeveloperv101 demystifying mysq-lfororacledbaanddeveloperv1
01 demystifying mysq-lfororacledbaanddeveloperv1
Ivan Ma
 
Exploring mysql cluster 7.4
Exploring mysql cluster 7.4Exploring mysql cluster 7.4
Exploring mysql cluster 7.4
Ivan Ma
 
20150110 my sql-performanceschema
20150110 my sql-performanceschema20150110 my sql-performanceschema
20150110 my sql-performanceschema
Ivan Ma
 

More from Ivan Ma (13)

Exploring MySQL Operator for Kubernetes in Python
Exploring MySQL Operator for Kubernetes in PythonExploring MySQL Operator for Kubernetes in Python
Exploring MySQL Operator for Kubernetes in Python
 
20201106 hk-py con-mysql-shell
20201106 hk-py con-mysql-shell20201106 hk-py con-mysql-shell
20201106 hk-py con-mysql-shell
 
20200613 my sql-ha-deployment
20200613 my sql-ha-deployment20200613 my sql-ha-deployment
20200613 my sql-ha-deployment
 
20191001 bkk-secret-of inno-db_clusterv1
20191001 bkk-secret-of inno-db_clusterv120191001 bkk-secret-of inno-db_clusterv1
20191001 bkk-secret-of inno-db_clusterv1
 
20171104 hk-py con-mysql-documentstore_v1
20171104 hk-py con-mysql-documentstore_v120171104 hk-py con-mysql-documentstore_v1
20171104 hk-py con-mysql-documentstore_v1
 
MySQL InnoDB Cluster and MySQL Group Replication @HKOSC 2017
MySQL InnoDB Cluster and MySQL Group Replication @HKOSC 2017MySQL InnoDB Cluster and MySQL Group Replication @HKOSC 2017
MySQL InnoDB Cluster and MySQL Group Replication @HKOSC 2017
 
What's New in MySQL 8.0 @ HKOSC 2017
What's New in MySQL 8.0 @ HKOSC 2017What's New in MySQL 8.0 @ HKOSC 2017
What's New in MySQL 8.0 @ HKOSC 2017
 
20160821 coscup-my sql57docstorelab01
20160821 coscup-my sql57docstorelab0120160821 coscup-my sql57docstorelab01
20160821 coscup-my sql57docstorelab01
 
Hkosc group replication-lecture_lab07
Hkosc group replication-lecture_lab07Hkosc group replication-lecture_lab07
Hkosc group replication-lecture_lab07
 
20151010 my sq-landjavav2a
20151010 my sq-landjavav2a20151010 my sq-landjavav2a
20151010 my sq-landjavav2a
 
01 demystifying mysq-lfororacledbaanddeveloperv1
01 demystifying mysq-lfororacledbaanddeveloperv101 demystifying mysq-lfororacledbaanddeveloperv1
01 demystifying mysq-lfororacledbaanddeveloperv1
 
Exploring mysql cluster 7.4
Exploring mysql cluster 7.4Exploring mysql cluster 7.4
Exploring mysql cluster 7.4
 
20150110 my sql-performanceschema
20150110 my sql-performanceschema20150110 my sql-performanceschema
20150110 my sql-performanceschema
 

Recently uploaded

20240702 QFM021 Machine Intelligence Reading List June 2024
20240702 QFM021 Machine Intelligence Reading List June 202420240702 QFM021 Machine Intelligence Reading List June 2024
20240702 QFM021 Machine Intelligence Reading List June 2024
Matthew Sinclair
 
Calgary MuleSoft Meetup APM and IDP .pptx
Calgary MuleSoft Meetup APM and IDP .pptxCalgary MuleSoft Meetup APM and IDP .pptx
Calgary MuleSoft Meetup APM and IDP .pptx
ishalveerrandhawa1
 
7 Most Powerful Solar Storms in the History of Earth.pdf
7 Most Powerful Solar Storms in the History of Earth.pdf7 Most Powerful Solar Storms in the History of Earth.pdf
7 Most Powerful Solar Storms in the History of Earth.pdf
Enterprise Wired
 
20240705 QFM024 Irresponsible AI Reading List June 2024
20240705 QFM024 Irresponsible AI Reading List June 202420240705 QFM024 Irresponsible AI Reading List June 2024
20240705 QFM024 Irresponsible AI Reading List June 2024
Matthew Sinclair
 
Coordinate Systems in FME 101 - Webinar Slides
Coordinate Systems in FME 101 - Webinar SlidesCoordinate Systems in FME 101 - Webinar Slides
Coordinate Systems in FME 101 - Webinar Slides
Safe Software
 
Transcript: Details of description part II: Describing images in practice - T...
Transcript: Details of description part II: Describing images in practice - T...Transcript: Details of description part II: Describing images in practice - T...
Transcript: Details of description part II: Describing images in practice - T...
BookNet Canada
 
Verti - EMEA Insurer Innovation Award 2024
Verti - EMEA Insurer Innovation Award 2024Verti - EMEA Insurer Innovation Award 2024
Verti - EMEA Insurer Innovation Award 2024
The Digital Insurer
 
How to Avoid Learning the Linux-Kernel Memory Model
How to Avoid Learning the Linux-Kernel Memory ModelHow to Avoid Learning the Linux-Kernel Memory Model
How to Avoid Learning the Linux-Kernel Memory Model
ScyllaDB
 
INDIAN AIR FORCE FIGHTER PLANES LIST.pdf
INDIAN AIR FORCE FIGHTER PLANES LIST.pdfINDIAN AIR FORCE FIGHTER PLANES LIST.pdf
INDIAN AIR FORCE FIGHTER PLANES LIST.pdf
jackson110191
 
@Call @Girls Guwahati 🚒 XXXXXXXXXX 🚒 Priya Sharma Beautiful And Cute Girl any...
@Call @Girls Guwahati 🚒 XXXXXXXXXX 🚒 Priya Sharma Beautiful And Cute Girl any...@Call @Girls Guwahati 🚒 XXXXXXXXXX 🚒 Priya Sharma Beautiful And Cute Girl any...
@Call @Girls Guwahati 🚒 XXXXXXXXXX 🚒 Priya Sharma Beautiful And Cute Girl any...
kantakumariji156
 
5G bootcamp Sep 2020 (NPI initiative).pptx
5G bootcamp Sep 2020 (NPI initiative).pptx5G bootcamp Sep 2020 (NPI initiative).pptx
5G bootcamp Sep 2020 (NPI initiative).pptx
SATYENDRA100
 
Details of description part II: Describing images in practice - Tech Forum 2024
Details of description part II: Describing images in practice - Tech Forum 2024Details of description part II: Describing images in practice - Tech Forum 2024
Details of description part II: Describing images in practice - Tech Forum 2024
BookNet Canada
 
Knowledge and Prompt Engineering Part 2 Focus on Prompt Design Approaches
Knowledge and Prompt Engineering Part 2 Focus on Prompt Design ApproachesKnowledge and Prompt Engineering Part 2 Focus on Prompt Design Approaches
Knowledge and Prompt Engineering Part 2 Focus on Prompt Design Approaches
Earley Information Science
 
find out more about the role of autonomous vehicles in facing global challenges
find out more about the role of autonomous vehicles in facing global challengesfind out more about the role of autonomous vehicles in facing global challenges
find out more about the role of autonomous vehicles in facing global challenges
huseindihon
 
Quantum Communications Q&A with Gemini LLM
Quantum Communications Q&A with Gemini LLMQuantum Communications Q&A with Gemini LLM
Quantum Communications Q&A with Gemini LLM
Vijayananda Mohire
 
How Netflix Builds High Performance Applications at Global Scale
How Netflix Builds High Performance Applications at Global ScaleHow Netflix Builds High Performance Applications at Global Scale
How Netflix Builds High Performance Applications at Global Scale
ScyllaDB
 
Cookies program to display the information though cookie creation
Cookies program to display the information though cookie creationCookies program to display the information though cookie creation
Cookies program to display the information though cookie creation
shanthidl1
 
AC Atlassian Coimbatore Session Slides( 22/06/2024)
AC Atlassian Coimbatore Session Slides( 22/06/2024)AC Atlassian Coimbatore Session Slides( 22/06/2024)
AC Atlassian Coimbatore Session Slides( 22/06/2024)
apoorva2579
 
What’s New in Teams Calling, Meetings and Devices May 2024
What’s New in Teams Calling, Meetings and Devices May 2024What’s New in Teams Calling, Meetings and Devices May 2024
What’s New in Teams Calling, Meetings and Devices May 2024
Stephanie Beckett
 
Quality Patents: Patents That Stand the Test of Time
Quality Patents: Patents That Stand the Test of TimeQuality Patents: Patents That Stand the Test of Time
Quality Patents: Patents That Stand the Test of Time
Aurora Consulting
 

Recently uploaded (20)

20240702 QFM021 Machine Intelligence Reading List June 2024
20240702 QFM021 Machine Intelligence Reading List June 202420240702 QFM021 Machine Intelligence Reading List June 2024
20240702 QFM021 Machine Intelligence Reading List June 2024
 
Calgary MuleSoft Meetup APM and IDP .pptx
Calgary MuleSoft Meetup APM and IDP .pptxCalgary MuleSoft Meetup APM and IDP .pptx
Calgary MuleSoft Meetup APM and IDP .pptx
 
7 Most Powerful Solar Storms in the History of Earth.pdf
7 Most Powerful Solar Storms in the History of Earth.pdf7 Most Powerful Solar Storms in the History of Earth.pdf
7 Most Powerful Solar Storms in the History of Earth.pdf
 
20240705 QFM024 Irresponsible AI Reading List June 2024
20240705 QFM024 Irresponsible AI Reading List June 202420240705 QFM024 Irresponsible AI Reading List June 2024
20240705 QFM024 Irresponsible AI Reading List June 2024
 
Coordinate Systems in FME 101 - Webinar Slides
Coordinate Systems in FME 101 - Webinar SlidesCoordinate Systems in FME 101 - Webinar Slides
Coordinate Systems in FME 101 - Webinar Slides
 
Transcript: Details of description part II: Describing images in practice - T...
Transcript: Details of description part II: Describing images in practice - T...Transcript: Details of description part II: Describing images in practice - T...
Transcript: Details of description part II: Describing images in practice - T...
 
Verti - EMEA Insurer Innovation Award 2024
Verti - EMEA Insurer Innovation Award 2024Verti - EMEA Insurer Innovation Award 2024
Verti - EMEA Insurer Innovation Award 2024
 
How to Avoid Learning the Linux-Kernel Memory Model
How to Avoid Learning the Linux-Kernel Memory ModelHow to Avoid Learning the Linux-Kernel Memory Model
How to Avoid Learning the Linux-Kernel Memory Model
 
INDIAN AIR FORCE FIGHTER PLANES LIST.pdf
INDIAN AIR FORCE FIGHTER PLANES LIST.pdfINDIAN AIR FORCE FIGHTER PLANES LIST.pdf
INDIAN AIR FORCE FIGHTER PLANES LIST.pdf
 
@Call @Girls Guwahati 🚒 XXXXXXXXXX 🚒 Priya Sharma Beautiful And Cute Girl any...
@Call @Girls Guwahati 🚒 XXXXXXXXXX 🚒 Priya Sharma Beautiful And Cute Girl any...@Call @Girls Guwahati 🚒 XXXXXXXXXX 🚒 Priya Sharma Beautiful And Cute Girl any...
@Call @Girls Guwahati 🚒 XXXXXXXXXX 🚒 Priya Sharma Beautiful And Cute Girl any...
 
5G bootcamp Sep 2020 (NPI initiative).pptx
5G bootcamp Sep 2020 (NPI initiative).pptx5G bootcamp Sep 2020 (NPI initiative).pptx
5G bootcamp Sep 2020 (NPI initiative).pptx
 
Details of description part II: Describing images in practice - Tech Forum 2024
Details of description part II: Describing images in practice - Tech Forum 2024Details of description part II: Describing images in practice - Tech Forum 2024
Details of description part II: Describing images in practice - Tech Forum 2024
 
Knowledge and Prompt Engineering Part 2 Focus on Prompt Design Approaches
Knowledge and Prompt Engineering Part 2 Focus on Prompt Design ApproachesKnowledge and Prompt Engineering Part 2 Focus on Prompt Design Approaches
Knowledge and Prompt Engineering Part 2 Focus on Prompt Design Approaches
 
find out more about the role of autonomous vehicles in facing global challenges
find out more about the role of autonomous vehicles in facing global challengesfind out more about the role of autonomous vehicles in facing global challenges
find out more about the role of autonomous vehicles in facing global challenges
 
Quantum Communications Q&A with Gemini LLM
Quantum Communications Q&A with Gemini LLMQuantum Communications Q&A with Gemini LLM
Quantum Communications Q&A with Gemini LLM
 
How Netflix Builds High Performance Applications at Global Scale
How Netflix Builds High Performance Applications at Global ScaleHow Netflix Builds High Performance Applications at Global Scale
How Netflix Builds High Performance Applications at Global Scale
 
Cookies program to display the information though cookie creation
Cookies program to display the information though cookie creationCookies program to display the information though cookie creation
Cookies program to display the information though cookie creation
 
AC Atlassian Coimbatore Session Slides( 22/06/2024)
AC Atlassian Coimbatore Session Slides( 22/06/2024)AC Atlassian Coimbatore Session Slides( 22/06/2024)
AC Atlassian Coimbatore Session Slides( 22/06/2024)
 
What’s New in Teams Calling, Meetings and Devices May 2024
What’s New in Teams Calling, Meetings and Devices May 2024What’s New in Teams Calling, Meetings and Devices May 2024
What’s New in Teams Calling, Meetings and Devices May 2024
 
Quality Patents: Patents That Stand the Test of Time
Quality Patents: Patents That Stand the Test of TimeQuality Patents: Patents That Stand the Test of Time
Quality Patents: Patents That Stand the Test of Time
 

20190615 hkos-mysql-troubleshootingandperformancev2

  • 1. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | MySQL Troubleshooting & Performance Best Practice Ivan Ma ivan-cs.ma@oracle.com 2019-06-15 Copyright © 2017, Oracle and/or its affiliates. All rights reserved.
  • 3. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 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. 3
  • 4. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | The 8 essential steps to secure your MySQL Starting with general, connectivity, monitoring, enterprise level security! By Ryusuke Kajiyama Oracle / Japan Troubleshooting & Performance Tuning Best Practices By Ivan Ma Hong Kong Lesson Learned from a large scale MySQL Cluster implementing project By Ivan Tu Taiwan Plug It In! MySQL Authentication with Windows via PAM By Patrick Jolliffe Li & Fung Trading Ltd. Run Programs Faster Anywhere: GraalVM By Amitpal Singh Oracle Labs MySQL Track - Sessions MorningBreak
  • 5. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | The 8 essential steps to secure your MySQL Starting with general, connectivity, monitoring, enterprise level security! By Ryusuke Kajiyama Oracle / Japan Troubleshooting & Performance Tuning Best Practices By Ivan Ma Hong Kong Lesson Learned from a large scale MySQL Cluster implementing project By Ivan Tu Taiwan Plug It In! MySQL Authentication with Windows via PAM By Patrick Jolliffe Li & Fung Trading Ltd. Run Programs Faster Anywhere: GraalVM By Amitpal Singh Oracle Labs MySQL Track - Sessions MorningBreak
  • 6. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Troubleshooting • When there is no issue – LOG file? – Monitoring (CPU, Memory, Filesystem, Network, Locks) • When there is the issue – Recover FIRST? – Do you have second option? • Redundancy – We do not want to see this issue happening again • ROOT CAUSE ANALYSIS
  • 7. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Tools • Logs • Variables : – log_error – slow_query_log_file – general_log_file • Application Error / Exception • Process Level Error and Trace • Diagnosis – Performance and SYS Schema • OS Tools – lsof, iostat, mpstat, perf, vmstat, pstack, strace, etc… • http://dimitrik.free.fr/ • Enterprise Tools – MySQL Enterprise Monitor
  • 8. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Performance and SYS Schema • http://mysqlhk.blogspot.com/2016/04/running-sys-schema-diagnostics-to- get.html
  • 9. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Environment Global Variables diagnostics.allow_i_s_tables, @sys.diagnostics.allow_i_s_tables diagnostics.include_raw, @sys.diagnostics.include_raw statement_truncate_len, @sys.statement_truncate_len
  • 10. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Show InnoDB Engine Status
  • 11. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Replication Info
  • 12. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | SYS performance data • InnoDB Transaction • SELECT * from sys.processlist • SELECT * FROM sys.latest_file_io • SELECT * FROM sys.memory_by_host_by_current_bytes • SELECT * FROM sys.memory_by_user_by_current_bytes
  • 13. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Schema Information
  • 14. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | • Queries with Runtime in 95th Percentile • Overall host_summary_by_file_io_type • Overall host_summary_by_statement_type • Overall host_summary_by_statement_type • Overall io_by_thread_by_latency • Overall io_global_by_file_by_bytes • Overall io_global_by_file_by_latency • Overall io_global_by_wait_by_bytes • Overall schema_index_statistics •
  • 15. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Overall schema_table_statistics
  • 16. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
  • 17. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
  • 18. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Delta Status
  • 19. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | SELECT * FROM sys.metrics (DELTA) • | Variable_name • | Output 1 • | Output 2 • | Output 3 • | Output 4 • | Delta (1 -> 2) • | Delta (2 -> 3) • | Delta (3 -> 4) • | Type • | Enabled|
  • 20. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
  • 21. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
  • 22. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
  • 23. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
  • 24. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Infinitive Loop of DB Tuning …
  • 25. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Infinitive Loop of DB Tuning … Even if 95% problem is here!
  • 26. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | “Generic” Test Workloads @MySQL
  • 27. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Performance and Troubleshooting • http://dimitrik.free.fr/blog/ – http://dimitrik.free.fr/Presentations/MySQL_Perf-Tuning-PLive_US- Apr.2016-dim.pdf • dim_STAT – http://dimitrik.free.fr/ •
  • 28. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Data Collection : Download & Installation • http://dimitrik.free.fr/ • 0) be sure you have right "perf" tool installed on your system • 1) download the STAT-service tarball from my site : http://dimitrik.free.fr/STATsrv-v5-Linux-x64-mysql.tgz 2) deploy it somewhere on the server (ex: /opt/stats) ("/opt/stats" is used as example here and then).. • # cd /opt/stats • # tar xzf /path/to/STATsrv-v5-Linux-x64-mysql.tgz 3) # cd /opt/stats/STATsrv/bin (better to be "root" user to allow "perf" and "Proc" stats to be collected 4) # vi .env-mysql (edit the file and provide the connection params to your MySQL instance) NOTE : be sure you have at least the following enabled in your my.conf : • - innodb_monitor_enable='%' • - performance_schema = ON (By default – it is ON)
  • 29. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | • 5) # ./mysqlLOAD.sh 5 (just to check your connection is working, so the stats will be saved ;-)) • # ./innodbSTAT.sh 5 • (be sure the output is not empty here either) • # ./innodbMUTEX.sh 5 • (be sure the output is not empty here too) • 6) # mkdir /opt/stats/data (create an output directory for stats collection) • 7) # nohup ./EasySTAT.sh /opt/stats/data 10 8 & (collect the data into "/opt/stats/data" with "10" sec frequency during "8" hours) (if you need more or less hours, then just change "8" to what you need) 8) once finished: # cd /opt/stats # tar czf ./data-stats.tgz data
  • 30. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | cd /o
  • 31. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | • output data to /opt/mysql/dimitri/data – 10 seconds – for 1 hour
  • 32. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | What about the Graphing…. • Download – • http://dimitrik.free.fr/
  • 33. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
  • 34. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
  • 35. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
  • 36. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
  • 37. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Start very first time
  • 38. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Browser Interface – Home Page
  • 39. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Charts • Many MySQL Benchmarks charts
  • 40. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Trying….
  • 41. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
  • 42. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Analyze!!!
  • 43. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
  • 44. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Choose Multi-Host Extended Analyzer
  • 45. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Choose the Server!!!
  • 46. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Check ALL  Go
  • 47. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | You see the Graphs…
  • 48. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Upload Data from Agent (Tar) • Create Database
  • 49. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Create Database
  • 50. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
  • 51. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
  • 52. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Unzip all gz files…. • gunzip *.gz
  • 53. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Check the load file… (And edit the database name) (LoadData.sh)
  • 54. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Enjoy!!! • SYS / Performance Schema – diagnostics(…) • Thanks Dimitri for this great tools. – Data Collector – Graphs • MySQL Enterprise Edition – MySQL Enterprise Monitor – and more…
  • 55. Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | 55