SlideShare a Scribd company logo
1 of 44
Download to read offline
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 
Insert Information Protection Policy Classification from Slide 12 
1
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 
Insert Information Protection Policy Classification from Slide 12 
2 
Performance Schema & SYS schema 
Ted Wennmark, principal system consultant and MySQL cluster specialist, EMEA 
ted.wennmark@oracle.com
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 
3 
Program Agenda 
What is Performance Schema? 
Profiling Examples 
Improvements made to date in MySQL 5.7 
The MySQL SYS Schema 
Easy to Use with MySQL Workbench
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 
Insert Information Protection Policy Classification from Slide 12 
4 
What is Performance Schema?
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 
5 
What is Performance Schema? 
A storage engine, built for recording instrumentation 
–PERFORMANCE_SCHEMA 
A database schema to expose the instrumentation 
–performance_schema 
Records latency of events that happen within the server 
All latency exposed to picosecond 
Also tracks other information as appropriate - Bytes, source position, object metadata, etc.
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 
6 
Performance Schema in MySQL 5.5 
17 Tables 
222 Instruments 
Instrument 
Event Class 
File IO 
wait/io/file/% 
Mutexes 
wait/synch/mutex/% 
Read/Write Locks 
wait/synch/rwlock/% 
Conditions 
wait/synch/cond/%
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 
7 
Wait Events 
Event Context 
Event type and origin 
Timing (~1 ms) 
Database object info 
Object type 
Whether the event was nested 
Further info as appropriate 
mysql > select * from events_waits_currentG 
THREAD_ID: 3 
EVENT_ID: 216 
END_EVENT_ID: 216 
EVENT_NAME: wait/io/file/innodb/innodb_log_file 
SOURCE: fil0fil.cc:5886 
TIMER_START: 8676267009310268 
TIMER_END: 8676268029825193 
TIMER_WAIT: 1020514925 
SPINS: NULL 
OBJECT_SCHEMA: NULL 
OBJECT_NAME: /home/ted/sandboxes/msb_5_6_21/data/ib_logfile1 
INDEX_NAME: NULL 
OBJECT_TYPE: FILE 
OBJECT_INSTANCE_BEGIN: 139847142992128 
NESTING_EVENT_ID: NULL 
NESTING_EVENT_TYPE: NULL 
OPERATION: sync 
NUMBER_OF_BYTES: NULL 
FLAGS: NULL
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 
8 
Wait Events 
SOURCE: fil0fil.cc:5886 -> File:storage/innobase/fil/fil0fil.cc 
fil_flush(...) 
{ 
... 
os_file_flush(file); row #5886 
... 
} 
File: storage/innobase/include/os0file.h 
# define os_file_flush(file ...) 
pfs_os_file_flush_func(file ...) 
File: storage/innobase/include/os0file.ic 
pfs_os_file_flush_func(...) 
{ 
... 
register_pfs_file_io_begin(...); 
result = os_file_flush_func(file); 
register_pfs_file_io_end(...); 
return(result); 
} 
t_end – t_begin = Latency
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 
9 
Performance Schema in MySQL 5.6 
52 Tables (+35) 
545 Instruments (+323) 
Instrument Type 
Event Class 
Statements 
statement/% 
Stages 
stage/% 
Table IO 
wait/io/table/% 
Table Locks 
wait/lock/table/% 
Network IO 
wait/io/socket/% 
Idle Timing 
idle
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 
10 
Statement Events 
mysql> select * from events_statements_history_long limit 2G 
*************************** 1. row *************************** 
THREAD_ID: 61 
EVENT_ID: 1829116 
END_EVENT_ID: 1829145 
EVENT_NAME: statement/sql/select 
SOURCE: mysqld.cc:957 
TIMER_START: 12709482562961000 
TIMER_END: 12709482692808000 
TIMER_WAIT: 129847000 
LOCK_TIME: 54000000 
SQL_TEXT: SELECT intcol1,charcol1 FROM t1 WHERE id = 'fe85c640-5229-11e4-a018-7c7a9103' 
DIGEST: d87e45e397f6958a419bfe32f1b958fd 
DIGEST_TEXT: SELECT intcol1 , charcol1 FROM t1 WHERE id = ? 
CURRENT_SCHEMA: mysqlslap 
OBJECT_TYPE: NULL 
OBJECT_SCHEMA: NULL 
OBJECT_NAME: NULL 
OBJECT_INSTANCE_BEGIN: NULL 
MYSQL_ERRNO: 0 
RETURNED_SQLSTATE: NULL 
MESSAGE_TEXT: NULL 
ERRORS: 0 
WARNINGS: 0 
ROWS_AFFECTED: 0 
ROWS_SENT: 1 
ROWS_EXAMINED: 1 
CREATED_TMP_DISK_TABLES: 0 
CREATED_TMP_TABLES: 0 
SELECT_FULL_JOIN: 0 
SELECT_FULL_RANGE_JOIN: 0 
SELECT_RANGE: 0 
SELECT_RANGE_CHECK: 0 
SELECT_SCAN: 0 
SORT_MERGE_PASSES: 0 
SORT_RANGE: 0 
SORT_ROWS: 0 
SORT_SCAN: 0 
NO_INDEX_USED: 0 
NO_GOOD_INDEX_USED: 0 
NESTING_EVENT_ID: NULL 
NESTING_EVENT_TYPE: NULL
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 
Stored Programs 
Transactions 
11 
Nested Events 
Statements 
Stages 
Waits 
MySQL 5.5 
MySQL 5.6 
MySQL 5.7 
mysql> select * from events_waits_history_long 
******************** 1. row ******************** 
... 
EVENT_NAME: wait/io/table/sql/handler 
... 
NESTING_EVENT_ID: 3603 
NESTING_EVENT_TYPE: STAGE
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 
12 
Performance Schema Table Types 
Setup Tables 
Used to define certain configuration dynamically 
Can perform DML against these tables 
mysql> select table_name 
-> from information_schema.tables 
-> where table_schema like 'perf%' 
-> and table_name like 'setup%'; 
+-------------------+ 
| table_name | 
+-------------------+ 
| setup_actors | 
| setup_consumers | 
| setup_instruments | 
| setup_objects | 
| setup_timers | 
+-------------------+
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 
13 
Performance Schema Table Types 
Raw Data Tables 
Expose events, objects, or instances of instruments in a raw manner 
Allow seeing a (brief) history of raw event metrics as well 
+-------------------------------------------+ 
| table_name | 
+-------------------------------------------+ 
| accounts | 
| cond_instances | 
| events_stages_current | 
| events_stages_history | 
| events_stages_history_long | 
| events_statements_current | 
| events_statements_history | 
| events_statements_history_long | 
| events_waits_current | 
| events_waits_history | 
| events_waits_history_long | 
| file_instances | 
| host_cache | 
| hosts | 
| mutex_instances | 
| performance_timers | 
| rwlock_instances | 
| session_account_connect_attrs | 
| session_connect_attrs | 
| socket_instances | 
| threads | 
| users | 
+-------------------------------------------+
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 
14 
Performance Schema Table Types 
Summary Tables 
Summarise event information over multiple dimensions 
Useful for longer term monitoring of activity 
+------------------------------------------------------+ 
| table_name | 
+------------------------------------------------------+ 
| events_stages_summary_by_account_by_event_name | 
| events_stages_summary_by_host_by_event_name | 
| events_stages_summary_by_thread_by_event_name | 
| events_stages_summary_by_user_by_event_name | 
| events_stages_summary_global_by_event_name | 
| events_statements_summary_by_account_by_event_name | 
| events_statements_summary_by_digest | 
| events_statements_summary_by_host_by_event_name | 
| events_statements_summary_by_program | 
| events_statements_summary_by_thread_by_event_name | 
| events_statements_summary_by_user_by_event_name | 
| events_statements_summary_global_by_event_name | 
| events_waits_summary_by_account_by_event_name | 
| events_waits_summary_by_host_by_event_name | 
| events_waits_summary_by_instance | 
| events_waits_summary_by_thread_by_event_name | 
| events_waits_summary_by_user_by_event_name | 
| events_waits_summary_global_by_event_name | 
| file_summary_by_event_name | 
| file_summary_by_instance | 
| objects_summary_global_by_type | 
| socket_summary_by_event_name | 
| socket_summary_by_instance | 
| table_io_waits_summary_by_index_usage | 
| table_io_waits_summary_by_table | 
| table_lock_waits_summary_by_table | 
+------------------------------------------------------+
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 
15 
Performance Schema Configuration 
Configure 
Description 
Variables like “perf%” 
Fixed RAM allocation, fixed size 
Status like “perf%lost” 
Lost events due to too low buffers 
Table “setup_instruments” 
Turn on/off individual instruments 
Table “setup_consumers” 
Configure history / summary tables 
Table “setup_objects” 
Filter events by table/schema 
Table “setup_actors” 
Filter events by user/host
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 
Insert Information Protection Policy Classification from Slide 12 
16 
Profiling Examples
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 
17 
Analyzing Global Waits 
Some mutex events that can affect global concurrency (if high in list): 
wait/synch/mutex/innodb/buf_pool_mutex 
Increase innodb_buffer_pool_instances 
wait/synch/mutex/sql/Query_cache::structure_guard_mutex 
Look in to disabling the Query Cache 
wait/synch/mutex/myisam/MYISAM_SHARE::intern_lock 
Use Innodb …
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 
18 
Analyzing Global Waits 
Some File IO events to watch for (if high in list): 
wait/io/file/sql/FRM 
Tune table_open_cache / table_definition_cache 
wait/io/file/sql/file_parser (view definition parsing) 
If high on 5.5, upgrade to 5.6, (which can cache these tables) 
wait/io/file/sql/query_log and wait/io/file/sql/slow_log 
Disable the general 
Disable or tune what is logged to the slow log (long_query_time)
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 
19 
Slave SQL Load Average 
Watch wait/synch/cond/sql/MYSQL_RELAY_LOG::update_cond 
http://www.markleith.co.uk/2012/07/24/a-mysql-replication-load-average-with-performance-schema/
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 
20 
Currently Executing Statements 
SELECT_FULL_JOIN: 0 
SELECT_FULL_RANGE_JOIN: 0 
SELECT_RANGE: 1 
SELECT_RANGE_CHECK: 0 
SELECT_SCAN: 0 
SORT_MERGE_PASSES: 0 
SORT_RANGE: 0 
SORT_ROWS: 0 
SORT_SCAN: 0 
NO_INDEX_USED: 0 
NO_GOOD_INDEX_USED: 0 
NESTING_EVENT_ID: NULL 
NESTING_EVENT_TYPE: NULL 
NESTING_EVENT_LEVEL: 0 
mysql> select * from events_statements_current where timer_end is nullG 
*************************** 8. row *************************** 
THREAD_ID: 156945 
EVENT_ID: 15312 
END_EVENT_ID: NULL 
EVENT_NAME: statement/sql/select 
SOURCE: socket_connection.cc:94 
TIMER_START: 99343994725205000 
TIMER_END: NULL 
TIMER_WAIT: NULL 
LOCK_TIME: 145000000 
SQL_TEXT: /* mem dbpool.ui */ select normalized0_.round_robin_bin as round1_1256_, /* ..snip .. */ 
DIGEST: NULL 
DIGEST_TEXT: NULL 
CURRENT_SCHEMA: mem 
OBJECT_TYPE: NULL 
OBJECT_SCHEMA: NULL 
OBJECT_NAME: NULL 
OBJECT_INSTANCE_BEGIN: NULL 
MYSQL_ERRNO: 0 
RETURNED_SQLSTATE: NULL 
MESSAGE_TEXT: NULL 
ERRORS: 0 
WARNINGS: 0 
ROWS_AFFECTED: 0 
ROWS_SENT: 27 
ROWS_EXAMINED: 0 
CREATED_TMP_DISK_TABLES: 0 
CREATED_TMP_TABLES: 0 
All counters are live, and increment whilst the statements execute
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 
Insert Information Protection Policy Classification from Slide 12 
21 
Improvements made to date in MySQL 5.7
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 
Insert Information Protection Policy Classification from Slide 12 
Insert Picture Here 
22 
Memory Usage 
Metadata Locking 
Replication Configuration & Status 
Prepared Statements 
Transactions 
Stored Programs
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 
Insert Information Protection Policy Classification from Slide 12 
24 
The MySQL SYS Schema
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 
25 
MySQL SYS Schema Overview 
Originally called “ps_helper” 
Started as a collection of views, procedures and functions, designed to make reading raw Performance Schema data easier 
Implements many of the common DBA and Developer use cases, including many of those shown already 
Now bundled within MySQL Workbench 6.1 
Available on GitHub 
https://github.com/MarkLeith/mysql-sys
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 
Insert Information Protection Policy Classification from Slide 12 
32 
MySQL Workbench 
DEMO
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 
MySQL Workbench Overview Design, Develop, Administer, Migrate And now adding – Performance 
•MySQL Database IDE 
•Millions of Users 
•Millions of Downloads 
•Windows, OS X, Linux
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 
Performance Schema Reports 
•Connect 
•(DB Click or Open and Connect) 
•Go to Management Tab 
•If needed (Bottom Left) 
•Go to Performance Reports 
•New Performance Section
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 
New Screen – Performance Schema Setup 
YES – its on NO – its off Advanced – for power users
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 
Open Settings Before Running Performance Reports
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 
First Run – Install SYS Schema
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 
SYS now Added 
•No Tables 
•Only 
•Views 
•SPs 
•Functions 
•Operates on 
•Performance Schema 
•Information Schema
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 
sys.<table> versus sys.x$<table> 
•Providing 2 options 
•One is easy 
•To read in a query 
•Other (x$) is easier 
•To compare 
•To Export to spreadsheet 
•To Graph 
•To consume in code
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 
SYS - SPs and Functions 
SPs Used to simplify management 
FUNCTIONS 
Used for Formatting and Simple Checks
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 
Many WB Performance Reports 
•WB wrappers many SYS views 
•If we’ve missed a needed report or view 
•Let us know 
•Happy to add more 
•Even if not performance related 
•Could go in an Inspector
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 
General Lay Out - Header 
Title and Brief Description 
Sortable Columns 
Column Labels indicate Units
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 
General Lay Out – Footer
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 
Reports #1: IO Reports 
For Files, Event Categories, User/Thread Quickly View, Sort By #, Time, Reads, Writes, Percentages Look for Hot Spots Use to determine system requirements, tuning, etc.
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 
Reports #2: High Cost SQL Statements 
Look at query statements and statistics 
Look for Full Table Scans 
Frequency of execution 
Errors, Warnings 
Long Runtimes – Total, Max, Ave 
Large numbers of Rows – Total, Max, Ave 
Usage of Temp Tables
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 
Reports #3: Database Schema Statistics 
Quickly Review Various Stats Counts Rows Timing Paging Buffering IOs Easily find Full Scans Spot Unused Indexes Also See Schema/Table Inspectors Table, Column, Index,… Statis
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 
Reports #5: Wait Event Times (For Experts) 
Wait Event Analysis is Complex However for power expert users These reports show collected data Show the queries used to collect Provides Statistics Breaks out events by Users and Classes
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 
Reports #6: InnoDB Statistics 
Quick views 
Aggregated 
By Schema 
By Table 
Easy to sort by 
Allocation, Data, 
Pages, Pages hashed, Old Pages 
Rows cached
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 
Quick Links 
Download: http://dev.mysql.com/downloads/tools/workbench/ Bugs: http://bugs.mysql.com Forums: http://forums.mysql.com/index.php?151
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 
Supporting Resources 
Oracle and MySQL MySQL MySQL Workbench Team Blog https://blogs.oracle.com/mysqlworkbench/ MySQL Community Edition MySQL Enterprise Edition MySQL Blog, Twitter, Facebook Optimizer Blog http://oysteing.blogspot.co.uk/
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 
Insert Information Protection Policy Classification from Slide 12 
51

