Copyright 2014, Oracle and/or its affiliates. All rights reserved.

Size: px
Start display at page:

Download "Copyright 2014, Oracle and/or its affiliates. All rights reserved."

Transcription

1

2 Basic MySQL Troubleshooting for Oracle DBAs Sveta Smirnova Senior Principal Technical Support Engineer MySQL Support September 29, 2014

3 Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle s products remains at the sole discretion of Oracle.

4 Program Agenda 1 Introduction 2 Basic troubleshooting techniques 3 High concurrency issues 4 High availability solutions 5 More information

5 Introduction

6 MySQL architecture Click icon to add picture Base - Installation layout - Log files Connectors - Clients - APIs Optimizer Caches & buffers Storage engines Management

7 Typical installation layout datadir Schema directory Table files: *frm, *ibd, *MYD, *MYI, *par, etc. Trigger files Schema InnoDB shared tablespace Log files InnoDB log files Binary, relay logs Error log Slow query log General query log Configurable You can setup custom path for each component Including custom path for tables

8 Connectors The way you connect to MySQL Server Clients MySQL CLI MySQL Workbench MySQL Enterprise Monitor (MEM) Oracle Enterprise Manager with MEM plugin APIs Exist for most popular programming languages C, C++, JDBC, PHP, Python, Net, ODBC

9 Plugins MySQL Server is highly configurable via plugins Storage engines Full-text parsers Daemon INFORMATION_SCHEMA Semisynchronous Replication Audit Authentication Password-validation Protocol Trace 5.7

10 Storage engines From troubleshooting point of view Own data Own index format Own locking model Own diagnostic Own log files CHECK TABLE

11 Basic troubleshooting techniques

12 MySQL Access Privilege System Typical issues Privileged client cannot connect Unprivileged client can connect Privileged user cannot perform operation Unprivileged user has undesired access

13 MySQL Access Privilege System Overview No roles by default, limited user limits All records are in the mysql database (schema) Pluggable authentication since version 5.5 Connections TCP/IP with login-password Socket (Unix) Named pipe (Windows)

14 MySQL Access Privilege System Where to find out why you have connection issues? select user, host from mysql.user order by user desc, host desc; Most descriptive host first, then wildcard Socket connection by default on Unix

15 MySQL Access Privilege System Where to find out why you have connection issues? mysql> select user, host from mysql.user order by user desc, host desc; user host root localhost root delly root ::1 root foo % localhost rows in set (0.00 sec)

16 MySQL Access Privilege System Wrong access SHOW GRANTS [FOR Grant tables mysql.db mysql.tables_priv mysql.columns_priv mysql.procs_priv mysql.proxies_priv SELECT USER(), CURRENT_USER()

17 MySQL Access Privilege System Wrong access mysql> show grants; Grants for GRANT ALL PRIVILEGES ON *.* TO WITH GRANT OPTION GRANT PROXY ON TO WITH GRANT OPTION rows in set (0.02 sec)

18 MySQL Access Privilege System Wrong access mysql> show grants for Grants for GRANT USAGE ON *.* TO GRANT ALL PRIVILEGES ON `test`.* TO rows in set (0.02 sec)

19 Error handling Errors vs warnings mysql> select max (f1) from t1; ERROR 1630 (42000): FUNCTION test.max does not exist. Check the 'Function Name Parsing and Resolution' section in the Reference Manual mysql> select * from t1 where "f1"=1; Empty set, 1 warning (0.05 sec) mysql> show warnings; Level Code Message Warning 1292 Truncated incorrect DOUBLE value: 'f1' row in set (0.00 sec)

20 MySQL Access Privilege System Application (C API) Error information mysql_errno mysql_error Warnings mysql_info mysql_sqlstate mysql_warning_count

21 Error handling perror ~]$ perror 1630 MySQL error code 1630 (ER_FUNC_INEXISTENT_NAME_COLLISION): FUNCTION %s does not exist. Check the 'Function Name Parsing and Resolution' section in the Reference Manual ~]$ perror 1292 MySQL error code 1292 (ER_TRUNCATED_WRONG_VALUE): Truncated incorrect %.32s value: '%.128s' ~]$ perror 2 OS error code 2: No such file or directory [sveta@delly ~]$ perror 150 MySQL error code 150: Foreign key constraint is incorrectly formed

22 Error handling In stored routines GET DIAGNOSTICS GET DIAGNOSTICS rows = ROW_COUNT, conditions = NUMBER; GET DIAGNOSTICS CONDITION 1 msg = MESSAGE_TEXT; code = RETURNED_SQLSTATE,

23 What can affect query execution? You run a query, it does not return an error, but still behaves not as expected Startup options or system variables How optimizer creates query plan Storage engine used Parallel execution next section

24 System variables and startup options Scope Global Control parameters, necessary for all server processes Location of server files: datadir etc. Shared buffers More Session Control connection-specific parameters

25 System variables and startup options How to set SET [GLOBAL] var_name = NEW_VAL Command line option Configuration file In default location Specified by option --defaults-file

26 System variables and startup options Who can change Global options and few session options A user with privilege SUPER Session options Anybody There is no limits!

27 System variables and startup options When allocated Those which control behavior of whole server Once at server startup Can start with low values, then grow to specified Connection options For every connection when connection opens Operation-specific For every operation when needed

28 System variables and startup options How to control SHOW [GLOBAL] STATUS GLOBAL Since server start SESSION For operations in current session Can be reset FLUSH STATUS

29 System variables and startup options How to control mysql> show global status like 'Handler_read_rnd_next'\G *************************** 1. row *************************** Variable_name: Handler_read_rnd_next Value: 27 1 row in set (0.00 sec) mysql> show status like 'Handler_read_rnd_next'\G *************************** 1. row *************************** Variable_name: Handler_read_rnd_next Value: 7 1 row in set (0.00 sec)

30 System variables and startup options Troubleshooting best practices Record currently used variables SHOW [GLOBAL] VARIABLES Make change dynamically if possible SET [GLOBAL] var_name=new_val Test in one session first Then change global variable Change configuration file after you are happy with results

31 System variables and startup options When affecting option is not known Record currently used variables SHOW [GLOBAL] VARIABLES Start mysqld with option --no-defaults This option must be first one! Check if problem is solved Change variable values one-by-one until you find one which leads to the problem

32 Diagnostic tool: INFORMATION_SCHEMA When affecting option is not known Contain metadata information Tables Indexes Other Allows to create plugins InnoDB plugins We will discuss them later Oracle analog Data Dictionary Views

