SlideShare ist ein Scribd-Unternehmen logo
1 von 38
Downloaden Sie, um offline zu lesen
<Insert Picture Here>
MySQL Query Tracing And Profiling
Johannes Schlüter
MySQL Engineering Connectors And Client Connectivity
• Performance • Scalability
Performance Limiters
At least a few of them
IO
CPU Memory
• Amount
• Speed
• CPU-Architecture
(NUMA?)
• ...
• Frequency
• Scale
• ...
• Disc
• Network
• ...
• If I …
– Use a more CPU efficient algorithm
• I might need more memory (and vice versa)
– Add compression to save IO
• I need more CPU
– Offload work from the database
• I need a bigger app/web server
➔
Improving one piece might have bad impact on others
We're talking about the Web …
Measure What Matters!
• Goal has to be to server more users and/or serve
faster
• Some tools:
– Apache httpd's ab
– Apache JMeter
– Siege
• Measure the base line
• Decide what to focus on
– Latency, throughput, ...
We're talking about the Web …
… don't forget the Frontend!
<Insert Picture Here>
80 / 20
PHP Profiling
• Xdebug
– Free / OpenSource
– $ pecl install xdebug
– $ php -d xdebug.profiler_enale=1 script.php
– KCacheGrind, WinCacheGrind, WebGrind
– http://xdebug.org
• Zend Platform/Studio
– commercial
Finding the Slow/Expensive Queries
PHP-Based Database Wrapper
class MyPDO extends PDO {
private $data = array();
public function query($stmt) {
$stats_before = mysqli_get_client_stats();
$start = microtime(true);
$retval = parent::query($stmt);
$end = microtime(true);
$stats_after = mysqli_get_client_stats();
$this->data[] = array(
'stmt' => $stmt,
'time' => $end - $start,
'bytes_sent' => $stats_after['bytes_sent'] - $stats_before['bytes_sent']
);
return $retval;
}
}
mysqlnd Statistics
• Around 150 statistic values collected
• mysqli_get_client_stats (),
mysqli_get_connection_stats()
PHP-Based Database Wrapper
✔
Aware of the application
✔
Requires no changes to the Server
✗
Application changes needed
✗
Probably notable performance impact
PHP mysqlnd_uh
// php.ini
auto_prepend_file=autoprepend.php
// autoprepend.php
class ConnProxy extends MysqlndUHConnection {
public function query($conn, $stmt) {
// Same code as before ...
}
}
mysqlnd_uh_set_connection_proxy(new ConnProxy());
PHP mysqlnd_uh
✔
Aware of the application
✔
Requires no changes to the server
• Very little application change needed
✗
Probably notable performance impact
✗
No stable version
MySQL Proxy
• “MySQL Proxy is a simple program that sits between
your client and MySQL server(s) that can monitor,
analyze or transform their communication.“
• Can be programmed using LUA
function read_query( packet )
if string.byte(packet) == proxy.COM_QUERY then
local query = string.sub(packet, 2)
print("we got a normal query: " .. query)
end
end
MySQL Proxy
✔
Requires only changes to the configuration, not the
code
✔
Can be placed on app server, database server or
dedicated machine
✔
No actual code changes needed
✔
No server admin changes needed
✗
Requires knowledge of LUA and the MySQL protocol
✗
Not application-aware
✗
No GA version
Slow Query Log
• --slow_query_log=1
$ mysqldumpslow
Reading mysql slow query log from /usr/local/mysql/data/mysqld51-slow.log
Count: 1 Time=4.32s (4s) Lock=0.00s (0s) Rows=0.0 (0), root[root]@localhost
insert into t2 select * from t1
Count: 3 Time=2.53s (7s) Lock=0.00s (0s) Rows=0.0 (0), root[root]@localhost
insert into t2 select * from t1 limit N
Count: 3 Time=2.13s (6s) Lock=0.00s (0s) Rows=0.0 (0), root[root]@localhost
insert into t1 select * from t1
DTrace
#!/usr/sbin/dtrace -qs
mysql*:mysqld::query-start {
this->query = copyinstr(arg0);
this->start = timestamp;
this->in_filesort = 0;
}
mysql*:mysqld::filesort-start {
this->in_filesort = 1;
}
mysql*:mysqld::query-done
/ this->in_filesort / {
printf("%u: %sn",
timestamp – this->start,
this->query);
}
DTrace
✔
Low impact on system
✔
No changes to the system
✔
Can be attached while running
✔
Access to all information on the system
• Oracle Solaris Kernel feature (ported to BSD, MacOS)
✗
Deep system knowledge required
✗
System user with the needed rights required
<Insert Picture Here>
Can the query be avoided?
Can it be cached?
Can it be simplified?
Can it be optimized?
Explain
mysql> EXPLAIN SELECT first_name, last_name, salary
FROM employees e
LEFT JOIN salaries s ON e.emp_no = s.emp_no
WHERE salary > 67000
AND e.last_name LIKE '%fg%'
AND s.to_date = '9999-01-01';
+----+-------------+-------+------+----------------+
| id | select_type | table | type | possible_keys |
+----+-------------+-------+------+----------------+
| 1 | SIMPLE | e | ALL | PRIMARY |
| 1 | SIMPLE | s | ref | PRIMARY,emp_no |
+----+-------------+-------+------+----------------+
+--------+---------+--------------------+--------+-------------+
| key | key_len | ref | rows | Extra |
+--------+---------+--------------------+--------+-------------+
| NULL | NULL | NULL | 300363 | Using where |
| emp_no | 4 | employees.e.emp_no | 4 | Using where |
+--------+---------+--------------------+--------+-------------+
SHOW PROFILES;
mysql> SET profiling = 1;
mysql> SELECT first_name, last_name, salary
FROM employees e
LEFT JOIN salaries s ON e.emp_no = s.emp_no
WHERE salary > 67000
AND last_name LIKE '%fg%' AND to_date = '9999-01-01';
mysql> SHOW PROFILES;
+----------+------------------------------------------------+
| Query_ID | Duration | Query |
+----------+------------+-----------------------------------+
| 1 | 0.33801275 | SELECT first_name, last_name, ...
... to_date = '9999-01-01'|
+----------+------------+-----------------------------------+
SHOW PROFILE;
mysql> SHOW PROFILE CPU FOR QUERY 1;
+­­­­­­­­­­­­­­­­­­­­+­­­­­­­­­­+­­­­­­­­­­+­­­­­­­­­­­­+
| Status             | Duration | CPU_user | CPU_system |
+­­­­­­­­­­­­­­­­­­­­+­­­­­­­­­­+­­­­­­­­­­+­­­­­­­­­­­­+
| starting           | 0.000101 | 0.000089 |   0.000011 | 
| Opening tables     | 0.000015 | 0.000014 |   0.000002 | 
| System lock        | 0.000006 | 0.000005 |   0.000001 | 
| Table lock         | 0.000009 | 0.000008 |   0.000001 | 
| init               | 0.000033 | 0.000032 |   0.000001 | 
| optimizing         | 0.000016 | 0.000015 |   0.000001 | 
| statistics         | 0.000024 | 0.000023 |   0.000001 | 
| preparing          | 0.000017 | 0.000015 |   0.000001 | 
| executing          | 0.000004 | 0.000003 |   0.000001 | 
| Sending data       | 0.337715 | 0.382104 |   0.013387 | 
| end                | 0.000014 | 0.000006 |   0.000006 | 
| query end          | 0.000005 | 0.000004 |   0.000001 | 
| freeing items      | 0.000046 | 0.000024 |   0.000022 | 
| logging slow query | 0.000004 | 0.000002 |   0.000001 | 
| cleaning up        | 0.000005 | 0.000005 |   0.000001 | 
+­­­­­­­­­­­­­­­­­­­­+­­­­­­­­­­+­­­­­­­­­­+­­­­­­­­­­­­+
MySQL 5.5 Performance Schema
• PERFORMANCE_SCHEMA
presents low level MySQL
performance information
• Data can be cleared
• Filters with WHERE are
allowed
• Must be enabled with
--performance_schema
mysql> SELECT EVENT_ID, EVENT_NAME, TIMER_WAIT
-> FROM EVENTS_WAITS_HISTORY WHERE THREAD_ID = 13
-> ORDER BY EVENT_ID;
+----------+-----------------------------------------+------------+
| EVENT_ID | EVENT_NAME | TIMER_WAIT |
+----------+-----------------------------------------+------------+
| 86 | wait/synch/mutex/mysys/THR_LOCK::mutex | 686322 |
| 87 | wait/synch/mutex/mysys/THR_LOCK_malloc | 320535 |
| 88 | wait/synch/mutex/mysys/THR_LOCK_malloc | 339390 |
| 89 | wait/synch/mutex/mysys/THR_LOCK_malloc | 377100 |
| 90 | wait/synch/mutex/sql/LOCK_plugin | 614673 |
| 91 | wait/synch/mutex/sql/LOCK_open | 659925 |
| 92 | wait/synch/mutex/sql/THD::LOCK_thd_data | 494001 |
| 93 | wait/synch/mutex/mysys/THR_LOCK_malloc | 222489 |
| 94 | wait/synch/mutex/mysys/THR_LOCK_malloc | 214947 |
| 95 | wait/synch/mutex/mysys/LOCK_alarm | 312993 |
+----------+-----------------------------------------+------------+
mysql> UPDATE SETUP_INSTRUMENTS
-> SET ENABLED = 'NO'
-> WHERE NAME = 'wait/synch/mutex/myisammrg/MYRG_INFO::mutex';
mysql> UPDATE SETUP_CONSUMERS
-> SET ENABLED = 'NO' WHERE NAME = 'file_summary_by_instance';
Performance Schema
mysql> SHOW TABLES FROM performance_schema;
+----------------------------------------------+
| Tables_in_performance_schema |
+----------------------------------------------+
| COND_INSTANCES |
| EVENTS_WAITS_CURRENT |
| EVENTS_WAITS_HISTORY |
| EVENTS_WAITS_HISTORY_LONG |
| EVENTS_WAITS_SUMMARY_BY_INSTANCE |
| EVENTS_WAITS_SUMMARY_BY_THREAD_BY_EVENT_NAME |
| EVENTS_WAITS_SUMMARY_GLOBAL_BY_EVENT_NAME |
| FILE_INSTANCES |
| FILE_SUMMARY_BY_EVENT_NAME |
| FILE_SUMMARY_BY_INSTANCE |
| MUTEX_INSTANCES |
| PERFORMANCE_TIMERS |
| RWLOCK_INSTANCES |
| SETUP_CONSUMERS |
| SETUP_INSTRUMENTS |
| SETUP_TIMERS |
| THREADS |
+----------------------------------------------+
Performance Schema
mysql> SELECT EVENT_ID, EVENT_NAME, TIMER_WAIT AS WAIT
-> FROM EVENTS_WAITS_HISTORY WHERE THREAD_ID = 13
-> ORDER BY EVENT_ID;
+----------+-----------------------------------------+--------+
| EVENT_ID | EVENT_NAME | WAIT |
+----------+-----------------------------------------+--------+
| 86 | wait/synch/mutex/mysys/THR_LOCK::mutex | 686322 |
| 87 | wait/synch/mutex/mysys/THR_LOCK_malloc | 320535 |
| 88 | wait/synch/mutex/mysys/THR_LOCK_malloc | 339390 |
| 89 | wait/synch/mutex/mysys/THR_LOCK_malloc | 377100 |
| 90 | wait/synch/mutex/sql/LOCK_plugin | 614673 |
| 91 | wait/synch/mutex/sql/LOCK_open | 659925 |
| 92 | wait/synch/mutex/sql/THD::LOCK_thd_data | 494001 |
| 93 | wait/synch/mutex/mysys/THR_LOCK_malloc | 222489 |
| 94 | wait/synch/mutex/mysys/THR_LOCK_malloc | 214947 |
| 95 | wait/synch/mutex/mysys/LOCK_alarm | 312993 |
+----------+-----------------------------------------+--------+
mysql> SELECT * FROM EVENTS_WAITS_CURRENTG
*************************** 1. row ***************************
THREAD_ID: 0
EVENT_ID: 5523
EVENT_NAME: wait/synch/mutex/mysys/THR_LOCK::mutex
SOURCE: thr_lock.c:525
TIMER_START: 201660494489586
TIMER_END: 201660494576112
TIMER_WAIT: 86526
SPINS: NULL
OBJECT_SCHEMA: NULL
OBJECT_NAME: NULL
OBJECT_TYPE: NULL
OBJECT_INSTANCE_BEGIN: 142270668
NESTING_EVENT_ID: NULL
OPERATION: lock
NUMBER_OF_BYTES: NULL
FLAGS: 0
• Single, consolidated view into
entire MySQL environment
• Automated, rules-based
monitoring and alerts (SMTP,
SNMP enabled)
• Query capture, monitoring,
analysis and tuning, correlated
with Monitor graphs
• Visual monitoring of “hot”
applications and servers
• Real-time Replication Monitor
with auto-discovery of master-
slave topologies
• Integrated with MySQL Support A Virtual MySQL DBA Assistant!
MySQL Enterprise Monitor
• Centralized monitoring of
Queries across all servers
• No reliance on Slow Query
Logs, SHOW PROCESSLIST;,
VMSTAT, etc.
• Aggregated view of query
execution counts, time, and
rows
• Saves time parsing atomic
executions for total query
expense
• Visual “grab and go” correlation
with Monitor graphs
MySQL Query Analyzer
The preceding 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.
Mysql tracing
Mysql tracing