More Related Content

What's hot

Performance Schema and Sys Schema in MySQL 5.7
Performance Schema and Sys Schema in MySQL 5.7Performance Schema and Sys Schema in MySQL 5.7
Performance Schema and Sys Schema in MySQL 5.7Mark Leith
 
MySQL Administration and Monitoring
MySQL Administration and MonitoringMySQL Administration and Monitoring
MySQL Administration and MonitoringMark Leith
 
MySQL 5.7: Performance Schema Improvements
MySQL 5.7: Performance Schema ImprovementsMySQL 5.7: Performance Schema Improvements
MySQL 5.7: Performance Schema ImprovementsMark Leith
 
MySQL for Oracle DBAs
MySQL for Oracle DBAsMySQL for Oracle DBAs
MySQL for Oracle DBAsMark Leith
 
Instrumenting plugins for Performance Schema
Instrumenting plugins for Performance SchemaInstrumenting plugins for Performance Schema
Instrumenting plugins for Performance SchemaMark Leith
 
Mysql tech day_paris_ps_and_sys
Mysql tech day_paris_ps_and_sysMysql tech day_paris_ps_and_sys
Mysql tech day_paris_ps_and_sysMark Leith
 
Introduction to MySQL Enterprise Monitor
Introduction to MySQL Enterprise MonitorIntroduction to MySQL Enterprise Monitor
Introduction to MySQL Enterprise MonitorMark Leith
 