33 MySQL Optimizer Overview EXPLAIN is less powerful if compare with Oracle It is improved in version Graphic EXPLAIN in MySQL Workbench 6.0 EXPLAIN EXTENDED EXPLAIN PARTITIONS EXPLAIN FORMAT=JSON INFORMATION_SCHEMA.TRACE Status variables 'Handler_%' Default in 5.7

34 EXPLAIN in Oracle EXPLAIN PLAN SET statement_id = 'example_plan4' FOR SELECT h.order_number, l.revenue_amount, l.ordered_quantity FROM so_headers_all h, so_lines_all l WHERE h.customer_id = :b1 AND h.date_ordered > SYSDATE30 AND l.header_id = h.header_id ; Plan SELECT STATEMENT NESTED LOOPS TABLE ACCESS BY INDEX ROWID SO_HEADERS_ALL INDEX RANGE SCAN SO_HEADERS_N1 TABLE ACCESS BY INDEX ROWID SO_LINES_ALL INDEX RANGE SCAN SO_LINES_N1

35 EXPLAIN in MySQL mysql> EXPLAIN SELECT user, host FROM mysql.user\g *************************** 1. row *************************** id: 1 select_type: SIMPLE table: user type: index possible_keys: NULL key: PRIMARY key_len: 228 ref: NULL rows: 4 Extra: Using index 1 row in set (0.13 sec)

36 EXPLAIN in MySQL Variant: EXTENDED mysql> EXPLAIN EXTENDED SELECT user, host FROM mysql.user\g *************************** 1. row *************************** id: 1 select_type: SIMPLE table: user type: index possible_keys: NULL key: PRIMARY key_len: 228 ref: NULL rows: 4 filtered: mysql> SHOW WARNINGS\G ******* 1. row ******* Level: Note Code: 1003 Message: /* select#1 */ select `mysql`.`user`.`user` AS `user`,`mysql`.`user`.`h ost` AS `host` from `mysql`.`user` 1 row in set (0.00 sec) Extra: Using index 1 row in set, 1 warning (0.00 sec)

37 EXPLAIN in MySQL Variant: FORMAT=JSON... mysql> EXPLAIN FORMAT=JSON SELECT user, host FROM mysql.user\g "used_key_parts": [ "Host", ************** 1. row ************** "User" EXPLAIN: { ], "query_block": { "key_length": "228", "select_id": 1, "rows": 4, "table": { "filtered": 100, "using_index": true "table_name": "user", } "access_type": "index", } "key": "PRIMARY", }... 1 row in set, 1 warning (0.03 sec)

38 EXPLAIN in MySQL More information MySQL EXPLAIN in Practice [HOL9232] (past) MySQL 5.7: What s New in the Parser and the Optimizer? [CON2830] (past) How to Analyze and Tune MySQL Queries for Better Performance [TUT3157] (past) Using MySQL Workbench Performance Tools [HOL9237] (past)

39 MySQL Optimizer Handler_% status variables mysql> flush status; Query OK, 0 rows affected (0.00 sec) mysql> SHOW STATUS LIKE 'Handler_read_%'; Variable_name Value Handler_read_first 0 Handler_read_key 0 Handler_read_last 0 Handler_read_next 0 Handler_read_prev 0 Handler_read_rnd 0 Handler_read_rnd_next rows in set (0.00 sec)

40 MySQL Optimizer Handler_% status variables mysql> select count(*) from employees join titles using(emp_no) where title='senior Engineer'\G *************************** 1. row *************************** count(*): row in set (3.24 sec) mysql> SHOW STATUS LIKE 'Handler_read_%'; Variable_name Value Handler_read_first 1 Handler_read_key Handler_read_last 0 Handler_read_next

41 MySQL Optimizer Other tools INFORMATION_SCHEMA.TRACE join_preparation, join_optimization, join_execution considered_execution_plans, refine_plan, more Query Analyzer in MEM Graphic EXPLAIN in MySQL Workbench 6.0

42 MySQL Storage Engines Specifics Own way to handle Corruption Index statistics CHECK TABLE to check for errors They care about physical data, so all data information are on their level Options usually start from engine name myisam_*, innodb_*, custom_*

43 MySQL Storage Engines InnoDB Transactional storage engine Physical layout *frm file table definition Shared tablespace *ibd file tablespace for individual table Optional: --innodb_file_per_table Recommended and default since 5.6 Redo log files OPTIMIZE TABLE = ALTER + ANALYZE Automatic startup check

44 High concurrency issues

45 High concurrency issues Common problems Query or transaction waits a lock, held by another one Fight for system resources Resource overload Resource underload

46 Transactions and their relation to locks Lock types Levels MDL Table-level Row-level Transactions Server-level MDL locks What do they lock Read locks Engine level Table locks Row locks Block writes Write locks AUTOCOMMIT Supported Block both reads and writes

47 Locking issues Diagnostic tools SHOW [FULL] PROCESSLIST Universal tool which lists all currently running connections SHOW ENGINE INNODB STATUS INFORMATION SCHEMA PROCESSLIST InnoDB tables PERFORMANCE SCHEMA MDL locks Table locks Server-level transactions

48 Storage engine specifics Diagnostic tools Transactions and engine-level locks are done at the engine level Storage engines have own diagnostic tools Use them when hit an issue with such a lock

49 Storage engine specifics InnoDB SHOW ENGINE INNODB STATUS InnoDB monitors Pseudo-tables Turn periodical logging into error log CREATE TABLE innodb_monitor(f1 int) ENGINE=INNODB; Lock monitor Changes output format of InnoDB Monitor CREATE TABLE innodb_lock_monitor(f1 int) ENGINE=INNODB; Options innodb_status_output innodb_status_output_locks

50 Storage engine specifics InnoDB Tables in INFORMATION_SCHEMA INNODB_TRX INNODB_LOCKS INNODB_LOCK_WAITS INNODB_METRICS Options innodb_monitor_* Option innodb_print_all_deadlocks

51 Diagnostic tool: performance_schema For whole server Monitors internal operations Events Waits Mutexes Statements Stages MDL, table-level locks, transactions Memory Replication 5.7+ Similar to Oracle wait interface

52 Diagnosting locks Summary Table-level locks PROCESSLIST: Waiting for table lock P_S.TABLE_HANDLES 5.7+ Row-level locks InnoDB monitors, SHOW ENGINE INNODB STATUS Tables in INFORMATION_SCHEMA Option --innodb_print_all_deadlocks MDL locks PROCESSLIST: Waiting for metadata lock P_S.METADATA_LOCKS 5.7+