Weitere ähnliche Inhalte

Was ist angesagt?

Performance Schema for MySQL troubleshooting
Performance Schema for MySQL troubleshootingPerformance Schema for MySQL troubleshooting
Performance Schema for MySQL troubleshootingSveta Smirnova
 
Performance Schema for MySQL Troubleshooting
Performance Schema for MySQL TroubleshootingPerformance Schema for MySQL Troubleshooting
Performance Schema for MySQL TroubleshootingSveta Smirnova
 
Performance Schema for MySQL Troubleshooting
Performance Schema for MySQL TroubleshootingPerformance Schema for MySQL Troubleshooting
Performance Schema for MySQL TroubleshootingSveta Smirnova
 
Moving to the NoSQL side: MySQL JSON functions
 Moving to the NoSQL side: MySQL JSON functions Moving to the NoSQL side: MySQL JSON functions
Moving to the NoSQL side: MySQL JSON functionsSveta Smirnova
 
New features in Performance Schema 5.7 in action
New features in Performance Schema 5.7 in actionNew features in Performance Schema 5.7 in action
New features in Performance Schema 5.7 in actionSveta Smirnova
 
Character Encoding - MySQL DevRoom - FOSDEM 2015
Character Encoding - MySQL DevRoom - FOSDEM 2015Character Encoding - MySQL DevRoom - FOSDEM 2015
Character Encoding - MySQL DevRoom - FOSDEM 2015mushupl
 