Developing Information Schema Plugins
Developing Information Schema PluginsDeveloping Information Schema Plugins
Developing Information Schema PluginsMark Leith
 
Basic MySQL Troubleshooting for Oracle DBAs
Basic MySQL Troubleshooting for Oracle DBAsBasic MySQL Troubleshooting for Oracle DBAs
Basic MySQL Troubleshooting for Oracle DBAsSveta Smirnova
 
MySQL Monitoring Mechanisms
MySQL Monitoring MechanismsMySQL Monitoring Mechanisms
MySQL Monitoring MechanismsMark Leith
 
MySQL Enterprise Monitor
MySQL Enterprise MonitorMySQL Enterprise Monitor
MySQL Enterprise MonitorMario Beck
 
Oracle Exadata Maintenance tasks 101 - OTN Tour 2015
Oracle Exadata Maintenance tasks 101 - OTN Tour 2015Oracle Exadata Maintenance tasks 101 - OTN Tour 2015
Oracle Exadata Maintenance tasks 101 - OTN Tour 2015Nelson Calero
 
Evolution of Performance Management: Oracle 12c adaptive optimizations - ukou...
Evolution of Performance Management: Oracle 12c adaptive optimizations - ukou...Evolution of Performance Management: Oracle 12c adaptive optimizations - ukou...
Evolution of Performance Management: Oracle 12c adaptive optimizations - ukou...Nelson Calero
 
MySQL Troubleshooting with the Performance Schema
MySQL Troubleshooting with the Performance SchemaMySQL Troubleshooting with the Performance Schema
MySQL Troubleshooting with the Performance SchemaSveta Smirnova
 
Double the Performance of Oracle SOA Suite 11g? Absolutely!
Double the Performance of Oracle SOA Suite 11g? Absolutely!Double the Performance of Oracle SOA Suite 11g? Absolutely!
Double the Performance of Oracle SOA Suite 11g? Absolutely!Revelation Technologies
 
Oracle Failover Database Cluster with Grid Infrastructure 12c
Oracle Failover Database Cluster with Grid Infrastructure 12cOracle Failover Database Cluster with Grid Infrastructure 12c
Oracle Failover Database Cluster with Grid Infrastructure 12cTrivadis
 
MySQL Enterprise Backup - BnR Scenarios
MySQL Enterprise Backup - BnR ScenariosMySQL Enterprise Backup - BnR Scenarios
MySQL Enterprise Backup - BnR ScenariosKeith Hollman
 
Real-Time Query for Data Guard
Real-Time Query for Data Guard Real-Time Query for Data Guard
Real-Time Query for Data Guard Uwe Hesse
 
Oracle AWR Data mining
Oracle AWR Data miningOracle AWR Data mining
Oracle AWR Data miningYury Velikanov
 
OUGLS 2016: How profiling works in MySQL
OUGLS 2016: How profiling works in MySQLOUGLS 2016: How profiling works in MySQL
OUGLS 2016: How profiling works in MySQLGeorgi Kodinov
 

What's hot (20)

Performance Schema and Sys Schema in MySQL 5.7
Performance Schema and Sys Schema in MySQL 5.7Performance Schema and Sys Schema in MySQL 5.7
Performance Schema and Sys Schema in MySQL 5.7
 
MySQL Administration and Monitoring
MySQL Administration and MonitoringMySQL Administration and Monitoring
MySQL Administration and Monitoring
 
MySQL 5.7: Performance Schema Improvements
MySQL 5.7: Performance Schema ImprovementsMySQL 5.7: Performance Schema Improvements
MySQL 5.7: Performance Schema Improvements
 
MySQL for Oracle DBAs
MySQL for Oracle DBAsMySQL for Oracle DBAs
MySQL for Oracle DBAs
 
Instrumenting plugins for Performance Schema
Instrumenting plugins for Performance SchemaInstrumenting plugins for Performance Schema
Instrumenting plugins for Performance Schema
 
Mysql tech day_paris_ps_and_sys
Mysql tech day_paris_ps_and_sysMysql tech day_paris_ps_and_sys
Mysql tech day_paris_ps_and_sys
 
Introduction to MySQL Enterprise Monitor
Introduction to MySQL Enterprise MonitorIntroduction to MySQL Enterprise Monitor
Introduction to MySQL Enterprise Monitor
 
Developing Information Schema Plugins
Developing Information Schema PluginsDeveloping Information Schema Plugins
Developing Information Schema Plugins
 
Basic MySQL Troubleshooting for Oracle DBAs
Basic MySQL Troubleshooting for Oracle DBAsBasic MySQL Troubleshooting for Oracle DBAs
Basic MySQL Troubleshooting for Oracle DBAs
 
MySQL Monitoring Mechanisms
MySQL Monitoring MechanismsMySQL Monitoring Mechanisms
MySQL Monitoring Mechanisms
 
MySQL Enterprise Monitor
MySQL Enterprise MonitorMySQL Enterprise Monitor
MySQL Enterprise Monitor
 
Oracle Exadata Maintenance tasks 101 - OTN Tour 2015
Oracle Exadata Maintenance tasks 101 - OTN Tour 2015Oracle Exadata Maintenance tasks 101 - OTN Tour 2015
Oracle Exadata Maintenance tasks 101 - OTN Tour 2015
 
Evolution of Performance Management: Oracle 12c adaptive optimizations - ukou...
Evolution of Performance Management: Oracle 12c adaptive optimizations - ukou...Evolution of Performance Management: Oracle 12c adaptive optimizations - ukou...
Evolution of Performance Management: Oracle 12c adaptive optimizations - ukou...
 
MySQL Troubleshooting with the Performance Schema
MySQL Troubleshooting with the Performance SchemaMySQL Troubleshooting with the Performance Schema
MySQL Troubleshooting with the Performance Schema
 