53 High availability solutions

54 MySQL Cluster Special storage engine: NDB Stores data on two or more physical machines Two or more copies General troubleshooting techniques Applicable Specific NDB storage engine techniques

55 MySQL Replication Overview Always available, but you must setup it before use Asynchronous master-slave Master Keeps all updates in separate file: binary log Slave IO thread read updates from master and stores in relay log file SQL thread executes updates

56 Replication IO thread Communication issues Access error Check slave error log SHOW SLAVE STATUS P_S.replication_connection_status Try to connect using normal MySQL client using slave credentials SHOW GRANTS Fix privileges on master Restart slave

57 Replication SQL thread Typical issues Simple master-slave Data is different on master and slave Replication event can not be applied Different errors on master and slave Slave lags far behind the master Circular replication or other writes in addition to slave SQL thread Data is different on master and slave

58 Replication SQL thread Data is different on master and slave Was the table modified besides the SQL thread? How? Can it affect content of the table in the wrong way? Are the table definitions same on master and slave? MySQL Utilities mysqlrplsync, mysqldbcompare, mysqldiff Is it possible that master events was applied in wrong order? Use mysqlbinlog to find queries which caused the issue Check master's application to find what is wrong

59 Replication SQL thread Events from master were applied in wrong order Lock issues InnoDB Triggers SET GLOBAL slave_skip_counter Synchronize tables! Different options Start slave with master's options, then check

60 Replication SQL thread Slave lags far behind the master Threads Master runs in multiple update threads Slave uses single Seconds_behind_master is growing Tune slave performance Buffers Indexes (for statement-based replication)

61 More information

62 OpenWorld sessions October, 01 Practical MySQL Optimization [CON5522] Peter Zaitsev, 3:30 PM, Moscone South What s New in MySQL 5.7 Security [CON1985] Georgi Kodinov, 4:45 PM, Moscone South MySQL Cost Model [CON3163] Olav Sandstå, 5:30 PM, Moscone South - 250

63 OpenWorld sessions October, 02 MySQL Troubleshooting with the Performance Schema [HOL9215] Sveta Smirnova, Lig Isler-turmelle 8:30 AM, Hotel Nikko - Monterey MySQL Enterprise Edition Features in Practice [HOL9216] Matt Lord, 10:00 AM, Hotel Nikko - Monterey MySQL Performance: Demystified Tuning and Best Practices [CON5097] Dimitri Kravtchuk, 10:45 AM, Moscone South - 252

64 Further reading MySQL Troubleshooting book Marc Alff's Performance Schema blog Planet MySQL

65 References MySQL User Reference Manual Knowledge Management Database Forums Bug trackers Oracle Internal Bugs database My Oracle Support

66 You will find me at

67 ?

68 Thank you!

69

Introduction to troubleshooting Basic techniques. Sveta Smirnova Principal Support Engineer March, 10, 2016

Introduction to troubleshooting Basic techniques. Sveta Smirnova Principal Support Engineer March, 10, 2016 Introduction to troubleshooting Basic techniques Sveta Smirnova Principal Support Engineer March, 10, 2016 Table of Contents Introduction How to find problematic query Solving issues Syntax errors Logic

More information

ITS. MySQL for Database Administrators (40 Hours) (Exam code 1z0-883) (OCP My SQL DBA)

ITS. MySQL for Database Administrators (40 Hours) (Exam code 1z0-883) (OCP My SQL DBA) MySQL for Database Administrators (40 Hours) (Exam code 1z0-883) (OCP My SQL DBA) Prerequisites Have some experience with relational databases and SQL What will you learn? The MySQL for Database Administrators

More information

MySQL Architecture and Components Guide

MySQL Architecture and Components Guide Guide This book contains the following, MySQL Physical Architecture MySQL Logical Architecture Storage Engines overview SQL Query execution InnoDB Storage Engine MySQL 5.7 References: MySQL 5.7 Reference

More information

MySQL 5.6: Advantages in a Nutshell. Peter Zaitsev, CEO, Percona Percona Technical Webinars March 6, 2013

MySQL 5.6: Advantages in a Nutshell. Peter Zaitsev, CEO, Percona Percona Technical Webinars March 6, 2013 MySQL 5.6: Advantages in a Nutshell Peter Zaitsev, CEO, Percona Percona Technical Webinars March 6, 2013 About Presentation Brief Overview Birds eye view of features coming in 5.6 Mainly documentation

More information

MySQL Database Administrator Training NIIT, Gurgaon India 31 August-10 September 2015

MySQL Database Administrator Training NIIT, Gurgaon India 31 August-10 September 2015 MySQL Database Administrator Training Day 1: AGENDA Introduction to MySQL MySQL Overview MySQL Database Server Editions MySQL Products MySQL Services and Support MySQL Resources Example Databases MySQL

More information

MySQL for Database Administrators Ed 3.1

MySQL for Database Administrators Ed 3.1 Oracle University Contact Us: 1.800.529.0165 MySQL for Database Administrators Ed 3.1 Duration: 5 Days What you will learn The MySQL for Database Administrators training is designed for DBAs and other

More information

1Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12

1Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 1 Insert Information Protection Policy Classification from Slide 12 Getting Started with MySQL Santo Leto Principal Technical Support Engineer, MySQL Jesper Wisborg Krogh Principal Technical Support Engineer,

More information

<Insert Picture Here> Upcoming Changes in MySQL 5.7 Morgan Tocker, MySQL Community Manager

<Insert Picture Here> Upcoming Changes in MySQL 5.7 Morgan Tocker, MySQL Community Manager Upcoming Changes in MySQL 5.7 Morgan Tocker, MySQL Community Manager http://www.tocker.ca/ Safe Harbor Statement The following is intended to outline our general product direction.

More information

MySQL Query Tuning 101. Sveta Smirnova, Alexander Rubin April, 16, 2015

MySQL Query Tuning 101. Sveta Smirnova, Alexander Rubin April, 16, 2015 MySQL Query Tuning 101 Sveta Smirnova, Alexander Rubin April, 16, 2015 Agenda 2 Introduction: where to find slow queries Indexes: why and how do they work All about EXPLAIN More tools Where to find more

More information

CO MySQL for Database Administrators

CO MySQL for Database Administrators CO-61762 MySQL for Database Administrators Summary Duration 5 Days Audience Administrators, Database Designers, Developers Level Professional Technology Oracle MySQL 5.5 Delivery Method Instructor-led