SAP (in)security: Scrubbing SAP clean with SOAP
SAP (in)security: Scrubbing SAP clean with SOAPSAP (in)security: Scrubbing SAP clean with SOAP
SAP (in)security: Scrubbing SAP clean with SOAPChris John Riley
 
Common schema my sql uc 2012
Common schema   my sql uc 2012Common schema   my sql uc 2012
Common schema my sql uc 2012Roland Bouman
 
Basic MySQL Troubleshooting for Oracle Database Administrators
Basic MySQL Troubleshooting for Oracle Database AdministratorsBasic MySQL Troubleshooting for Oracle Database Administrators
Basic MySQL Troubleshooting for Oracle Database AdministratorsSveta Smirnova
 
SharePoint 2010 Virtualization - Norway SharePoint User Group
SharePoint 2010 Virtualization - Norway SharePoint User GroupSharePoint 2010 Virtualization - Norway SharePoint User Group
SharePoint 2010 Virtualization - Norway SharePoint User GroupMichael Noel
 
SharePoint 2010 Virtualization - SharePoint Saturday L.A.
SharePoint 2010 Virtualization - SharePoint Saturday L.A.SharePoint 2010 Virtualization - SharePoint Saturday L.A.
SharePoint 2010 Virtualization - SharePoint Saturday L.A.Michael Noel
 