Double the Performance of Oracle SOA Suite 11g? Absolutely!
Double the Performance of Oracle SOA Suite 11g? Absolutely!Double the Performance of Oracle SOA Suite 11g? Absolutely!
Double the Performance of Oracle SOA Suite 11g? Absolutely!
 
Oracle Failover Database Cluster with Grid Infrastructure 12c
Oracle Failover Database Cluster with Grid Infrastructure 12cOracle Failover Database Cluster with Grid Infrastructure 12c
Oracle Failover Database Cluster with Grid Infrastructure 12c
 
MySQL Enterprise Backup - BnR Scenarios
MySQL Enterprise Backup - BnR ScenariosMySQL Enterprise Backup - BnR Scenarios
MySQL Enterprise Backup - BnR Scenarios
 
Real-Time Query for Data Guard
Real-Time Query for Data Guard Real-Time Query for Data Guard
Real-Time Query for Data Guard
 
Oracle AWR Data mining
Oracle AWR Data miningOracle AWR Data mining
Oracle AWR Data mining
 
OUGLS 2016: How profiling works in MySQL
OUGLS 2016: How profiling works in MySQLOUGLS 2016: How profiling works in MySQL
OUGLS 2016: How profiling works in MySQL
 

Viewers also liked

MySQL Performance - SydPHP October 2011
MySQL Performance - SydPHP October 2011MySQL Performance - SydPHP October 2011
MySQL Performance - SydPHP October 2011Graham Weldon
 
Performance Schema in MySQL (Danil Zburivsky)
Performance Schema in MySQL (Danil Zburivsky)Performance Schema in MySQL (Danil Zburivsky)
Performance Schema in MySQL (Danil Zburivsky)Ontico
 
MySQL Oslayer performace optimization
MySQL  Oslayer performace optimizationMySQL  Oslayer performace optimization
MySQL Oslayer performace optimizationLouis liu
 
An Overview to MySQL SYS Schema
An Overview to MySQL SYS Schema An Overview to MySQL SYS Schema
An Overview to MySQL SYS Schema Mydbops
 
Performance Schema for MySQL Troubleshooting
 Performance Schema for MySQL Troubleshooting Performance Schema for MySQL Troubleshooting
Performance Schema for MySQL TroubleshootingSveta Smirnova
 
MySQL User Camp: MySQL Cluster
MySQL User Camp: MySQL ClusterMySQL User Camp: MySQL Cluster
MySQL User Camp: MySQL ClusterShivji Kumar Jha
 
MySQL 5.7 New Features for Developers
MySQL 5.7 New Features for DevelopersMySQL 5.7 New Features for Developers
MySQL 5.7 New Features for DevelopersZohar Elkayam
 
Performance Schema for MySQL Troubleshooting
Performance Schema for MySQL TroubleshootingPerformance Schema for MySQL Troubleshooting
Performance Schema for MySQL TroubleshootingSveta Smirnova
 
Open source India - MySQL Labs: Multi-Source Replication
Open source India - MySQL Labs: Multi-Source ReplicationOpen source India - MySQL Labs: Multi-Source Replication
Open source India - MySQL Labs: Multi-Source ReplicationShivji Kumar Jha
 
My sql 5.7-upcoming-changes-v2
My sql 5.7-upcoming-changes-v2My sql 5.7-upcoming-changes-v2
My sql 5.7-upcoming-changes-v2Morgan Tocker
 
MySQL 5.6 - Operations and Diagnostics Improvements
MySQL 5.6 - Operations and Diagnostics ImprovementsMySQL 5.6 - Operations and Diagnostics Improvements
MySQL 5.6 - Operations and Diagnostics ImprovementsMorgan Tocker
 
Performance Schema for MySQL troubleshooting
Performance Schema for MySQL troubleshootingPerformance Schema for MySQL troubleshooting
Performance Schema for MySQL troubleshootingSveta Smirnova
 
MySQL For Linux Sysadmins
MySQL For Linux SysadminsMySQL For Linux Sysadmins
MySQL For Linux SysadminsMorgan Tocker
 
MySQL: Indexing for Better Performance
MySQL: Indexing for Better PerformanceMySQL: Indexing for Better Performance
MySQL: Indexing for Better Performancejkeriaki
 