More information

Oracle Exam 1z0-883 MySQL 5.6 Database Administrator Version: 8.0 [ Total Questions: 100 ]

Oracle Exam 1z0-883 MySQL 5.6 Database Administrator Version: 8.0 [ Total Questions: 100 ] s@lm@n Oracle Exam 1z0-883 MySQL 5.6 Database Administrator Version: 8.0 [ Total Questions: 100 ] Oracle 1z0-883 : Practice Test Question No : 1 Consider the Mysql Enterprise Audit plugin. You are checking

More information

Tired of MySQL Making You Wait? Alexander Rubin, Principal Consultant, Percona Janis Griffin, Database Evangelist, SolarWinds

Tired of MySQL Making You Wait? Alexander Rubin, Principal Consultant, Percona Janis Griffin, Database Evangelist, SolarWinds Tired of MySQL Making You Wait? Alexander Rubin, Principal Consultant, Percona Janis Griffin, Database Evangelist, SolarWinds Who Am I? Senior DBA / Performance Evangelist for Solarwinds Janis.Griffin@solarwinds.com

More information

Oracle 1Z MySQL 5.6 Database Administrator. Download Full Version :

Oracle 1Z MySQL 5.6 Database Administrator. Download Full Version : Oracle 1Z0-883 MySQL 5.6 Database Administrator Download Full Version : http://killexams.com/pass4sure/exam-detail/1z0-883 D. The mysqld binary was not compiled with SSL support. E. The server s SSL certificate

More information

MySQL Group Replication in a nutshell

MySQL Group Replication in a nutshell 1 / 126 2 / 126 MySQL Group Replication in a nutshell the core of MySQL InnoDB Cluster Oracle Open World September 19th 2016 Frédéric Descamps MySQL Community Manager 3 / 126 Safe Harbor Statement The

More information

MySQL 8.0: Atomic DDLs Implementation and Impact

MySQL 8.0: Atomic DDLs Implementation and Impact MySQL 8.0: Atomic DDLs Implementation and Impact Ståle Deraas, Senior Development Manager Oracle, MySQL 26 Sept 2017 Copyright 2017, Oracle and/or its its affiliates. All All rights reserved. Safe Harbor

More information

1Z MySQL 5 Database Administrator Certified Professional Exam, Part II Exam.

1Z MySQL 5 Database Administrator Certified Professional Exam, Part II Exam. Oracle 1Z0-874 MySQL 5 Database Administrator Certified Professional Exam, Part II Exam TYPE: DEMO http://www.examskey.com/1z0-874.html Examskey Oracle 1Z0-874 exam demo product is here for you to test

More information

Upgrading to MySQL 8.0+: a More Automated Upgrade Experience. Dmitry Lenev, Software Developer Oracle/MySQL, November 2018

Upgrading to MySQL 8.0+: a More Automated Upgrade Experience. Dmitry Lenev, Software Developer Oracle/MySQL, November 2018 Upgrading to MySQL 8.0+: a More Automated Upgrade Experience Dmitry Lenev, Software Developer Oracle/MySQL, November 2018 Safe Harbor Statement The following is intended to outline our general product

More information

MySQL Replication Update

MySQL Replication Update MySQL Replication Update Lars Thalmann Development Director MySQL Replication, Backup & Connectors OSCON, July 2011 MySQL Releases MySQL 5.1 Generally Available, November 2008 MySQL

More information

What's New in MySQL 5.7?

What's New in MySQL 5.7? What's New in MySQL 5.7? Norvald H. Ryeng Software Engineer norvald.ryeng@oracle.com Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information

More information

<Insert Picture Here> MySQL Cluster What are we working on

<Insert Picture Here> MySQL Cluster What are we working on MySQL Cluster What are we working on Mario Beck Principal Consultant The following is intended to outline our general product direction. It is intended for information purposes only,

More information

Introduction to Troubleshooting Performance What Affects Query Execution? Sveta Smirnova Principal Support Engineer April, 7, 2016

Introduction to Troubleshooting Performance What Affects Query Execution? Sveta Smirnova Principal Support Engineer April, 7, 2016 Introduction to Troubleshooting Performance What Affects Query Execution? Sveta Smirnova Principal Support Engineer April, 7, 2016 Terms of conditions The query Controlling optimizer Concurrency Hardware

More information

MySQL Performance Tuning

MySQL Performance Tuning MySQL Performance Tuning Student Guide D61820GC30 Edition 3.0 January 2017 D89524 Learn more from Oracle University at education.oracle.com Authors Mark Lewin Jeremy Smyth Technical Contributors and Reviewers

More information

1 Copyright 2011, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8

1 Copyright 2011, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8 1 Copyright 2011, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8 ADVANCED MYSQL REPLICATION ARCHITECTURES Luís

More information

MySQL Performance Tuning 101

MySQL Performance Tuning 101 MySQL Performance Tuning 101 Hands-on-Lab Mirko Ortensi Senior Support Engineer MySQL Support @ Oracle October 3, 2017 Copyright 2017, Oracle and/or its affiliates. All rights reserved. Safe Harbor Statement

More information

MySQL for Developers Ed 3

MySQL for Developers Ed 3 Oracle University Contact Us: 1.800.529.0165 MySQL for Developers Ed 3 Duration: 5 Days What you will learn This MySQL for Developers training teaches developers how to plan, design and implement applications

More information

MySQL Utilities, part 1. Sheeri Cabral. Senior DB Admin/Architect,

MySQL Utilities, part 1. Sheeri Cabral. Senior DB Admin/Architect, MySQL Utilities, part 1 Sheeri Cabral Senior DB Admin/Architect, Mozilla @sheeri www.sheeri.com A set of tools What are they? What are they? A set of tools Like Percona toolkit, Open Ark Kit What are they?

More information

Troubleshooting Slow Queries. Sveta Smirnova Principal Support Engineer April, 28, 2016

Troubleshooting Slow Queries. Sveta Smirnova Principal Support Engineer April, 28, 2016 Troubleshooting Slow Queries Sveta Smirnova Principal Support Engineer April, 28, 2016 Table of Contents Before we start What affects query execution EXPLAIN: how to find out how optimizer works Data matters:

More information

PostgreSQL to MySQL A DBA's Perspective. Patrick