OSMC 2008 | Monitoring MySQL by Geert Vanderkelen
OSMC 2008 | Monitoring MySQL by Geert VanderkelenOSMC 2008 | Monitoring MySQL by Geert Vanderkelen
OSMC 2008 | Monitoring MySQL by Geert VanderkelenNETWAYS
 
Trouble shooting apachecloudstack
Trouble shooting apachecloudstackTrouble shooting apachecloudstack
Trouble shooting apachecloudstackSailaja Sunil
 
Why Use EXPLAIN FORMAT=JSON?
 Why Use EXPLAIN FORMAT=JSON?  Why Use EXPLAIN FORMAT=JSON?
Why Use EXPLAIN FORMAT=JSON? Sveta Smirnova
 
MySQL Performance schema missing_manual_flossuk
MySQL Performance schema missing_manual_flossukMySQL Performance schema missing_manual_flossuk
MySQL Performance schema missing_manual_flossukValeriy Kravchuk
 
Mysql 56-experiences-bugs-solutions-50mins
Mysql 56-experiences-bugs-solutions-50minsMysql 56-experiences-bugs-solutions-50mins
Mysql 56-experiences-bugs-solutions-50minsValeriy Kravchuk
 
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
 
SharePoint 2010 Virtualization - SharePoint Saturday East Bay 2010
SharePoint 2010 Virtualization - SharePoint Saturday East Bay 2010SharePoint 2010 Virtualization - SharePoint Saturday East Bay 2010
SharePoint 2010 Virtualization - SharePoint Saturday East Bay 2010Michael Noel
 