Making the case for write-optimized database algorithms / Mark Callaghan (Fac...
Making the case for write-optimized database algorithms / Mark Callaghan (Fac...Making the case for write-optimized database algorithms / Mark Callaghan (Fac...
Making the case for write-optimized database algorithms / Mark Callaghan (Fac...Ontico
 
The InnoDB Storage Engine for MySQL
The InnoDB Storage Engine for MySQLThe InnoDB Storage Engine for MySQL
The InnoDB Storage Engine for MySQLMorgan Tocker
 
Troubleshooting MySQL Performance
Troubleshooting MySQL PerformanceTroubleshooting MySQL Performance
Troubleshooting MySQL PerformanceSveta Smirnova
 
MySQL Atchitecture and Concepts
MySQL Atchitecture and ConceptsMySQL Atchitecture and Concepts
MySQL Atchitecture and ConceptsTuyen Vuong
 

Viewers also liked (20)

MySQL Performance - SydPHP October 2011
MySQL Performance - SydPHP October 2011MySQL Performance - SydPHP October 2011
MySQL Performance - SydPHP October 2011
 
Performance Schema in MySQL (Danil Zburivsky)
Performance Schema in MySQL (Danil Zburivsky)Performance Schema in MySQL (Danil Zburivsky)
Performance Schema in MySQL (Danil Zburivsky)
 
MySQL Oslayer performace optimization
MySQL  Oslayer performace optimizationMySQL  Oslayer performace optimization
MySQL Oslayer performace optimization
 
An Overview to MySQL SYS Schema
An Overview to MySQL SYS Schema An Overview to MySQL SYS Schema
An Overview to MySQL SYS Schema
 
Performance Schema for MySQL Troubleshooting
 Performance Schema for MySQL Troubleshooting Performance Schema for MySQL Troubleshooting
Performance Schema for MySQL Troubleshooting
 
MySQL User Camp: MySQL Cluster
MySQL User Camp: MySQL ClusterMySQL User Camp: MySQL Cluster
MySQL User Camp: MySQL Cluster
 
MySQL User Camp: GTIDs
MySQL User Camp: GTIDsMySQL User Camp: GTIDs
MySQL User Camp: GTIDs
 
MySQL 5.7 New Features for Developers
MySQL 5.7 New Features for DevelopersMySQL 5.7 New Features for Developers
MySQL 5.7 New Features for Developers
 
Performance Schema for MySQL Troubleshooting
Performance Schema for MySQL TroubleshootingPerformance Schema for MySQL Troubleshooting
Performance Schema for MySQL Troubleshooting
 
Open source India - MySQL Labs: Multi-Source Replication
Open source India - MySQL Labs: Multi-Source ReplicationOpen source India - MySQL Labs: Multi-Source Replication
Open source India - MySQL Labs: Multi-Source Replication
 
MySQL Query Optimization.
MySQL Query Optimization.MySQL Query Optimization.
MySQL Query Optimization.
 
My sql 5.7-upcoming-changes-v2
My sql 5.7-upcoming-changes-v2My sql 5.7-upcoming-changes-v2
My sql 5.7-upcoming-changes-v2
 
MySQL 5.6 - Operations and Diagnostics Improvements
MySQL 5.6 - Operations and Diagnostics ImprovementsMySQL 5.6 - Operations and Diagnostics Improvements
MySQL 5.6 - Operations and Diagnostics Improvements
 
Performance Schema for MySQL troubleshooting
Performance Schema for MySQL troubleshootingPerformance Schema for MySQL troubleshooting
Performance Schema for MySQL troubleshooting
 
MySQL For Linux Sysadmins
MySQL For Linux SysadminsMySQL For Linux Sysadmins
MySQL For Linux Sysadmins
 
MySQL: Indexing for Better Performance
MySQL: Indexing for Better PerformanceMySQL: Indexing for Better Performance
MySQL: Indexing for Better Performance
 
Making the case for write-optimized database algorithms / Mark Callaghan (Fac...
Making the case for write-optimized database algorithms / Mark Callaghan (Fac...Making the case for write-optimized database algorithms / Mark Callaghan (Fac...
Making the case for write-optimized database algorithms / Mark Callaghan (Fac...
 
The InnoDB Storage Engine for MySQL
The InnoDB Storage Engine for MySQLThe InnoDB Storage Engine for MySQL
The InnoDB Storage Engine for MySQL
 
Troubleshooting MySQL Performance
Troubleshooting MySQL PerformanceTroubleshooting MySQL Performance
Troubleshooting MySQL Performance
 
MySQL Atchitecture and Concepts
MySQL Atchitecture and ConceptsMySQL Atchitecture and Concepts
MySQL Atchitecture and Concepts
 

Similar to The MySQL Performance Schema & New SYS Schema

Mysql Performance Schema - fossasia 2016
Mysql Performance Schema - fossasia 2016Mysql Performance Schema - fossasia 2016
Mysql Performance Schema - fossasia 2016Mayank Prasad
 
MySQL Performance Schema : fossasia
MySQL Performance Schema : fossasiaMySQL Performance Schema : fossasia
MySQL Performance Schema : fossasiaMayank Prasad
 
Observability of InfluxDB IOx: Tracing, Metrics and System Tables
Observability of InfluxDB IOx: Tracing, Metrics and System TablesObservability of InfluxDB IOx: Tracing, Metrics and System Tables
Observability of InfluxDB IOx: Tracing, Metrics and System TablesInfluxData
 
MySQL Performance Schema in MySQL 8.0
MySQL Performance Schema in MySQL 8.0MySQL Performance Schema in MySQL 8.0
MySQL Performance Schema in MySQL 8.0Mayank Prasad
 
Performance schema in_my_sql_5.6_pluk2013
Performance schema in_my_sql_5.6_pluk2013Performance schema in_my_sql_5.6_pluk2013
Performance schema in_my_sql_5.6_pluk2013Valeriy Kravchuk
 
Built-in query caching for all PHP MySQL extensions/APIs
Built-in query caching for all PHP MySQL extensions/APIsBuilt-in query caching for all PHP MySQL extensions/APIs
Built-in query caching for all PHP MySQL extensions/APIsUlf Wendel
 
MySQL Performance Schema, Open Source India, 2015
MySQL Performance Schema, Open Source India, 2015MySQL Performance Schema, Open Source India, 2015
MySQL Performance Schema, Open Source India, 2015Mayank Prasad
 
Oracle Database Backup
Oracle Database BackupOracle Database Backup
Oracle Database BackupHandy_Backup
 
Ajuste (tuning) del rendimiento de SQL Server 2008
Ajuste (tuning) del rendimiento de SQL Server 2008Ajuste (tuning) del rendimiento de SQL Server 2008
Ajuste (tuning) del rendimiento de SQL Server 2008Eduardo Castro
 
SQL Server Performance Analysis
SQL Server Performance AnalysisSQL Server Performance Analysis
SQL Server Performance AnalysisEduardo Castro
 
2013 Collaborate - OAUG - Presentation
2013 Collaborate - OAUG - Presentation2013 Collaborate - OAUG - Presentation
2013 Collaborate - OAUG - PresentationBiju Thomas
 
Applying profilers to my sql (fosdem 2017)
Applying profilers to my sql (fosdem 2017)Applying profilers to my sql (fosdem 2017)
Applying profilers to my sql (fosdem 2017)Valeriy Kravchuk
 
Sql server performance tuning
Sql server performance tuningSql server performance tuning
Sql server performance tuningJugal Shah
 
MySQL-Performance Schema- What's new in MySQL-5.7 DMRs
MySQL-Performance Schema- What's new in MySQL-5.7 DMRsMySQL-Performance Schema- What's new in MySQL-5.7 DMRs
MySQL-Performance Schema- What's new in MySQL-5.7 DMRsMayank Prasad
 
Oracle Basics and Architecture
Oracle Basics and ArchitectureOracle Basics and Architecture
Oracle Basics and ArchitectureSidney Chen
 
Open Source 101 2022 - MySQL Indexes and Histograms
Open Source 101 2022 - MySQL Indexes and HistogramsOpen Source 101 2022 - MySQL Indexes and Histograms
Open Source 101 2022 - MySQL Indexes and HistogramsFrederic Descamps
 
Performance Tuning With Oracle ASH and AWR. Part 1 How And What
Performance Tuning With Oracle ASH and AWR. Part 1 How And WhatPerformance Tuning With Oracle ASH and AWR. Part 1 How And What
Performance Tuning With Oracle ASH and AWR. Part 1 How And Whatudaymoogala
 
Recharge_report_Automation
Recharge_report_AutomationRecharge_report_Automation
Recharge_report_AutomationKIIT
 
15 Troubleshooting tips and Tricks for Database 21c - KSAOUG
15 Troubleshooting tips and Tricks for Database 21c - KSAOUG15 Troubleshooting tips and Tricks for Database 21c - KSAOUG
15 Troubleshooting tips and Tricks for Database 21c - KSAOUGSandesh Rao
 

Similar to The MySQL Performance Schema & New SYS Schema (20)

Mysql Performance Schema - fossasia 2016
Mysql Performance Schema - fossasia 2016Mysql Performance Schema - fossasia 2016
Mysql Performance Schema - fossasia 2016
 
MySQL Performance Schema : fossasia
MySQL Performance Schema : fossasiaMySQL Performance Schema : fossasia
MySQL Performance Schema : fossasia
 
Wait events
Wait eventsWait events
Wait events
 
Observability of InfluxDB IOx: Tracing, Metrics and System Tables
Observability of InfluxDB IOx: Tracing, Metrics and System TablesObservability of InfluxDB IOx: Tracing, Metrics and System Tables
Observability of InfluxDB IOx: Tracing, Metrics and System Tables
 
MySQL Performance Schema in MySQL 8.0
MySQL Performance Schema in MySQL 8.0MySQL Performance Schema in MySQL 8.0
MySQL Performance Schema in MySQL 8.0
 
Performance schema in_my_sql_5.6_pluk2013
Performance schema in_my_sql_5.6_pluk2013Performance schema in_my_sql_5.6_pluk2013
Performance schema in_my_sql_5.6_pluk2013
 
Built-in query caching for all PHP MySQL extensions/APIs
Built-in query caching for all PHP MySQL extensions/APIsBuilt-in query caching for all PHP MySQL extensions/APIs
Built-in query caching for all PHP MySQL extensions/APIs
 
MySQL Performance Schema, Open Source India, 2015
MySQL Performance Schema, Open Source India, 2015MySQL Performance Schema, Open Source India, 2015
MySQL Performance Schema, Open Source India, 2015
 
Oracle Database Backup
Oracle Database BackupOracle Database Backup
Oracle Database Backup
 
Ajuste (tuning) del rendimiento de SQL Server 2008
Ajuste (tuning) del rendimiento de SQL Server 2008Ajuste (tuning) del rendimiento de SQL Server 2008
Ajuste (tuning) del rendimiento de SQL Server 2008
 
SQL Server Performance Analysis
SQL Server Performance AnalysisSQL Server Performance Analysis
SQL Server Performance Analysis
 
2013 Collaborate - OAUG - Presentation
2013 Collaborate - OAUG - Presentation2013 Collaborate - OAUG - Presentation
2013 Collaborate - OAUG - Presentation
 
Applying profilers to my sql (fosdem 2017)
Applying profilers to my sql (fosdem 2017)Applying profilers to my sql (fosdem 2017)
Applying profilers to my sql (fosdem 2017)
 
Sql server performance tuning
Sql server performance tuningSql server performance tuning
Sql server performance tuning
 
MySQL-Performance Schema- What's new in MySQL-5.7 DMRs
MySQL-Performance Schema- What's new in MySQL-5.7 DMRsMySQL-Performance Schema- What's new in MySQL-5.7 DMRs
MySQL-Performance Schema- What's new in MySQL-5.7 DMRs
 
Oracle Basics and Architecture
Oracle Basics and ArchitectureOracle Basics and Architecture
Oracle Basics and Architecture
 
Open Source 101 2022 - MySQL Indexes and Histograms
Open Source 101 2022 - MySQL Indexes and HistogramsOpen Source 101 2022 - MySQL Indexes and Histograms
Open Source 101 2022 - MySQL Indexes and Histograms
 
Performance Tuning With Oracle ASH and AWR. Part 1 How And What
Performance Tuning With Oracle ASH and AWR. Part 1 How And WhatPerformance Tuning With Oracle ASH and AWR. Part 1 How And What
Performance Tuning With Oracle ASH and AWR. Part 1 How And What
 
Recharge_report_Automation
Recharge_report_AutomationRecharge_report_Automation
Recharge_report_Automation
 
15 Troubleshooting tips and Tricks for Database 21c - KSAOUG
15 Troubleshooting tips and Tricks for Database 21c - KSAOUG15 Troubleshooting tips and Tricks for Database 21c - KSAOUG
15 Troubleshooting tips and Tricks for Database 21c - KSAOUG
 

More from Ted Wennmark

MySQL NDB Cluster 8.0
MySQL NDB Cluster 8.0MySQL NDB Cluster 8.0
MySQL NDB Cluster 8.0Ted Wennmark
 
Upgrade to MySQL 8.0!
Upgrade to MySQL 8.0!Upgrade to MySQL 8.0!
Upgrade to MySQL 8.0!Ted Wennmark
 
MySQL Performance - Best practices
MySQL Performance - Best practices MySQL Performance - Best practices
MySQL Performance - Best practices Ted Wennmark
 
01 upgrade to my sql8
01 upgrade to my sql8 01 upgrade to my sql8
01 upgrade to my sql8 Ted Wennmark
 
MySQL as a Document Store
MySQL as a Document StoreMySQL as a Document Store
MySQL as a Document StoreTed Wennmark
 
Upgrade to MySQL 5.7 and latest news planned for MySQL 8
Upgrade to MySQL 5.7 and latest news planned for MySQL 8Upgrade to MySQL 5.7 and latest news planned for MySQL 8
Upgrade to MySQL 5.7 and latest news planned for MySQL 8Ted Wennmark
 
MySQL Enterprise Backup apr 2016
MySQL Enterprise Backup apr 2016MySQL Enterprise Backup apr 2016
MySQL Enterprise Backup apr 2016Ted Wennmark
 
MySQL 5.7 Replication News
MySQL 5.7 Replication News MySQL 5.7 Replication News
MySQL 5.7 Replication News Ted Wennmark
 
MySQL 5.6, news in 5.7 and our HA options
MySQL 5.6, news in 5.7 and our HA optionsMySQL 5.6, news in 5.7 and our HA options
MySQL 5.6, news in 5.7 and our HA optionsTed Wennmark
 
Introduction to MySQL
Introduction to MySQLIntroduction to MySQL
Introduction to MySQLTed Wennmark
 
MySQL Fabric - High Availability & Automated Sharding for MySQL
MySQL Fabric - High Availability & Automated Sharding for MySQLMySQL Fabric - High Availability & Automated Sharding for MySQL
MySQL Fabric - High Availability & Automated Sharding for MySQLTed Wennmark
 
MySQL Enterprise Monitor
MySQL Enterprise MonitorMySQL Enterprise Monitor
MySQL Enterprise MonitorTed Wennmark
 
What's new in my sql smug
What's new in my sql smugWhat's new in my sql smug
What's new in my sql smugTed Wennmark
 

More from Ted Wennmark (17)

MySQL NDB Cluster 8.0
MySQL NDB Cluster 8.0MySQL NDB Cluster 8.0
MySQL NDB Cluster 8.0
 
Upgrade to MySQL 8.0!
Upgrade to MySQL 8.0!Upgrade to MySQL 8.0!
Upgrade to MySQL 8.0!
 
MySQL Performance - Best practices
MySQL Performance - Best practices MySQL Performance - Best practices
MySQL Performance - Best practices
 
01 upgrade to my sql8
01 upgrade to my sql8 01 upgrade to my sql8
01 upgrade to my sql8
 
MySQL as a Document Store
MySQL as a Document StoreMySQL as a Document Store
MySQL as a Document Store
 
Upgrade to MySQL 5.7 and latest news planned for MySQL 8
Upgrade to MySQL 5.7 and latest news planned for MySQL 8Upgrade to MySQL 5.7 and latest news planned for MySQL 8
Upgrade to MySQL 5.7 and latest news planned for MySQL 8
 
MySQL HA
MySQL HAMySQL HA
MySQL HA
 
MySQL Enterprise Backup apr 2016
MySQL Enterprise Backup apr 2016MySQL Enterprise Backup apr 2016
MySQL Enterprise Backup apr 2016
 
MySQL Security
MySQL SecurityMySQL Security
MySQL Security
 
MySQL 5.7 Replication News
MySQL 5.7 Replication News MySQL 5.7 Replication News
MySQL 5.7 Replication News
 
MySQL 5.6, news in 5.7 and our HA options
MySQL 5.6, news in 5.7 and our HA optionsMySQL 5.6, news in 5.7 and our HA options
MySQL 5.6, news in 5.7 and our HA options
 
Introduction to MySQL
Introduction to MySQLIntroduction to MySQL
Introduction to MySQL
 
MySQL Fabric - High Availability & Automated Sharding for MySQL
MySQL Fabric - High Availability & Automated Sharding for MySQLMySQL Fabric - High Availability & Automated Sharding for MySQL
MySQL Fabric - High Availability & Automated Sharding for MySQL
 
MySQL Enterprise Monitor
MySQL Enterprise MonitorMySQL Enterprise Monitor
MySQL Enterprise Monitor
 
MySQL@king
MySQL@kingMySQL@king
MySQL@king
 
NoSQL and MySQL
NoSQL and MySQLNoSQL and MySQL
NoSQL and MySQL
 
What's new in my sql smug
What's new in my sql smugWhat's new in my sql smug
What's new in my sql smug
 

Recently uploaded

Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAl Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAroojKhan71
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
Week-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionWeek-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionfulawalesam
 
RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998YohFuh
 
CebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxCebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxolyaivanovalion
 
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiLow Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiSuhani Kapoor
 
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubaihf8803863
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysismanisha194592
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptxAnupama Kate
 
Customer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxCustomer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxEmmanuel Dauda
 
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...Suhani Kapoor
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxolyaivanovalion
 
Halmar dropshipping via API with DroFx
Halmar  dropshipping  via API with DroFxHalmar  dropshipping  via API with DroFx
Halmar dropshipping via API with DroFxolyaivanovalion
 
Carero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxCarero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxolyaivanovalion
 
04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationshipsccctableauusergroup
 
Mature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxMature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxolyaivanovalion
 
Brighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingBrighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingNeil Barnes
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Callshivangimorya083
 
Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfLars Albertsson
 

Recently uploaded (20)

Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAl Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
 
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Punjabi Bagh 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
Week-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionWeek-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interaction
 
RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998
 
CebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptxCebaBaby dropshipping via API with DroFX.pptx
CebaBaby dropshipping via API with DroFX.pptx
 
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service BhilaiLow Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
Low Rate Call Girls Bhilai Anika 8250192130 Independent Escort Service Bhilai
 
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls DubaiDubai Call Girls Wifey O52&786472 Call Girls Dubai
Dubai Call Girls Wifey O52&786472 Call Girls Dubai
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysis
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx
 
Customer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptxCustomer Service Analytics - Make Sense of All Your Data.pptx
Customer Service Analytics - Make Sense of All Your Data.pptx
 
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptx
 
Halmar dropshipping via API with DroFx
Halmar  dropshipping  via API with DroFxHalmar  dropshipping  via API with DroFx
Halmar dropshipping via API with DroFx
 
E-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptxE-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptx
 
Carero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxCarero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptx
 
04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships04242024_CCC TUG_Joins and Relationships
04242024_CCC TUG_Joins and Relationships
 
Mature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxMature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptx
 
Brighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data StorytellingBrighton SEO | April 2024 | Data Storytelling
Brighton SEO | April 2024 | Data Storytelling
 
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
 
Industrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdfIndustrialised data - the key to AI success.pdf
Industrialised data - the key to AI success.pdf
 

The MySQL Performance Schema & New SYS Schema

  • 1. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 1
  • 2. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 2 Performance Schema & SYS schema Ted Wennmark, principal system consultant and MySQL cluster specialist, EMEA ted.wennmark@oracle.com
  • 3. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 3 Program Agenda What is Performance Schema? Profiling Examples Improvements made to date in MySQL 5.7 The MySQL SYS Schema Easy to Use with MySQL Workbench
  • 4. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 4 What is Performance Schema?
  • 5. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 5 What is Performance Schema? A storage engine, built for recording instrumentation –PERFORMANCE_SCHEMA A database schema to expose the instrumentation –performance_schema Records latency of events that happen within the server All latency exposed to picosecond Also tracks other information as appropriate - Bytes, source position, object metadata, etc.
  • 6. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 6 Performance Schema in MySQL 5.5 17 Tables 222 Instruments Instrument Event Class File IO wait/io/file/% Mutexes wait/synch/mutex/% Read/Write Locks wait/synch/rwlock/% Conditions wait/synch/cond/%
  • 7. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 7 Wait Events Event Context Event type and origin Timing (~1 ms) Database object info Object type Whether the event was nested Further info as appropriate mysql > select * from events_waits_currentG THREAD_ID: 3 EVENT_ID: 216 END_EVENT_ID: 216 EVENT_NAME: wait/io/file/innodb/innodb_log_file SOURCE: fil0fil.cc:5886 TIMER_START: 8676267009310268 TIMER_END: 8676268029825193 TIMER_WAIT: 1020514925 SPINS: NULL OBJECT_SCHEMA: NULL OBJECT_NAME: /home/ted/sandboxes/msb_5_6_21/data/ib_logfile1 INDEX_NAME: NULL OBJECT_TYPE: FILE OBJECT_INSTANCE_BEGIN: 139847142992128 NESTING_EVENT_ID: NULL NESTING_EVENT_TYPE: NULL OPERATION: sync NUMBER_OF_BYTES: NULL FLAGS: NULL
  • 8. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 8 Wait Events SOURCE: fil0fil.cc:5886 -> File:storage/innobase/fil/fil0fil.cc fil_flush(...) { ... os_file_flush(file); row #5886 ... } File: storage/innobase/include/os0file.h # define os_file_flush(file ...) pfs_os_file_flush_func(file ...) File: storage/innobase/include/os0file.ic pfs_os_file_flush_func(...) { ... register_pfs_file_io_begin(...); result = os_file_flush_func(file); register_pfs_file_io_end(...); return(result); } t_end – t_begin = Latency
  • 9. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 9 Performance Schema in MySQL 5.6 52 Tables (+35) 545 Instruments (+323) Instrument Type Event Class Statements statement/% Stages stage/% Table IO wait/io/table/% Table Locks wait/lock/table/% Network IO wait/io/socket/% Idle Timing idle
  • 10. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 10 Statement Events mysql> select * from events_statements_history_long limit 2G *************************** 1. row *************************** THREAD_ID: 61 EVENT_ID: 1829116 END_EVENT_ID: 1829145 EVENT_NAME: statement/sql/select SOURCE: mysqld.cc:957 TIMER_START: 12709482562961000 TIMER_END: 12709482692808000 TIMER_WAIT: 129847000 LOCK_TIME: 54000000 SQL_TEXT: SELECT intcol1,charcol1 FROM t1 WHERE id = 'fe85c640-5229-11e4-a018-7c7a9103' DIGEST: d87e45e397f6958a419bfe32f1b958fd DIGEST_TEXT: SELECT intcol1 , charcol1 FROM t1 WHERE id = ? CURRENT_SCHEMA: mysqlslap OBJECT_TYPE: NULL OBJECT_SCHEMA: NULL OBJECT_NAME: NULL OBJECT_INSTANCE_BEGIN: NULL MYSQL_ERRNO: 0 RETURNED_SQLSTATE: NULL MESSAGE_TEXT: NULL ERRORS: 0 WARNINGS: 0 ROWS_AFFECTED: 0 ROWS_SENT: 1 ROWS_EXAMINED: 1 CREATED_TMP_DISK_TABLES: 0 CREATED_TMP_TABLES: 0 SELECT_FULL_JOIN: 0 SELECT_FULL_RANGE_JOIN: 0 SELECT_RANGE: 0 SELECT_RANGE_CHECK: 0 SELECT_SCAN: 0 SORT_MERGE_PASSES: 0 SORT_RANGE: 0 SORT_ROWS: 0 SORT_SCAN: 0 NO_INDEX_USED: 0 NO_GOOD_INDEX_USED: 0 NESTING_EVENT_ID: NULL NESTING_EVENT_TYPE: NULL
  • 11. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Stored Programs Transactions 11 Nested Events Statements Stages Waits MySQL 5.5 MySQL 5.6 MySQL 5.7 mysql> select * from events_waits_history_long ******************** 1. row ******************** ... EVENT_NAME: wait/io/table/sql/handler ... NESTING_EVENT_ID: 3603 NESTING_EVENT_TYPE: STAGE
  • 12. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 12 Performance Schema Table Types Setup Tables Used to define certain configuration dynamically Can perform DML against these tables mysql> select table_name -> from information_schema.tables -> where table_schema like 'perf%' -> and table_name like 'setup%'; +-------------------+ | table_name | +-------------------+ | setup_actors | | setup_consumers | | setup_instruments | | setup_objects | | setup_timers | +-------------------+
  • 13. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 13 Performance Schema Table Types Raw Data Tables Expose events, objects, or instances of instruments in a raw manner Allow seeing a (brief) history of raw event metrics as well +-------------------------------------------+ | table_name | +-------------------------------------------+ | accounts | | cond_instances | | events_stages_current | | events_stages_history | | events_stages_history_long | | events_statements_current | | events_statements_history | | events_statements_history_long | | events_waits_current | | events_waits_history | | events_waits_history_long | | file_instances | | host_cache | | hosts | | mutex_instances | | performance_timers | | rwlock_instances | | session_account_connect_attrs | | session_connect_attrs | | socket_instances | | threads | | users | +-------------------------------------------+
  • 14. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 14 Performance Schema Table Types Summary Tables Summarise event information over multiple dimensions Useful for longer term monitoring of activity +------------------------------------------------------+ | table_name | +------------------------------------------------------+ | events_stages_summary_by_account_by_event_name | | events_stages_summary_by_host_by_event_name | | events_stages_summary_by_thread_by_event_name | | events_stages_summary_by_user_by_event_name | | events_stages_summary_global_by_event_name | | events_statements_summary_by_account_by_event_name | | events_statements_summary_by_digest | | events_statements_summary_by_host_by_event_name | | events_statements_summary_by_program | | events_statements_summary_by_thread_by_event_name | | events_statements_summary_by_user_by_event_name | | events_statements_summary_global_by_event_name | | events_waits_summary_by_account_by_event_name | | events_waits_summary_by_host_by_event_name | | events_waits_summary_by_instance | | events_waits_summary_by_thread_by_event_name | | events_waits_summary_by_user_by_event_name | | events_waits_summary_global_by_event_name | | file_summary_by_event_name | | file_summary_by_instance | | objects_summary_global_by_type | | socket_summary_by_event_name | | socket_summary_by_instance | | table_io_waits_summary_by_index_usage | | table_io_waits_summary_by_table | | table_lock_waits_summary_by_table | +------------------------------------------------------+
  • 15. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 15 Performance Schema Configuration Configure Description Variables like “perf%” Fixed RAM allocation, fixed size Status like “perf%lost” Lost events due to too low buffers Table “setup_instruments” Turn on/off individual instruments Table “setup_consumers” Configure history / summary tables Table “setup_objects” Filter events by table/schema Table “setup_actors” Filter events by user/host
  • 16. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 16 Profiling Examples
  • 17. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 17 Analyzing Global Waits Some mutex events that can affect global concurrency (if high in list): wait/synch/mutex/innodb/buf_pool_mutex Increase innodb_buffer_pool_instances wait/synch/mutex/sql/Query_cache::structure_guard_mutex Look in to disabling the Query Cache wait/synch/mutex/myisam/MYISAM_SHARE::intern_lock Use Innodb …
  • 18. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 18 Analyzing Global Waits Some File IO events to watch for (if high in list): wait/io/file/sql/FRM Tune table_open_cache / table_definition_cache wait/io/file/sql/file_parser (view definition parsing) If high on 5.5, upgrade to 5.6, (which can cache these tables) wait/io/file/sql/query_log and wait/io/file/sql/slow_log Disable the general Disable or tune what is logged to the slow log (long_query_time)
  • 19. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 19 Slave SQL Load Average Watch wait/synch/cond/sql/MYSQL_RELAY_LOG::update_cond http://www.markleith.co.uk/2012/07/24/a-mysql-replication-load-average-with-performance-schema/
  • 20. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 20 Currently Executing Statements SELECT_FULL_JOIN: 0 SELECT_FULL_RANGE_JOIN: 0 SELECT_RANGE: 1 SELECT_RANGE_CHECK: 0 SELECT_SCAN: 0 SORT_MERGE_PASSES: 0 SORT_RANGE: 0 SORT_ROWS: 0 SORT_SCAN: 0 NO_INDEX_USED: 0 NO_GOOD_INDEX_USED: 0 NESTING_EVENT_ID: NULL NESTING_EVENT_TYPE: NULL NESTING_EVENT_LEVEL: 0 mysql> select * from events_statements_current where timer_end is nullG *************************** 8. row *************************** THREAD_ID: 156945 EVENT_ID: 15312 END_EVENT_ID: NULL EVENT_NAME: statement/sql/select SOURCE: socket_connection.cc:94 TIMER_START: 99343994725205000 TIMER_END: NULL TIMER_WAIT: NULL LOCK_TIME: 145000000 SQL_TEXT: /* mem dbpool.ui */ select normalized0_.round_robin_bin as round1_1256_, /* ..snip .. */ DIGEST: NULL DIGEST_TEXT: NULL CURRENT_SCHEMA: mem OBJECT_TYPE: NULL OBJECT_SCHEMA: NULL OBJECT_NAME: NULL OBJECT_INSTANCE_BEGIN: NULL MYSQL_ERRNO: 0 RETURNED_SQLSTATE: NULL MESSAGE_TEXT: NULL ERRORS: 0 WARNINGS: 0 ROWS_AFFECTED: 0 ROWS_SENT: 27 ROWS_EXAMINED: 0 CREATED_TMP_DISK_TABLES: 0 CREATED_TMP_TABLES: 0 All counters are live, and increment whilst the statements execute
  • 21. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 21 Improvements made to date in MySQL 5.7
  • 22. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 Insert Picture Here 22 Memory Usage Metadata Locking Replication Configuration & Status Prepared Statements Transactions Stored Programs
  • 23. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 24 The MySQL SYS Schema
  • 24. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. 25 MySQL SYS Schema Overview Originally called “ps_helper” Started as a collection of views, procedures and functions, designed to make reading raw Performance Schema data easier Implements many of the common DBA and Developer use cases, including many of those shown already Now bundled within MySQL Workbench 6.1 Available on GitHub https://github.com/MarkLeith/mysql-sys
  • 25. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 32 MySQL Workbench DEMO
  • 26. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. MySQL Workbench Overview Design, Develop, Administer, Migrate And now adding – Performance •MySQL Database IDE •Millions of Users •Millions of Downloads •Windows, OS X, Linux
  • 27. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Performance Schema Reports •Connect •(DB Click or Open and Connect) •Go to Management Tab •If needed (Bottom Left) •Go to Performance Reports •New Performance Section
  • 28. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. New Screen – Performance Schema Setup YES – its on NO – its off Advanced – for power users
  • 29. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Open Settings Before Running Performance Reports
  • 30. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. First Run – Install SYS Schema
  • 31. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. SYS now Added •No Tables •Only •Views •SPs •Functions •Operates on •Performance Schema •Information Schema
  • 32. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. sys.<table> versus sys.x$<table> •Providing 2 options •One is easy •To read in a query •Other (x$) is easier •To compare •To Export to spreadsheet •To Graph •To consume in code
  • 33. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. SYS - SPs and Functions SPs Used to simplify management FUNCTIONS Used for Formatting and Simple Checks
  • 34. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Many WB Performance Reports •WB wrappers many SYS views •If we’ve missed a needed report or view •Let us know •Happy to add more •Even if not performance related •Could go in an Inspector
  • 35. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. General Lay Out - Header Title and Brief Description Sortable Columns Column Labels indicate Units
  • 36. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. General Lay Out – Footer
  • 37. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Reports #1: IO Reports For Files, Event Categories, User/Thread Quickly View, Sort By #, Time, Reads, Writes, Percentages Look for Hot Spots Use to determine system requirements, tuning, etc.
  • 38. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Reports #2: High Cost SQL Statements Look at query statements and statistics Look for Full Table Scans Frequency of execution Errors, Warnings Long Runtimes – Total, Max, Ave Large numbers of Rows – Total, Max, Ave Usage of Temp Tables
  • 39. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Reports #3: Database Schema Statistics Quickly Review Various Stats Counts Rows Timing Paging Buffering IOs Easily find Full Scans Spot Unused Indexes Also See Schema/Table Inspectors Table, Column, Index,… Statis
  • 40. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Reports #5: Wait Event Times (For Experts) Wait Event Analysis is Complex However for power expert users These reports show collected data Show the queries used to collect Provides Statistics Breaks out events by Users and Classes
  • 41. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Reports #6: InnoDB Statistics Quick views Aggregated By Schema By Table Easy to sort by Allocation, Data, Pages, Pages hashed, Old Pages Rows cached
  • 42. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Quick Links Download: http://dev.mysql.com/downloads/tools/workbench/ Bugs: http://bugs.mysql.com Forums: http://forums.mysql.com/index.php?151
  • 43. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Supporting Resources Oracle and MySQL MySQL MySQL Workbench Team Blog https://blogs.oracle.com/mysqlworkbench/ MySQL Community Edition MySQL Enterprise Edition MySQL Blog, Twitter, Facebook Optimizer Blog http://oysteing.blogspot.co.uk/
  • 44. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 51