PostgreSQL to MySQL A DBA's Perspective. Patrick PostgreSQL to MySQL A DBA's Perspective Patrick King @mr_mustash Yelp s Mission Connecting people with great local businesses. My Database Experience Started using Postgres 7 years ago Postgres 8.4 (released

More information

MySQL for Database Administrators Ed 4

MySQL for Database Administrators Ed 4 Oracle University Contact Us: (09) 5494 1551 MySQL for Database Administrators Ed 4 Duration: 5 Days What you will learn The MySQL for Database Administrators course teaches DBAs and other database professionals

More information

InnoDB: Status, Architecture, and Latest Enhancements

InnoDB: Status, Architecture, and Latest Enhancements InnoDB: Status, Architecture, and Latest Enhancements O'Reilly MySQL Conference, April 14, 2011 Inaam Rana, Oracle John Russell, Oracle Bios Inaam Rana (InnoDB / MySQL / Oracle) Crash recovery speedup

More information

MariaDB 10.3 vs MySQL 8.0. Tyler Duzan, Product Manager Percona

MariaDB 10.3 vs MySQL 8.0. Tyler Duzan, Product Manager Percona MariaDB 10.3 vs MySQL 8.0 Tyler Duzan, Product Manager Percona Who Am I? My name is Tyler Duzan Formerly an operations engineer for more than 12 years focused on security and automation Now a Product Manager

More information

What s New in MySQL 5.7 Geir Høydalsvik, Sr. Director, MySQL Engineering. Copyright 2015, Oracle and/or its affiliates. All rights reserved.

What s New in MySQL 5.7 Geir Høydalsvik, Sr. Director, MySQL Engineering. Copyright 2015, Oracle and/or its affiliates. All rights reserved. What s New in MySQL 5.7 Geir Høydalsvik, Sr. Director, MySQL Engineering Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purposes

More information

<Insert Picture Here> Looking at Performance - What s new in MySQL Workbench 6.2

<Insert Picture Here> Looking at Performance - What s new in MySQL Workbench 6.2 Looking at Performance - What s new in MySQL Workbench 6.2 Mario Beck MySQL Sales Consulting Manager EMEA The following is intended to outline our general product direction. It is

More information

MySQL for Developers Ed 3

MySQL for Developers Ed 3 Oracle University Contact Us: 0845 777 7711 MySQL for Developers Ed 3 Duration: 5 Days What you will learn This MySQL for Developers training teaches developers how to plan, design and implement applications

More information

Everything You Need to Know About MySQL Group Replication

Everything You Need to Know About MySQL Group Replication Everything You Need to Know About MySQL Group Replication Luís Soares (luis.soares@oracle.com) Principal Software Engineer, MySQL Replication Lead Copyright 2017, Oracle and/or its affiliates. All rights

More information

What's new in MySQL 5.5? Performance/Scale Unleashed

What's new in MySQL 5.5? Performance/Scale Unleashed What's new in MySQL 5.5? Performance/Scale Unleashed Mikael Ronström Senior MySQL Architect The preceding is intended to outline our general product direction. It is intended for

More information

Why we re excited about MySQL 8

Why we re excited about MySQL 8 Why we re excited about MySQL 8 Practical Look for Devs and Ops Peter Zaitsev, CEO, Percona February 4nd, 2018 FOSDEM 1 In the Presentation Practical view on MySQL 8 Exciting things for Devs Exciting things

More information

Effective Testing for Live Applications. March, 29, 2018 Sveta Smirnova

Effective Testing for Live Applications. March, 29, 2018 Sveta Smirnova Effective Testing for Live Applications March, 29, 2018 Sveta Smirnova Table of Contents Sometimes You Have to Test on Production Wrong Data SELECT Returns Nonsense Wrong Data in the Database Performance

More information

Mastering phpmyadmiri 3.4 for

Mastering phpmyadmiri 3.4 for Mastering phpmyadmiri 3.4 for Effective MySQL Management A complete guide to getting started with phpmyadmin 3.4 and mastering its features Marc Delisle [ t]open so 1 I community experience c PUBLISHING

More information

MySQL Enterprise Security

MySQL Enterprise Security MySQL Enterprise Security Mike Frank Product Management Director Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purposes only,

More information

Welcome to Virtual Developer Day MySQL!

Welcome to Virtual Developer Day MySQL! Welcome to Virtual Developer Day MySQL! Keynote: Developer and DBA Guide to What s New in MySQL 5.6 Rob Young Director of Product Management, MySQL 1 Program Agenda 9:00 AM Keynote: What s New in MySQL

More information

MySQL 5.0 Certification Study Guide

MySQL 5.0 Certification Study Guide MySQL 5.0 Certification Study Guide Paul DuBois, Stefan Hinz, and Carsten Pedersen MySQC Press 800 East 96th Street, Indianapolis, Indiana 46240 USA Table of Contents Introduction 1 About This Book 1 Sample

More information

<Insert Picture Here> Introduction to MySQL

<Insert Picture Here> Introduction to MySQL Introduction to MySQL Giuseppe Maxia MySQL Community Team Lead at Oracle about me -Giuseppe Maxia a.k.a. The Data Charmer MySQL Community Team Lead Long time hacking with MySQL features

More information

InnoDB: What s new in 8.0

InnoDB: What s new in 8.0 InnoDB: What s new in 8.0 Sunny Bains Director Software Development Copyright 2017, Oracle and/or its its affiliates. All All rights reserved. Safe Harbor Statement The following is intended to outline

More information

Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12

Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 1 MySQL : 5.6 the Next Generation Lynn Ferrante Principal Consultant, Technical Sales Engineering Northern California Oracle Users Group November 2012 2 Safe Harbor Statement The

More information

Troubleshooting Locking Issues. Sveta Smirnova Principal Technical Services Engineer May, 12, 2016

Troubleshooting Locking Issues. Sveta Smirnova Principal Technical Services Engineer May, 12, 2016 Troubleshooting Locking Issues Sveta Smirnova Principal Technical Services Engineer May, 12, 2016 Table of Contents Introduction How to diagnose MDL locks Possible fixes and best practices How to diagnose

More information

State of the Dolphin Developing new Apps in MySQL 8

State of the Dolphin Developing new Apps in MySQL 8 State of the Dolphin Developing new Apps in MySQL 8 Highlights of MySQL 8.0 technology updates Mark Swarbrick MySQL Principle Presales Consultant Jill Anolik MySQL Global Business Unit Israel Copyright

More information

How to get MySQL to fail

How to get MySQL to fail Snow B.V. Feb 3, 2013 Introduction We all know we shouldn t press the button... Introduction We all know we shouldn t press the button... but we all want to try. Do you know? Do you know what happens if

More information

#MySQL #oow16. MySQL Server 8.0. Geir Høydalsvik

#MySQL #oow16. MySQL Server 8.0. Geir Høydalsvik #MySQL #oow16 MySQL Server 8.0 Geir Høydalsvik Copyright Copyright 2 2016, 016,Oracle Oracle aand/or nd/or its its aaffiliates. ffiliates. AAll ll rights rights reserved. reserved. Safe Harbor Statement

More information

Mysql Information Schema Update Time Null >>>CLICK HERE<<< doctrine:schema:update --dump-sql ALTER TABLE categorie

Mysql Information Schema Update Time Null >>>CLICK HERE<<< doctrine:schema:update --dump-sql ALTER TABLE categorie Mysql Information Schema Update Time Null I want to update a MySQL database schema (with MySQL code) but I am unfortunately not sure 'name' VARCHAR(64) NOT NULL 'password' VARCHAR(64) NOT NULL fieldname

More information

Improvements in MySQL 5.5 and 5.6. Peter Zaitsev Percona Live NYC May 26,2011

Improvements in MySQL 5.5 and 5.6. Peter Zaitsev Percona Live NYC May 26,2011 Improvements in MySQL 5.5 and 5.6 Peter Zaitsev Percona Live NYC May 26,2011 State of MySQL 5.5 and 5.6 MySQL 5.5 Released as GA December 2011 Percona Server 5.5 released in April 2011 Proven to be rather

More information

MySQL usage of web applications from 1 user to 100 million. Peter Boros RAMP conference 2013

MySQL usage of web applications from 1 user to 100 million. Peter Boros RAMP conference 2013 MySQL usage of web applications from 1 user to 100 million Peter Boros RAMP conference 2013 Why MySQL? It's easy to start small, basic installation well under 15 minutes. Very popular, supported by a lot

More information

Wednesday, May 15, 13

Wednesday, May 15, 13 1 Whats New With MySQL 5.6 Ligaya Turmelle Principle Technical Support Engineer - MySQL https://joind.in/8176 About Me ligaya.turmelle@oracle.com MySQL Support

More information

itexamdump 최고이자최신인 IT 인증시험덤프 일년무료업데이트서비스제공

itexamdump 최고이자최신인 IT 인증시험덤프  일년무료업데이트서비스제공 itexamdump 최고이자최신인 IT 인증시험덤프 http://www.itexamdump.com 일년무료업데이트서비스제공 Exam : 1z1-882 Title : Oracle Certified Professional, MySQL 5.6 Developer Vendor : Oracle Version : DEMO Get Latest & Valid 1z1-882

More information

Optimizing BOINC project databases

Optimizing BOINC project databases Optimizing BOINC project databases Oliver Bock Max Planck Institute for Gravitational Physics Hannover, Germany 5th Pan-Galactic BOINC Workshop Catalan Academy of Letters, Sciences and Humanities Barcelona,

More information

Performance Schema for MySQL Troubleshooting. April, 25, 2017 Sveta Smirnova

Performance Schema for MySQL Troubleshooting. April, 25, 2017 Sveta Smirnova Performance Schema for MySQL Troubleshooting April, 25, 2017 Sveta Smirnova Sveta Smirnova 2 MySQL Support engineer Author of MySQL Troubleshooting JSON UDF functions FILTER clause for MySQL Speaker Percona

More information

OKC MySQL Users Group

OKC MySQL Users Group OKC MySQL Users Group OKC MySQL Discuss topics about MySQL and related open source RDBMS Discuss complementary topics (big data, NoSQL, etc) Help to grow the local ecosystem through meetups and events

More information

MySQL 5.7 For Operational DBAs an Introduction. Peter Zaitsev, CEO, Percona February 16, 2016 Percona Technical Webinars

MySQL 5.7 For Operational DBAs an Introduction. Peter Zaitsev, CEO, Percona February 16, 2016 Percona Technical Webinars MySQL 5.7 For Operational DBAs an Introduction Peter Zaitsev, CEO, Percona February 16, 2016 Percona Technical Webinars MySQL 5.7 is Great! A lot of Worthy Changes for Developers and DBAs 2 What Developers

More information

Performance improvements in MySQL 5.5

Performance improvements in MySQL 5.5 Performance improvements in MySQL 5.5 Percona Live Feb 16, 2011 San Francisco, CA By Peter Zaitsev Percona Inc -2- Performance and Scalability Talk about Performance, Scalability, Diagnostics in MySQL

More information

When and How to Take Advantage of New Optimizer Features in MySQL 5.6. Øystein Grøvlen Senior Principal Software Engineer, MySQL Oracle

When and How to Take Advantage of New Optimizer Features in MySQL 5.6. Øystein Grøvlen Senior Principal Software Engineer, MySQL Oracle When and How to Take Advantage of New Optimizer Features in MySQL 5.6 Øystein Grøvlen Senior Principal Software Engineer, MySQL Oracle Program Agenda Improvements for disk-bound queries Subquery improvements

More information

Enhancing MySQL Security. Vinicius Grippa Percona

Enhancing MySQL Security. Vinicius Grippa Percona Enhancing MySQL Security Vinicius Grippa Percona About me Support Engineer at Percona since 2017 Working with MySQL for over 5 years - Started with SQL Server Working with databases for 7 years 2 Agenda

More information

<Insert Picture Here> New MySQL Enterprise Backup 4.1: Better Very Large Database Backup & Recovery and More!

<Insert Picture Here> New MySQL Enterprise Backup 4.1: Better Very Large Database Backup & Recovery and More! New MySQL Enterprise Backup 4.1: Better Very Large Database Backup & Recovery and More! Mike Frank MySQL Product Management - Director The following is intended to outline our general

More information

Mysql Cluster Global Schema Lock

Mysql Cluster Global Schema Lock Mysql Cluster Global Schema Lock This definitely was not the case with MySQL Cluster 7.3.x. (Warning) NDB: Could not acquire global schema lock (4009)Cluster Failure 2015-03-25 14:51:53. Using High-Speed

More information

Advanced query optimization techniques on large queries. Peter Boros Percona Webinar

Advanced query optimization techniques on large queries. Peter Boros Percona Webinar Advanced query optimization techniques on large queries Peter Boros Percona Webinar Agenda Showing the title slide Going through this agenda Prerequisites Case study #1 Case study #2 Case study #3 Case

More information

Model Question Paper. Credits: 4 Marks: 140

Model Question Paper. Credits: 4 Marks: 140 Model Question Paper Subject Code: BT0075 Subject Name: RDBMS and MySQL Credits: 4 Marks: 140 Part A (One mark questions) 1. MySQL Server works in A. client/server B. specification gap embedded systems

More information

MySQL InnoDB Cluster. MySQL HA Made Easy! Miguel Araújo Senior Software Developer MySQL Middleware and Clients. FOSDEM 18 - February 04, 2018

MySQL InnoDB Cluster. MySQL HA Made Easy! Miguel Araújo Senior Software Developer MySQL Middleware and Clients. FOSDEM 18 - February 04, 2018 MySQL InnoDB Cluster MySQL HA Made Easy! Miguel Araújo Senior Software Developer MySQL Middleware and Clients FOSDEM 18 - February 04, 2018 Safe Harbor Statement The following is intended to outline our

More information

MySQL Storage Engines Which Do You Use? April, 25, 2017 Sveta Smirnova

MySQL Storage Engines Which Do You Use? April, 25, 2017 Sveta Smirnova MySQL Storage Engines Which Do You Use? April, 25, 2017 Sveta Smirnova Sveta Smirnova 2 MySQL Support engineer Author of MySQL Troubleshooting JSON UDF functions FILTER clause for MySQL Speaker Percona

More information

MySQL for Database Administrators Volume I Student Guide

MySQL for Database Administrators Volume I Student Guide MySQL for Database Administrators Volume I Student Guide D61762GC20 Edition 2.0 September 2011 D74260 Disclaimer This document contains proprietary information and is protected by copyright and other intellectual

More information

1Z Oracle. MySQL 5 Database Administrator Certified Professional Part I

1Z Oracle. MySQL 5 Database Administrator Certified Professional Part I Oracle 1Z0-873 MySQL 5 Database Administrator Certified Professional Part I Download Full Version : http://killexams.com/pass4sure/exam-detail/1z0-873 A. Use the --log-queries-indexes option. B. Use the

More information

Mysql Tutorial Create Database User Grant All Specification

Mysql Tutorial Create Database User Grant All Specification Mysql Tutorial Create Database User Grant All Specification The world's most popular open source database This part of CREATE USER syntax is shared with GRANT, so the description here applies to GRANT

More information

Delegates must have a working knowledge of MariaDB or MySQL Database Administration.

Delegates must have a working knowledge of MariaDB or MySQL Database Administration. MariaDB Performance & Tuning SA-MARDBAPT MariaDB Performance & Tuning Course Overview This MariaDB Performance & Tuning course is designed for Database Administrators who wish to monitor and tune the performance

More information

Database Management Systems Design. Week 6 MySQL Project

Database Management Systems Design. Week 6 MySQL Project Database Management Systems Design Week 6 MySQL Project This week we will be looking at how we can control access to users and groups of users on databases, tables. I have attempted to limit coverage of

More information

Optimizing Queries with EXPLAIN

Optimizing Queries with EXPLAIN Optimizing Queries with EXPLAIN Sheeri Cabral Senior Database Administrator Twitter: @sheeri What is EXPLAIN? SQL Extension Just put it at the beginning of your statement Can also use DESC or DESCRIBE

More information

NoSQL + SQL = MySQL Get the Best of Both Worlds

NoSQL + SQL = MySQL Get the Best of Both Worlds NoSQL + SQL = MySQL Get the Best of Both Worlds Jesper Wisborg Krogh Senior Principal Technical Support Engineer Oracle, MySQL Support October 22, 2018 NEXT 15-MINUTE BRIEFING NoSQL + SQL = MySQL Safe

More information

Managing MySQL Version Upgrades. Operating Systems. About the Author OTN TOUR years with MySQL / 26 years with RDBMS

Managing MySQL Version Upgrades. Operating Systems. About the Author OTN TOUR years with MySQL / 26 years with RDBMS About the Author Ronald BRADFORD Managing MySQL Version Upgrades Ronald Bradford http://ronaldbradford.com @RonaldBradford 16 years with MySQL / 26 years with RDBMS Senior Consultant at MySQL Inc (06-08)

More information

MySQL High Availability. Michael Messina Senior Managing Consultant, Rolta-AdvizeX /

MySQL High Availability. Michael Messina Senior Managing Consultant, Rolta-AdvizeX / MySQL High Availability Michael Messina Senior Managing Consultant, Rolta-AdvizeX mmessina@advizex.com / mike.messina@rolta.com Introduction Michael Messina Senior Managing Consultant Rolta-AdvizeX, Working

More information

MySQL Performance Troubleshooting

MySQL Performance Troubleshooting MySQL Performance Troubleshooting Best Practices Francisco Bordenave - Architect, Percona Agenda Who am I? Introduction Identifying the source of problem We know where the problem is, now what? Best practices

More information

Building Highly Available and Scalable Real- Time Services with MySQL Cluster

Building Highly Available and Scalable Real- Time Services with MySQL Cluster Building Highly Available and Scalable Real- Time Services with MySQL Cluster MySQL Sales Consulting Director Philip Antoniades April, 3rd, 2012 1 Copyright 2012, Oracle and/or its affiliates. All rights

More information

Load Testing Tools. for Troubleshooting MySQL Concurrency Issues. May, 23, 2018 Sveta Smirnova

Load Testing Tools. for Troubleshooting MySQL Concurrency Issues. May, 23, 2018 Sveta Smirnova Load Testing Tools for Troubleshooting MySQL Concurrency Issues May, 23, 2018 Sveta Smirnova Introduction This is very personal webinar No intended use No best practices No QA-specific tools Real life

More information

'information_schema' When Using Lock Tables

'information_schema' When Using Lock Tables Access Denied For User To Database 'information_schema' When Using Lock Tables In this tutorial, we will show you how to import a MySQL Database using phpmyadmin. to database 'information_schema' when

More information

MySQL 5.1 Past, Present and Future MySQL UC 2006 Santa Clara, CA

MySQL 5.1 Past, Present and Future MySQL UC 2006 Santa Clara, CA MySQL 5.1 Past, Present and Future jan@mysql.com MySQL UC 2006 Santa Clara, CA Abstract Last year at the same place MySQL presented the 5.0 release introducing Stored Procedures, Views and Triggers to

More information

MySQL Group Replication. Bogdan Kecman MySQL Principal Technical Engineer

MySQL Group Replication. Bogdan Kecman MySQL Principal Technical Engineer MySQL Group Replication Bogdan Kecman MySQL Principal Technical Engineer Bogdan.Kecman@oracle.com 1 Safe Harbor Statement The following is intended to outline our general product direction. It is intended

More information

Manual Trigger Sql Server 2008 Examples Insert Update

Manual Trigger Sql Server 2008 Examples Insert Update Manual Trigger Sql Server 2008 Examples Insert Update blog.sqlauthority.com/2011/03/31/sql-server-denali-a-simple-example-of you need to manually delete this trigger or else you can't get into master too

More information

MySQL Replication. Rick Golba and Stephane Combaudon April 15, 2015

MySQL Replication. Rick Golba and Stephane Combaudon April 15, 2015 MySQL Replication Rick Golba and Stephane Combaudon April 15, 2015 Agenda What is, and what is not, MySQL Replication Replication Use Cases Types of replication Replication lag Replication errors Replication

More information

MySQL Configuration Settings

MySQL Configuration Settings Get It Done With MySQL 5&Up, Appendix B. Copyright Peter Brawley and Arthur Fuller 217. All rights reserved. TOC Previous Next MySQL Configuration Settings Server options and system MySQL maintains well

More information

MySQL & NoSQL: The Best of Both Worlds

MySQL & NoSQL: The Best of Both Worlds MySQL & NoSQL: The Best of Both Worlds Mario Beck Principal Sales Consultant MySQL mario.beck@oracle.com 1 Copyright 2012, Oracle and/or its affiliates. All rights Safe Harbour Statement The following

More information

MySQL vs MariaDB. Where are we now?

MySQL vs MariaDB. Where are we now? MySQL vs MariaDB Where are we now? Hey! A BRIEF HISTORY OF THE UNIVERSE (of MySQL and MariaDB) Herman Hollerith Unireg Begins Essentially, the origin of what we know MySQL as today, establishing its code

More information

Mysql Cluster Could Not Acquire Global Schema Lock

Mysql Cluster Could Not Acquire Global Schema Lock Mysql Cluster Could Not Acquire Global Schema Lock 2 x Mgmt Nodes: Ubuntu 14.10LTS, 2 cores, 3.5GB ram 2 x MySQL API Nodes: Ubuntu 14.10LTS, 2 cores, 3.5GB ram Could not acquire global schema lock. MySQL

More information

Database Security: Transactions, Access Control, and SQL Injection

Database Security: Transactions, Access Control, and SQL Injection .. Cal Poly Spring 2013 CPE/CSC 365 Introduction to Database Systems Eriq Augustine.. Transactions Database Security: Transactions, Access Control, and SQL Injection A transaction is a sequence of SQL

More information

Scale out Read Only Workload by sharing data files of InnoDB. Zhai weixiang Alibaba Cloud

Scale out Read Only Workload by sharing data files of InnoDB. Zhai weixiang Alibaba Cloud Scale out Read Only Workload by sharing data files of InnoDB Zhai weixiang Alibaba Cloud Who Am I - My Name is Zhai Weixiang - I joined in Alibaba in 2011 and has been working on MySQL since then - Mainly

More information

Migrating to Aurora MySQL and Monitoring with PMM. Percona Technical Webinars August 1, 2018

Migrating to Aurora MySQL and Monitoring with PMM. Percona Technical Webinars August 1, 2018 Migrating to Aurora MySQL and Monitoring with PMM Percona Technical Webinars August 1, 2018 Introductions Introduction Vineet Khanna (Autodesk) Senior Database Engineer vineet.khanna@autodesk.com Tate

More information

1z0-888.exam.43q.

1z0-888.exam.43q. 1z0-888.exam.43q Number: 1z0-888 Passing Score: 800 Time Limit: 120 min 1z0-888 MySQL 5.7 Database Administrator Exam A QUESTION 1 Is it true that binary backups always take less space than text backups?

More information

Modern Development With MySQL

Modern Development With MySQL Modern Development With MySQL Nicolas De Rico nicolas.de.rico@oracle.com Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purposes

More information

MySQL Query Optimization. Originally: Query Optimization from 0 to 10 by Jaime Crespo

MySQL Query Optimization. Originally: Query Optimization from 0 to 10 by Jaime Crespo MySQL Query Optimization Originally: Query Optimization from 0 to 10 by Jaime Crespo Agenda 1. Introduction 7. Query Profiling 2. Access Types and Basic Indexing Techniques 8. General Optimizer Improvements

More information

Covering indexes. Stéphane Combaudon - SQLI

Covering indexes. Stéphane Combaudon - SQLI Covering indexes Stéphane Combaudon - SQLI Indexing basics Data structure intended to speed up SELECTs Similar to an index in a book Overhead for every write Usually negligeable / speed up for SELECT Possibility

More information

Protecting MySQL network traffic. Daniël van Eeden 25 April 2017

Protecting MySQL network traffic. Daniël van Eeden 25 April 2017 Protecting MySQL network traffic Daniël van Eeden 25 April 2017 Booking.com at a glance Started in 1996; still based in Amsterdam Member of the Priceline Group since 2005 (stock: PCLN) Amazing growth;

More information

Mysql Performance Schema Has The Wrong Structure

Mysql Performance Schema Has The Wrong Structure Mysql Performance Schema Has The Wrong Structure events_waits_summary_by_instance' has the wrong structure 141006 As for the performance schema problems they sound as though they are quite broken. events_waits_history_long'

More information

MySQL HA Solutions Selecting the best approach to protect access to your data

MySQL HA Solutions Selecting the best approach to protect access to your data MySQL HA Solutions Selecting the best approach to protect access to your data Sastry Vedantam sastry.vedantam@oracle.com February 2015 Copyright 2015, Oracle and/or its affiliates. All rights reserved

More information

MySQL Cluster Student Guide

MySQL Cluster Student Guide MySQL Cluster Student Guide D62018GC11 Edition 1.1 November 2012 D79677 Technical Contributor and Reviewer Mat Keep Editors Aju Kumar Daniel Milne Graphic Designer Seema Bopaiah Publishers Sujatha Nagendra

More information

Tips from the Trenches Preventing downtime for the over extended DBA. Andrew Moore Senior Remote DBA Percona Managed Services

Tips from the Trenches Preventing downtime for the over extended DBA. Andrew Moore Senior Remote DBA Percona Managed Services Tips from the Trenches Preventing downtime for the over extended DBA Andrew Moore Senior Remote DBA Percona Managed Services Your Presenter Andrew Moore @mysqlboy on twitter 1+ year in Manager Services

More information