Mail server configuration
Mail server configurationMail server configuration
Mail server configurationchacheng oo
 
SharePoint 2010 Virtualization
SharePoint 2010 VirtualizationSharePoint 2010 Virtualization
SharePoint 2010 VirtualizationMichael Noel
 

Was ist angesagt? (20)

Performance Schema for MySQL troubleshooting
Performance Schema for MySQL troubleshootingPerformance Schema for MySQL troubleshooting
Performance Schema for MySQL troubleshooting
 
Performance Schema for MySQL Troubleshooting
Performance Schema for MySQL TroubleshootingPerformance Schema for MySQL Troubleshooting
Performance Schema for MySQL Troubleshooting
 
Performance Schema for MySQL Troubleshooting
Performance Schema for MySQL TroubleshootingPerformance Schema for MySQL Troubleshooting
Performance Schema for MySQL Troubleshooting
 
Moving to the NoSQL side: MySQL JSON functions
 Moving to the NoSQL side: MySQL JSON functions Moving to the NoSQL side: MySQL JSON functions
Moving to the NoSQL side: MySQL JSON functions
 
New features in Performance Schema 5.7 in action
New features in Performance Schema 5.7 in actionNew features in Performance Schema 5.7 in action
New features in Performance Schema 5.7 in action
 
Character Encoding - MySQL DevRoom - FOSDEM 2015
Character Encoding - MySQL DevRoom - FOSDEM 2015Character Encoding - MySQL DevRoom - FOSDEM 2015
Character Encoding - MySQL DevRoom - FOSDEM 2015
 
SAP (in)security: Scrubbing SAP clean with SOAP
SAP (in)security: Scrubbing SAP clean with SOAPSAP (in)security: Scrubbing SAP clean with SOAP
SAP (in)security: Scrubbing SAP clean with SOAP
 
Common schema my sql uc 2012
Common schema   my sql uc 2012Common schema   my sql uc 2012
Common schema my sql uc 2012
 
Basic MySQL Troubleshooting for Oracle Database Administrators
Basic MySQL Troubleshooting for Oracle Database AdministratorsBasic MySQL Troubleshooting for Oracle Database Administrators
Basic MySQL Troubleshooting for Oracle Database Administrators
 
SharePoint 2010 Virtualization - Norway SharePoint User Group
SharePoint 2010 Virtualization - Norway SharePoint User GroupSharePoint 2010 Virtualization - Norway SharePoint User Group
SharePoint 2010 Virtualization - Norway SharePoint User Group
 
SharePoint 2010 Virtualization - SharePoint Saturday L.A.
SharePoint 2010 Virtualization - SharePoint Saturday L.A.SharePoint 2010 Virtualization - SharePoint Saturday L.A.
SharePoint 2010 Virtualization - SharePoint Saturday L.A.
 
OSMC 2008 | Monitoring MySQL by Geert Vanderkelen
OSMC 2008 | Monitoring MySQL by Geert VanderkelenOSMC 2008 | Monitoring MySQL by Geert Vanderkelen
OSMC 2008 | Monitoring MySQL by Geert Vanderkelen
 
Trouble shooting apachecloudstack
Trouble shooting apachecloudstackTrouble shooting apachecloudstack
Trouble shooting apachecloudstack
 
Why Use EXPLAIN FORMAT=JSON?
 Why Use EXPLAIN FORMAT=JSON?  Why Use EXPLAIN FORMAT=JSON?
Why Use EXPLAIN FORMAT=JSON?
 
MySQL Performance schema missing_manual_flossuk
MySQL Performance schema missing_manual_flossukMySQL Performance schema missing_manual_flossuk
MySQL Performance schema missing_manual_flossuk
 
Mysql 56-experiences-bugs-solutions-50mins
Mysql 56-experiences-bugs-solutions-50minsMysql 56-experiences-bugs-solutions-50mins
Mysql 56-experiences-bugs-solutions-50mins
 
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
 
SharePoint 2010 Virtualization - SharePoint Saturday East Bay 2010
SharePoint 2010 Virtualization - SharePoint Saturday East Bay 2010SharePoint 2010 Virtualization - SharePoint Saturday East Bay 2010
SharePoint 2010 Virtualization - SharePoint Saturday East Bay 2010
 
Mail server configuration
Mail server configurationMail server configuration
Mail server configuration
 
SharePoint 2010 Virtualization
SharePoint 2010 VirtualizationSharePoint 2010 Virtualization
SharePoint 2010 Virtualization
 

Andere mochten auch

Advanced Date/Time Handling with PHP
Advanced Date/Time Handling with PHPAdvanced Date/Time Handling with PHP
Advanced Date/Time Handling with PHPAnis Berejeb
 
APC & Memcache the High Performance Duo
APC & Memcache the High Performance DuoAPC & Memcache the High Performance Duo
APC & Memcache the High Performance DuoAnis Berejeb
 
Barcelona 2010 hidden_features
Barcelona 2010 hidden_featuresBarcelona 2010 hidden_features
Barcelona 2010 hidden_featuresAnis Berejeb
 
Barcelona mysqlnd qc
Barcelona mysqlnd qcBarcelona mysqlnd qc
Barcelona mysqlnd qcAnis Berejeb
 
Neil Presentents[1]
Neil Presentents[1]Neil Presentents[1]
Neil Presentents[1]4cefed53
 
Firewood Ski & Apparel
Firewood Ski & ApparelFirewood Ski & Apparel
Firewood Ski & Apparelguest35bb62
 
Book Of Patterns
Book Of PatternsBook Of Patterns
Book Of PatternsOdin9
 
De Structuur Van Elk Verhaal
De Structuur Van Elk VerhaalDe Structuur Van Elk Verhaal
De Structuur Van Elk Verhaalmaartekes
 
Mysqlnd Query Cache
Mysqlnd Query CacheMysqlnd Query Cache
Mysqlnd Query CacheAnis Berejeb
 
20130305 umayahara O2O用アプリ作成案
20130305 umayahara O2O用アプリ作成案20130305 umayahara O2O用アプリ作成案
20130305 umayahara O2O用アプリ作成案umayahara kazumi
 
Q Ladilla
Q LadillaQ Ladilla
Q Ladillacaracha
 

Andere mochten auch (16)

Hoye4 Resume
Hoye4 ResumeHoye4 Resume
Hoye4 Resume
 
Advanced Date/Time Handling with PHP
Advanced Date/Time Handling with PHPAdvanced Date/Time Handling with PHP
Advanced Date/Time Handling with PHP
 
Explain2
Explain2Explain2
Explain2
 
APC & Memcache the High Performance Duo
APC & Memcache the High Performance DuoAPC & Memcache the High Performance Duo
APC & Memcache the High Performance Duo
 
Barcelona 2010 hidden_features
Barcelona 2010 hidden_featuresBarcelona 2010 hidden_features
Barcelona 2010 hidden_features
 
Barcelona mysqlnd qc
Barcelona mysqlnd qcBarcelona mysqlnd qc
Barcelona mysqlnd qc
 
Mysql tracing
Mysql tracingMysql tracing
Mysql tracing
 
Ipc mysql php
Ipc mysql php Ipc mysql php
Ipc mysql php
 
Neil Presentents[1]
Neil Presentents[1]Neil Presentents[1]
Neil Presentents[1]
 
Firewood Ski & Apparel
Firewood Ski & ApparelFirewood Ski & Apparel
Firewood Ski & Apparel
 
Book Of Patterns
Book Of PatternsBook Of Patterns
Book Of Patterns
 
De Structuur Van Elk Verhaal
De Structuur Van Elk VerhaalDe Structuur Van Elk Verhaal
De Structuur Van Elk Verhaal
 
Mysqlnd Query Cache
Mysqlnd Query CacheMysqlnd Query Cache
Mysqlnd Query Cache
 
Perf tuning2
Perf tuning2Perf tuning2
Perf tuning2
 
20130305 umayahara O2O用アプリ作成案
20130305 umayahara O2O用アプリ作成案20130305 umayahara O2O用アプリ作成案
20130305 umayahara O2O用アプリ作成案
 
Q Ladilla
Q LadillaQ Ladilla
Q Ladilla
 

Ähnlich wie Mysql tracing

Common schema my sql uc 2012
Common schema   my sql uc 2012Common schema   my sql uc 2012
Common schema my sql uc 2012Roland Bouman
 
Basic MySQL Troubleshooting for Oracle DBAs
Basic MySQL Troubleshooting for Oracle DBAsBasic MySQL Troubleshooting for Oracle DBAs
Basic MySQL Troubleshooting for Oracle DBAsSveta Smirnova
 
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 sys schema deep dive
MySQL sys schema deep diveMySQL sys schema deep dive
MySQL sys schema deep diveMark Leith
 
Percona Live 2019 - MySQL Security
Percona Live 2019 - MySQL SecurityPercona Live 2019 - MySQL Security
Percona Live 2019 - MySQL SecurityVinicius M Grippa
 
Performance schema and sys schema
Performance schema and sys schemaPerformance schema and sys schema
Performance schema and sys schemaMark Leith
 
MySQL Performance Schema in 20 Minutes
 MySQL Performance Schema in 20 Minutes MySQL Performance Schema in 20 Minutes
MySQL Performance Schema in 20 MinutesSveta Smirnova
 
The MySQL SYS Schema
The MySQL SYS SchemaThe MySQL SYS Schema
The MySQL SYS SchemaMark Leith
 
Highload Perf Tuning
Highload Perf TuningHighload Perf Tuning
Highload Perf TuningHighLoad2009
 
DB Floripa - ProxySQL para MySQL
DB Floripa - ProxySQL para MySQLDB Floripa - ProxySQL para MySQL
DB Floripa - ProxySQL para MySQLMarcelo Altmann
 
MariaDB 10.5 new features for troubleshooting (mariadb server fest 2020)
MariaDB 10.5 new features for troubleshooting (mariadb server fest 2020)MariaDB 10.5 new features for troubleshooting (mariadb server fest 2020)
MariaDB 10.5 new features for troubleshooting (mariadb server fest 2020)Valeriy Kravchuk
 
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
 
Tracing and profiling my sql (percona live europe 2019) draft_1
Tracing and profiling my sql (percona live europe 2019) draft_1Tracing and profiling my sql (percona live europe 2019) draft_1
Tracing and profiling my sql (percona live europe 2019) draft_1Valerii Kravchuk
 
16 MySQL Optimization #burningkeyboards
16 MySQL Optimization #burningkeyboards16 MySQL Optimization #burningkeyboards
16 MySQL Optimization #burningkeyboardsDenis Ristic
 
Mysql nowwhat
Mysql nowwhatMysql nowwhat
Mysql nowwhatsqlhjalp
 
Beginner guide to mysql command line
Beginner guide to mysql command lineBeginner guide to mysql command line
Beginner guide to mysql command linePriti Solanki
 
ProxySQL Cluster - Percona Live 2022
ProxySQL Cluster - Percona Live 2022ProxySQL Cluster - Percona Live 2022
ProxySQL Cluster - Percona Live 2022René Cannaò
 
PERFORMANCE_SCHEMA and sys schema
PERFORMANCE_SCHEMA and sys schemaPERFORMANCE_SCHEMA and sys schema
PERFORMANCE_SCHEMA and sys schemaFromDual GmbH
 

Ähnlich wie Mysql tracing (20)

Common schema my sql uc 2012
Common schema   my sql uc 2012Common schema   my sql uc 2012
Common schema my sql uc 2012
 
Basic MySQL Troubleshooting for Oracle DBAs
Basic MySQL Troubleshooting for Oracle DBAsBasic MySQL Troubleshooting for Oracle DBAs
Basic MySQL Troubleshooting for Oracle DBAs
 
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 sys schema deep dive
MySQL sys schema deep diveMySQL sys schema deep dive
MySQL sys schema deep dive
 
Percona Live 2019 - MySQL Security
Percona Live 2019 - MySQL SecurityPercona Live 2019 - MySQL Security
Percona Live 2019 - MySQL Security
 
Performance schema and sys schema
Performance schema and sys schemaPerformance schema and sys schema
Performance schema and sys schema
 
MySQL Performance Schema in 20 Minutes
 MySQL Performance Schema in 20 Minutes MySQL Performance Schema in 20 Minutes
MySQL Performance Schema in 20 Minutes
 
The MySQL SYS Schema
The MySQL SYS SchemaThe MySQL SYS Schema
The MySQL SYS Schema
 
Highload Perf Tuning
Highload Perf TuningHighload Perf Tuning
Highload Perf Tuning
 
DB Floripa - ProxySQL para MySQL
DB Floripa - ProxySQL para MySQLDB Floripa - ProxySQL para MySQL
DB Floripa - ProxySQL para MySQL
 
MariaDB 10.5 new features for troubleshooting (mariadb server fest 2020)
MariaDB 10.5 new features for troubleshooting (mariadb server fest 2020)MariaDB 10.5 new features for troubleshooting (mariadb server fest 2020)
MariaDB 10.5 new features for troubleshooting (mariadb server fest 2020)
 
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)
 
Perf Tuning Short
Perf Tuning ShortPerf Tuning Short
Perf Tuning Short
 
Tracing and profiling my sql (percona live europe 2019) draft_1
Tracing and profiling my sql (percona live europe 2019) draft_1Tracing and profiling my sql (percona live europe 2019) draft_1
Tracing and profiling my sql (percona live europe 2019) draft_1
 
16 MySQL Optimization #burningkeyboards
16 MySQL Optimization #burningkeyboards16 MySQL Optimization #burningkeyboards
16 MySQL Optimization #burningkeyboards
 
Mysql nowwhat
Mysql nowwhatMysql nowwhat
Mysql nowwhat
 
Beginner guide to mysql command line
Beginner guide to mysql command lineBeginner guide to mysql command line
Beginner guide to mysql command line
 
DPC Tutorial
DPC TutorialDPC Tutorial
DPC Tutorial
 
ProxySQL Cluster - Percona Live 2022
ProxySQL Cluster - Percona Live 2022ProxySQL Cluster - Percona Live 2022
ProxySQL Cluster - Percona Live 2022
 
PERFORMANCE_SCHEMA and sys schema
PERFORMANCE_SCHEMA and sys schemaPERFORMANCE_SCHEMA and sys schema
PERFORMANCE_SCHEMA and sys schema
 

Mysql tracing