Effective Testing for Live Applications. March, 29, 2018 Sveta Smirnova
|
|
- Anthony Willis
- 5 years ago
- Views:
Transcription
1 Effective Testing for Live Applications March, 29, 2018 Sveta Smirnova
2 Table of Contents Sometimes You Have to Test on Production Wrong Data SELECT Returns Nonsense Wrong Data in the Database Performance Issues Crashes 2
3 MySQL Troubleshooting Webinars I taught to Repeat problematic queries Crash servers 3
4 MySQL Troubleshooting Webinars I taught to Repeat problematic queries Crash servers Not what you want to do in production 3
5 Not Acceptable Updating wrong data Intended performance slowdowns Crashes 4
6 Sandboxes Slower machines Smaller disks Blocking backups 5
7 Concurrency Hard to imitate Load testing tools are not perfect 6
8 Sometimes You Have to Test on Production
9 Safety First Data must stay consistent No intended crashes Tests should not make performance worse 8
10 We will Discuss Wrong data SELECT UPDATE/INSERT/DELETE DDL 9
11 We will Discuss Wrong data Performance Slow queries Locking issues Hardware-related 9
12 We will Discuss Wrong data Performance Crashes 9
13 General Workflow Measure: record what is wrong Actual and expected results Query execution time Overall application performance 10
14 General Workflow Measure: record what is wrong Actual and expected results Query execution time Overall application performance Plan changes 10
15 General Workflow Measure: record what is wrong Actual and expected results Query execution time Overall application performance Plan changes Implement them May require maintenance window 10
16 General Workflow Measure: record what is wrong Actual and expected results Query execution time Overall application performance Plan changes Implement them May require maintenance window Measure again 10
17 Challenges We need to know what causes bad behavior 11
18 Challenges We need to know what causes bad behavior It is hard to find out 11
19 Challenges We need to know what causes bad behavior It is hard to find out Issue can have many potential solutions You can find one only after many iterations 11
20 Challenges We need to know what causes bad behavior It is hard to find out Issue can have many potential solutions You can find one only after many iterations You don t want to cause worse damage 11
21 Wrong Data
22 Wrong Data SELECT Returns Nonsense
23 There is No Harm in Experimenting This is just a query 14
24 There is No Harm in Experimenting This is just a query Does not change anything 14
25 There is No Harm in Experimenting This is just a query Does not change anything Works fast 14
26 There is No Harm in Experimenting This is just a query Does not change anything Works fast No effect on others 14
27 Just Run It Use all troubleshooting techniques you know 15
28 Just Run It Use all troubleshooting techniques you know Which we discussed Troubleshooting Slow Queries 15
29 Just Run It Use all troubleshooting techniques you know Which we discussed Troubleshooting Slow Queries And not 15
30 Measure Result of SELECT EXPLAIN output Desired result Can you use sandbox for tests? 16
31 General Query Analyzing Checklist Is data in the table? 17
32 General Query Analyzing Checklist Is data in the table? Does simplified query return correct result? 17
33 General Query Analyzing Checklist Is data in the table? Does simplified query return correct result? Try removing ORDER BY GROUP BY WHERE JOIN 17
34 General Query Analyzing Checklist Is data in the table? Does simplified query return correct result? Try removing ORDER BY GROUP BY WHERE JOIN Can you use part of data for tests? 17
35 Reducing Query Example Data in the table mysql> select a from t1; a rows in set (0.00 sec) 18
36 Reducing Query Example Problematic query mysql> select distinct ceil(a) from t1; ceil(a) Here is the problem! rows in set (0.00 sec) 18
37 Reducing Query Example Wrong data type mysql> select ceil(a) a from t1; a rows in set, 4 warnings (0.00 sec) Warning (Code 1292): Truncated incorrect DECIMAL value: Warning (Code 1292): Truncated incorrect DECIMAL value: Warning (Code 1292): Truncated incorrect DECIMAL value: Warning (Code 1292): Truncated incorrect DECIMAL value:... 18
38 Reducing Query Example Solution mysql> select distinct cast(ceil(a) as signed) from t1; cast(ceil(a) as signed) rows in set (0.00 sec) 18
39 Reducing Query Example Based on MySQL Bug #
40 Challenges Large datasets Removing WHERE leads to high IO 19
41 Challenges Large datasets Removing WHERE leads to high IO Solutions Limit data by primary key access Run EXPLAIN before query Adjust in parts 19
42 Wrong Data Wrong Data in the Database
43 You Have Wrong Data in the Database Incorrect UPDATE statement 21
44 You Have Wrong Data in the Database Incorrect UPDATE statement Concurrency 21
45 You Have Wrong Data in the Database Incorrect UPDATE statement Concurrency Wrong order of master events on slave 21
46 You Already Know Problematic Query All updates are in the binary log 22
47 You Already Know Problematic Query All updates are in the binary log With RBR use mysqlbinlog --verbose May help to discover logic error 22
48 You Already Know Problematic Query All updates are in the binary log With RBR use mysqlbinlog --verbose May help to discover logic error Audit, general, application logs 22
49 How to Deal with Tons of Updates? Quickly run through them 23
50 How to Deal with Tons of Updates? Quickly run through them Treat similar queries as same one UPDATE foo SET bar=8 WHERE baz=9 UPDATE foo SET bar=9 WHERE baz=8 23
51 How to Deal with Tons of Updates? Quickly run through them Treat similar queries as same one Search for not trivial queries DELETE FROM t1, t2 USING t1, t2; 23
52 How to Deal with Tons of Updates? Quickly run through them Treat similar queries as same one Search for not trivial queries DELETE FROM t1, t2 USING t1, t2; Will work only for matching rows 23
53 How to Deal with Tons of Updates? Quickly run through them Treat similar queries as same one Search for not trivial queries Examine logs for number of affected rows Slow query log in Percona Server has it performance schema.events statements * Performance Schema for MySQL Troubleshooting 23
54 Concurrency and Conflicts Order of events 24
55 Concurrency and Conflicts Order of events Transaction isolation level 24
56 Concurrency and Conflicts Order of events Transaction isolation level Content of binary log 24
57 Concurrency and Conflicts Order of events Transaction isolation level Content of binary log Application logic Log files What do you expect from it? 24
58 Measure What was wrong DML queries What changed How result changed 25
59 Test safely update City, Country set City.Population=Country.Population+1000 where City.CountryCode=Country.Code and Continent= Oceania and Region= Polynesia ; 26
60 Test safely update City, Country set City.Population=Country.Population+1000 where City.CountryCode=Country.Code and Continent= Oceania and Region= Polynesia ; Convert to SELECT select City.Population, Country.Population, Country.Code from City, Country where City.CountryCode=Country.Code and Continent= Oceania and Region= Polynesia ; 26
61 Test safely update City, Country set City.Population=Country.Population+1000 where City.CountryCode=Country.Code and Continent= Oceania and Region= Polynesia ; Convert to SELECT Multi-statement transaction and rollback mysql> begin; Query OK, 0 rows affected (0.00 sec) mysql> update City, Country set City.Population=Country.Population > where City.CountryCode=Country.Code and Continent= Oceania and Region= Polynesia ; Query OK, 12 rows affected (0.01 sec) Rows matched: 12 Changed: 12 Warnings: 0 mysql> rollback; Query OK, 0 rows affected (0.13 sec) 26
62 Test safely update City, Country set City.Population=Country.Population+1000 where City.CountryCode=Country.Code and Continent= Oceania and Region= Polynesia ; Convert to SELECT Multi-statement transaction and rollback Experiment with slave 26
63 Test safely update City, Country set City.Population=Country.Population+1000 where City.CountryCode=Country.Code and Continent= Oceania and Region= Polynesia ; Convert to SELECT Multi-statement transaction and rollback Experiment with slave Be ready to revert changes! 26
64 Performance Issues
65 Measure Most important for Performance Issues 28
66 Measure Most important for Performance Issues Application response time How long web page loads? How long took AJAX request? How much took request to database? 28
67 Measure Most important for Performance Issues Application response time Slow query log 28
68 Measure Most important for Performance Issues Application response time Slow query log Throughout data collection pt-stalk Performance Schema Manual 28
69 What is Wrong with Hardware Metrics? They say nothing about state 29
70 What is Wrong with Hardware Metrics? They say nothing about state High CPU Is database starving? Is it running many client threads? 29
71 What is Wrong with Hardware Metrics? They say nothing about state High CPU Low CPU Is database idle? Did you limit concurrency? 29
72 What is Wrong with Hardware Metrics? They say nothing about state High CPU Low CPU High Memory Usage Too large buffers? Too many temporary tables? 29
73 What is Wrong with Hardware Metrics? They say nothing about state High CPU Low CPU High Memory Usage You got the idea 29
74 Measure in Right Time! Baseline: for normal load Makes sense to understand hardware limits 30
75 Measure in Right Time! Baseline: for normal load For troubleshooting: for real load 30
76 Test Workflow Collect data 31
77 Test Workflow Collect data Plan changes Record everything you modify Choose time 31
78 Test Workflow Collect data Plan changes Record everything you modify Choose time Make changes 31
79 Test Workflow Collect data Plan changes Record everything you modify Choose time Make changes Collect again 31
80 Test Workflow Collect data Plan changes Record everything you modify Choose time Make changes Collect again Compare 31
81 Can I get Situation Worse? Yes, you can! 32
82 Can I get Situation Worse? Yes, you can! But you are already in trouble 32
83 Can I get Situation Worse? Yes, you can! But you are already in trouble You have to do something 32
84 Safe Way to Test Understand what you change 33
85 Safe Way to Test Understand what you change Test in session 33
86 Safe Way to Test Understand what you change Test in session Change dynamic variables 33
87 Safe Way to Test Understand what you change Test in session Change dynamic variables Store changes Configuration file 8.0+: SET PERSIST 33
88 Safe Way to Test Understand what you change Test in session Change dynamic variables Store changes Configuration file 8.0+: SET PERSIST Always measure effect! 33
89 If Things Went Wrong Revert changes 34
90 If Things Went Wrong Revert changes Record what caused failure 34
91 If Things Went Wrong Revert changes Record what caused failure Easy if you changed in right time 34
92 Changing in Less Busy Time May work Follow regular workflow Compare with data, collected for similar load 35
93 Changing in Less Busy Time May work Follow regular workflow Compare with data, collected for similar load Won t work Issue happens only during high activity Number of active writing clients is greater than your disk and CPU can handle InnoDB Buffer Pool aggressively purges old data only when it cannot do it in idle time 35
94 Changing in Less Busy Time May work Follow regular workflow Compare with data, collected for similar load Won t work Issue happens only during high activity Number of active writing clients is greater than your disk and CPU can handle InnoDB Buffer Pool aggressively purges old data only when it cannot do it in idle time You may try to scale Use case for sandbox Not always work 35
95 Upgrade Performance: Issues Application runs slower than before 36
96 Upgrade Performance: Issues Application runs slower than before Reason is unknown 36
97 Upgrade Performance: Issues Application runs slower than before Reason is unknown A lot of changes Hardware Operating System MySQL version 36
98 Upgrade Performance: Best Practices Record performance stats for old version pt-stalk Slow query log for few days 37
99 Upgrade Performance: Best Practices Record performance stats for old version pt-stalk Slow query log for few days Upgrade 37
100 Upgrade Performance: Best Practices Record performance stats for old version pt-stalk Slow query log for few days Upgrade Let it run 37
101 Upgrade Performance: Best Practices Record performance stats for old version pt-stalk Slow query log for few days Upgrade Let it run Measure again 37
102 Upgrade Performance: Best Practices Record performance stats for old version pt-stalk Slow query log for few days Upgrade Let it run Measure again You will know exactly what went wrong! 37
103 Calling Support Collect data At the problematic time pt-stalk in daemon mode pt-stalk --daemonize --iterations=2 --sleep=30 --dest=/path/where/you/want/logs/stored --user=root --password=mysql-root-pass --function=status --variable=threads_running --threshold=25 38
104 Calling Support Collect data At the problematic time pt-stalk in daemon mode Identify how it affects your application 38
105 Calling Support Collect data At the problematic time pt-stalk in daemon mode Identify how it affects your application Read answers about changes you need to make 38
106 Calling Support Collect data At the problematic time pt-stalk in daemon mode Identify how it affects your application Read answers about changes you need to make Apply them incrementally 38
107 Calling Support Collect data At the problematic time pt-stalk in daemon mode Identify how it affects your application Read answers about changes you need to make Apply them incrementally Measure result 38
108 Crashes
109 You have to Make Changes You are in trouble already There is nothing to be more afraid of 40
110 What to Change? Query 41
111 What to Change? Query Scenario 41
112 What to Change? Query Scenario Options 41
113 What to Change? Query Scenario Options Hardware 41
114 Log Files Error log 42
115 Log Files Error log Core file 42
116 Log Files Error log Core file Troubleshooting MySQL Crashes Debug symbols Analyze hints 42
117 Workflow Study logs 43
118 Workflow Study logs Make changes 43
119 Workflow Study logs Make changes Repeat workload 43
120 Workflow Study logs Make changes Repeat workload Do best to imitate in sandbox! 43
121 Crash in Random Places Check if mysqld is the reason 44
122 Crash in Random Places Check if mysqld is the reason Monitor OS around crash times 44
123 Crash in Random Places Check if mysqld is the reason Monitor OS around crash times PMM or similar tool is a must Impractical to have scheduled job 44
124 System and Crashes Server state 45
125 System and Crashes System Overview: 2.7 Weeks before 45
126 System and Crashes System Overview: 2.7 Weeks before 45
127 System and Crashes System Overview: 2.7 Weeks before 45
128 Summary You must monitor your system 46
129 Summary You must monitor your system Keep historic logs, so you know what changed Slow query logs pt-stalk collections PMM 46
130 Summary You must monitor your system Keep historic logs, so you know what changed Slow query logs pt-stalk collections PMM Make changes sequentially 46
131 Summary You must monitor your system Keep historic logs, so you know what changed Slow query logs pt-stalk collections PMM Make changes sequentially Avoid to replace everything at a time 46
132 Summary You must monitor your system Keep historic logs, so you know what changed Slow query logs pt-stalk collections PMM Make changes sequentially Avoid to replace everything at a time Measure before and after the change 46
133 More Information Troubleshooting Webinars at Percona MySQL is crashing: a support engineer s point of view pmmdemo.percona.com/ 47
134 Thank you!
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 informationIntroduction 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 informationTroubleshooting Best Practices
Troubleshooting Best Practices Monitoring the Production Database Without Killing Performance June, 27, 2018 Sveta Smirnova Table of Contents Introduction: Between Desire and Reality Why Monitoring is
More informationBackup & Restore. Maximiliano Bubenick Sr Remote DBA
Backup & Restore Maximiliano Bubenick Sr Remote DBA Agenda Why backups? Backup Types Raw Backups Logical Backups Binlog mirroring Backups Locks Tips Why Backups? Why Backups? At some point something will
More informationOracle 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 informationMySQL Performance Optimization and Troubleshooting with PMM. Peter Zaitsev, CEO, Percona Percona Technical Webinars 9 May 2018
MySQL Performance Optimization and Troubleshooting with PMM Peter Zaitsev, CEO, Percona Percona Technical Webinars 9 May 2018 Few words about Percona Monitoring and Management (PMM) 100% Free, Open Source
More informationUpgrading MySQL Best Practices. Apr 11-14, 2011 MySQL Conference and Expo Santa Clara,CA by Peter Zaitsev, Percona Inc
Upgrading MySQL Best Practices Apr 11-14, 2011 MySQL Conference and Expo Santa Clara,CA by Peter Zaitsev, Percona Inc MySQL Upgrade How many of you have performed MySQL upgrade? Home many of you have done
More informationMySQL Performance Optimization and Troubleshooting with PMM. Peter Zaitsev, CEO, Percona
MySQL Performance Optimization and Troubleshooting with PMM Peter Zaitsev, CEO, Percona In the Presentation Practical approach to deal with some of the common MySQL Issues 2 Assumptions You re looking
More information1Z 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 informationMyRocks in MariaDB. Sergei Petrunia MariaDB Tampere Meetup June 2018
MyRocks in MariaDB Sergei Petrunia MariaDB Tampere Meetup June 2018 2 What is MyRocks Hopefully everybody knows by now A storage engine based on RocksDB LSM-architecture Uses less
More informationSwitching to Innodb from MyISAM. Matt Yonkovit Percona
Switching to Innodb from MyISAM Matt Yonkovit Percona -2- DIAMOND SPONSORSHIPS THANK YOU TO OUR DIAMOND SPONSORS www.percona.com -3- Who We Are Who I am Matt Yonkovit Principal Architect Veteran of MySQL/SUN/Percona
More informationResolving and Preventing MySQL Downtime
Resolving and Preventing MySQL Downtime Common MySQL service impacting challenges, resolutions and prevention. Jervin Real Jervin Real Technical Services Manager APAC Engineer Engineering Engineers 2 What
More informationMySQL 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 informationPerformance 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 informationmysql Sun Certified MySQL 5.0 Database(R) Administrator Part 1
mysql 310-810 Sun Certified MySQL 5.0 Database(R) Administrator Part 1 http://killexams.com/exam-detail/310-810 A. shell>mysql test < dump.sql B. shell>mysqladmin recover test dump.sql C. mysql> USE test;mysql>
More informationmysql Certified MySQL 5.0 DBA Part I
mysql 005-002 Certified MySQL 5.0 DBA Part I http://killexams.com/exam-detail/005-002 QUESTION: 116 Which of the following correctly defines the general difference between a read lock and a write lock?
More informationImprovements 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 informationInformatica Developer Tips for Troubleshooting Common Issues PowerCenter 8 Standard Edition. Eugene Gonzalez Support Enablement Manager, Informatica
Informatica Developer Tips for Troubleshooting Common Issues PowerCenter 8 Standard Edition Eugene Gonzalez Support Enablement Manager, Informatica 1 Agenda Troubleshooting PowerCenter issues require a
More informationPreventing and Resolving MySQL Downtime. Jervin Real, Michael Coburn Percona
Preventing and Resolving MySQL Downtime Jervin Real, Michael Coburn Percona About Us Jervin Real, Technical Services Manager Engineer Engineering Engineers APAC Michael Coburn, Principal Technical Account
More informationMySQL 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 informationWhat is MariaDB 5.5? w: e: Daniel Bartholomew Oct 2012
What is MariaDB 5.5? Daniel Bartholomew Oct 2012 Abstract MariaDB 5.5 is the current stable, generally available (GA) release of MariaDB. It builds upon and includes several major new features and changes
More information10 Percona Toolkit tools every MySQL DBA should know about
10 Percona Toolkit tools every MySQL DBA should know about Fernando Ipar - Percona Webinar Dec/2012 2 About me Fernando Ipar Consultant @ Percona fernando.ipar@percona.com 3 About this presentation Introductory
More informationRunning MySQL on AWS. Michael Coburn Wednesday, April 15th, 2015
Running MySQL on AWS Michael Coburn Wednesday, April 15th, 2015 Who am I? 2 Senior Architect with Percona 3 years on Friday! Canadian but I now live in Costa Rica I see 3-10 different customer environments
More informationMySQL 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 informationMigrating To MySQL The Live Database Upgrade Guide
Migrating To MySQL 5.7 - The Live Database Upgrade Guide October 4, 2016 Krzysztof Książek Severalnines krzysztof@severalnines.com 1 Agenda! Why upgrading to MySQL 5.7?! Preparing an upgrade - changes
More informationHow To Rock with MyRocks. Vadim Tkachenko CTO, Percona Webinar, Jan
How To Rock with MyRocks Vadim Tkachenko CTO, Percona Webinar, Jan-16 2019 Agenda MyRocks intro and internals MyRocks limitations Benchmarks: When to choose MyRocks over InnoDB Tuning for the best results
More informationCreating a Best-in-Class Backup and Recovery System for Your MySQL Environment. Akshay Suryawanshi DBA Team Manager,
Creating a Best-in-Class Backup and Recovery System for Your MySQL Environment Akshay Suryawanshi DBA Team Manager, 2015-07-15 Agenda Why backups? Backup Types Binary or Raw Backups Logical Backups Binlog
More informationInnoDB: 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 informationBackground. $VENDOR wasn t sure either, but they were pretty sure it wasn t their code.
Background Patient A got in touch because they were having performance pain with $VENDOR s applications. Patient A wasn t sure if the problem was hardware, their configuration, or something in $VENDOR
More informationMySQL 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 informationTips 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 informationScale 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 informationMysql 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 informationMySQL 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<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 informationOracle 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 informationPercona Live September 21-23, 2015 Mövenpick Hotel Amsterdam
Percona Live 2015 September 21-23, 2015 Mövenpick Hotel Amsterdam TokuDB internals Percona team, Vlad Lesin, Sveta Smirnova Slides plan Introduction in Fractal Trees and TokuDB Files Block files Fractal
More informationReplication features of 2011
FOSDEM 2012 Replication features of 2011 What they were How to get them How to use them Sergey Petrunya MariaDB MySQL Replication in 2011: overview Notable events, chronologically: MySQL 5.5 GA (Dec 2010)
More informationInnoDB Scalability Limits. Peter Zaitsev, Vadim Tkachenko Percona Inc MySQL Users Conference 2008 April 14-17, 2008
InnoDB Scalability Limits Peter Zaitsev, Vadim Tkachenko Percona Inc MySQL Users Conference 2008 April 14-17, 2008 -2- Who are the Speakers? Founders of Percona Inc MySQL Performance and Scaling consulting
More informationInnoDB: 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 informationThe Care and Feeding of a MySQL Database for Linux Adminstrators. Dave Stokes MySQL Community Manager
The Care and Feeding of a MySQL Database for Linux Adminstrators Dave Stokes MySQL Community Manager David.Stokes@Oracle.com Simple Introduction This is a general introduction to running a MySQL database
More informationò Server can crash or be disconnected ò Client can crash or be disconnected ò How to coordinate multiple clients accessing same file?
Big picture (from Sandberg et al.) NFS Don Porter CSE 506 Intuition Challenges Instead of translating VFS requests into hard drive accesses, translate them into remote procedure calls to a server Simple,
More informationNFS. Don Porter CSE 506
NFS Don Porter CSE 506 Big picture (from Sandberg et al.) Intuition ò Instead of translating VFS requests into hard drive accesses, translate them into remote procedure calls to a server ò Simple, right?
More informationChapter 8: Working With Databases & Tables
Chapter 8: Working With Databases & Tables o Working with Databases & Tables DDL Component of SQL Databases CREATE DATABASE class; o Represented as directories in MySQL s data storage area o Can t have
More informationMigrating to XtraDB Cluster 2014 Edition
Migrating to XtraDB Cluster 2014 Edition Jay Janssen Managing Consultant Overview of XtraDB Cluster Percona Server + Galera Cluster of Innodb nodes Readable and Writable Virtually Synchronous All data
More informationAdvanced Oracle SQL Tuning v3.0 by Tanel Poder
Advanced Oracle SQL Tuning v3.0 by Tanel Poder /seminar Training overview This training session is entirely about making Oracle SQL execution run faster and more efficiently, understanding the root causes
More informationWhy 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 informationQ&A Session for Connect with Remedy - CMDB Best Practices Coffee Break
Q&A Session for Connect with Remedy - CMDB Best Practices Coffee Break Date: Thursday, March 05, 2015 Q: When going to Asset Management Console and making an update on there, does that go to a sandbox
More informationExperiences of Global Temporary Tables in Oracle 8.1
Experiences of Global Temporary Tables in Oracle 8.1 Global Temporary Tables are a new feature in Oracle 8.1. They can bring significant performance improvements when it is too late to change the design.
More informationIT Best Practices Audit TCS offers a wide range of IT Best Practices Audit content covering 15 subjects and over 2200 topics, including:
IT Best Practices Audit TCS offers a wide range of IT Best Practices Audit content covering 15 subjects and over 2200 topics, including: 1. IT Cost Containment 84 topics 2. Cloud Computing Readiness 225
More informationMySQL High Availability Solutions. Alex Poritskiy Percona
MySQL High Availability Solutions Alex Poritskiy Percona The Five 9s of Availability Clustering & Geographical Redundancy Clustering Technologies Replication Technologies Well-Managed disasters power failures
More informationPart 2 (Disk Pane, Network Pane, Process Details & Troubleshooting)
Note: This discussion is based on MacOS, 10.12.5 (Sierra). Some illustrations may differ when using other versions of macos or OS X. Credits: See the list at the end of this presentation Part 2 (Disk Pane,
More informationMySQL Performance Improvements
Taking Advantage of MySQL Performance Improvements Baron Schwartz, Percona Inc. Introduction About Me (Baron Schwartz) Author of High Performance MySQL 2 nd Edition Creator of Maatkit, innotop, and so
More informationMySQL 101. Designing effective schema for InnoDB. Yves Trudeau April 2015
MySQL 101 Designing effective schema for InnoDB Yves Trudeau April 2015 About myself : Yves Trudeau Principal architect at Percona since 2009 With MySQL then Sun, 2007 to 2009 Focus on MySQL HA and distributed
More informationMysql 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 informationEngineering Robust Server Software
Engineering Robust Server Software Scalability Other Scalability Issues Database Load Testing 2 Databases Most server applications use databases Very complex pieces of software Designed for scalability
More informationEECS 482 Introduction to Operating Systems
EECS 482 Introduction to Operating Systems Winter 2018 Harsha V. Madhyastha Multiple updates and reliability Data must survive crashes and power outages Assume: update of one block atomic and durable Challenge:
More informationDatabase 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 informationManual Trigger Sql Server 2008 Update Inserted Rows
Manual Trigger Sql Server 2008 Update Inserted Rows Am new to SQL scripting and SQL triggers, any help will be appreciated Does it need to have some understanding of what row(s) were affected, sql-serverperformance.com/2010/transactional-replication-2008-r2/
More informationVMware vrealize operations Management Pack FOR. PostgreSQL. User Guide
VMware vrealize operations Management Pack FOR PostgreSQL User Guide TABLE OF CONTENTS 1. Purpose... 3 2. Introduction to the Management Pack... 3 2.1 How the Management Pack Collects Data... 3 2.2 Data
More informationMySQL 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 informationDRS: Advanced Concepts, Best Practices and Future Directions
INF-VSP2825 DRS: Advanced Concepts, Best Practices and Future Directions Aashish Parikh, VMware, Inc. Ajay Gulati, VMware, Inc. #vmworldinf Disclaimer This session may contain product features that are
More informationMigrating 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 informationWritten by Marco Tusa Wednesday, 23 February :03 - Last Updated Sunday, 18 August :39
The Binary Log The binary log in MySQL has two main declared purpose, replication and PTR (point in time recovery), as declared in the MySQL manual. In the MySQL binary log are stored all that statements
More informationMariaDB 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 informationJyotheswar Kuricheti
Jyotheswar Kuricheti 1 Agenda: 1. Performance Tuning Overview 2. Identify Bottlenecks 3. Optimizing at different levels : Target Source Mapping Session System 2 3 Performance Tuning Overview: 4 What is
More informationMySQL 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 informationContinuous MySQL Restores Divij Rajkumar
Continuous MySQL Restores Divij Rajkumar (divij@fb.com) Production Engineer, MySQL Infrastructure, Facebook Continuous Restores Why? Verify backup integrity Haven t tested your backups? You don t have
More informationORACLE 8 OBJECT ORIENTED TECHNOLOGY ORACLE SOFTWARE STRUCTURES SERVER SIDE BACKGROUND PROCESSES DATABASE SERVER AND DATABASE INSTANCE
ORACLE 8 IS ORDBMS HANDLES VLDB - GIGABYTES/TERABYTES 10,000 CONCURRENT USERS PARTITIONED TABLES AND INDEXES SINGLE DATA BLOCK IS INACCESSSIBLE CAN ACCESS MULTIPLE PARTITION IN PARALLEL FOR CONCURRENT
More informationWhat 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 informationPractical MySQL indexing guidelines
Practical MySQL indexing guidelines Percona Live October 24th-25th, 2011 London, UK Stéphane Combaudon stephane.combaudon@dailymotion.com Agenda Introduction Bad indexes & performance drops Guidelines
More informationMySQL 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 informationHA solution with PXC-5.7 with ProxySQL. Ramesh Sivaraman Krunal Bauskar
HA solution with PXC-5.7 with ProxySQL Ramesh Sivaraman Krunal Bauskar Agenda What is Good HA eco-system? Understanding PXC-5.7 Understanding ProxySQL PXC + ProxySQL = Complete HA solution Monitoring using
More informationEngineering Robust Server Software
Engineering Robust Server Software Scalability Other Scalability Issues Database Load Testing 2 Databases Most server applications use databases Very complex pieces of software Designed for scalability
More informationCapacity metrics in daily MySQL checks. Vladimir Fedorkov MySQL and Friends Devroom FOSDEM 15
Capacity metrics in daily MySQL checks Vladimir Fedorkov MySQL and Friends Devroom FOSDEM 15 About me Performance geek blog http://astellar.com Twitter @vfedorkov Enjoy LAMP stack tuning Especially MySQL
More informationOracle 1Z0-882 Exam. Volume: 100 Questions. Question No: 1 Consider the table structure shown by this output: Mysql> desc city:
Volume: 100 Questions Question No: 1 Consider the table structure shown by this output: Mysql> desc city: 5 rows in set (0.00 sec) You execute this statement: SELECT -,-, city. * FROM city LIMIT 1 What
More information1Copyright 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 informationGitHub's online schema migrations for MySQL
GitHub's online schema migrations for MySQL Tom Krouper, Shlomi Noach GitHub Illustrated with ghosts How people build software 1 GitHub The world s largest Octocat T-shirt and stickers store And water
More informationCSC 261/461 Database Systems Lecture 20. Spring 2017 MW 3:25 pm 4:40 pm January 18 May 3 Dewey 1101
CSC 261/461 Database Systems Lecture 20 Spring 2017 MW 3:25 pm 4:40 pm January 18 May 3 Dewey 1101 Announcements Project 1 Milestone 3: Due tonight Project 2 Part 2 (Optional): Due on: 04/08 Project 3
More informationWhat s new in Percona Xtradb Cluster 5.6. Jay Janssen Lead Consultant February 5th, 2014
What s new in Percona Xtradb Cluster 5.6 Jay Janssen Lead Consultant February 5th, 2014 Overview PXC 5.6 is the aggregation of Percona Server 5.6 Codership MySQL 5.6 patches Galera 3.x Agenda Major new
More informationMySQL 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 informationMySQL Database Scalability
MySQL Database Scalability Nextcloud Conference 2016 TU Berlin Oli Sennhauser Senior MySQL Consultant at FromDual GmbH oli.sennhauser@fromdual.com 1 / 14 About FromDual GmbH Support Consulting remote-dba
More informationXA Transactions in MySQL
XA Transactions in MySQL An overview and troubleshooting guide to distributed transactions Dov Endress Senior MySQL DBA July 25th 2018 1 2016 Percona ACID Compliant Distributed Transactions Distributed
More informationIntroduction to MySQL Cluster: Architecture and Use
Introduction to MySQL Cluster: Architecture and Use Arjen Lentz, MySQL AB (arjen@mysql.com) (Based on an original paper by Stewart Smith, MySQL AB) An overview of the MySQL Cluster architecture, what's
More informationInnodb Performance Optimization
Innodb Performance Optimization Most important practices Peter Zaitsev CEO Percona Technical Webinars December 20 th, 2017 1 About this Presentation Innodb Architecture and Performance Optimization 3h
More informationMySQL 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 informationDemystifying SQL Tuning: Tips and Techniques for SQL Experts
Demystifying SQL Tuning: Tips and Techniques for SQL Experts Mughees A. Minhas Director of Product Management, Database and Systems Management Sergey Koltakov Product Manager, Database Manageability Outline
More informationManage MySQL like a devops sysadmin. Frédéric Descamps
Manage MySQL like a devops sysadmin Frédéric Descamps Webinar Oct 2012 Who am I? Frédéric Descamps @lefred http://about.be/lefred Managing MySQL since 3.23 (as far as I remember) devops believer www.percona.com
More informationPercona XtraDB Cluster ProxySQL. For your high availability and clustering needs
Percona XtraDB Cluster-5.7 + ProxySQL For your high availability and clustering needs Ramesh Sivaraman Krunal Bauskar Agenda What is Good HA eco-system? Understanding PXC-5.7 Understanding ProxySQL PXC
More informationSQL Server 2014 Performance Tuning and Optimization
SQL Server 2014 Performance Tuning and Optimization 55144B; 5 Days, Instructor-led Course Description This course is designed to give the right amount of Internals knowledge, and wealth of practical tuning
More informationAnalyze MySQL Query Performance with Percona Cloud Tools
Analyze MySQL Query Performance with Percona Cloud Tools Vadim Tkachenko Percona, Co-founder /CTO www.percona.com cloud.percona.com www.mysqlperformanceblog.com 2 This webinar Performance Percona Cloud
More informationPDI Techniques Logging and Monitoring
PDI Techniques Logging and Monitoring Change log (if you want to use it): Date Version Author Changes Contents Overview... 1 Before You Begin... 1 Terms You Should Know... 1 Use Case: Setting Appropriate
More informationPerformance Tuning. Chapter 25
Chapter 25 Performance Tuning This chapter covers the following topics: Overview, 618 Identifying the Performance Bottleneck, 619 Optimizing the Target Database, 624 Optimizing the Source Database, 627
More informationDB2 is a complex system, with a major impact upon your processing environment. There are substantial performance and instrumentation changes in
DB2 is a complex system, with a major impact upon your processing environment. There are substantial performance and instrumentation changes in versions 8 and 9. that must be used to measure, evaluate,
More informationSun Certified MySQL 5.0 Developer Part II
310-813 Sun Certified MySQL 5.0 Developer Part II Version 13.3 QUESTION NO: 1 When executing multi-row operations, what should be the first thing you look for to see if anything unexpected happened? A.
More informationWriting High Performance SQL Statements. Tim Sharp July 14, 2014
Writing High Performance SQL Statements Tim Sharp July 14, 2014 Introduction Tim Sharp Technical Account Manager Percona since 2013 16 years working with Databases Optimum SQL Performance Schema Indices
More informationIntroduction Storage Processing Monitoring Review. Scaling at Showyou. Operations. September 26, 2011
Scaling at Showyou Operations September 26, 2011 I m Kyle Kingsbury Handle aphyr Code http://github.com/aphyr Email kyle@remixation.com Focus Backend, API, ops What the hell is Showyou? Nontrivial complexity
More informationBest Practices for Database Administrators
Best Practices for Database Administrators Sheeri K. Cabral Database Administrator The Pythian Group, www.pythian.com cabral@pythian.com 2008 MySQL User Conference & Expo MIRE Make It Really Easy Automate
More informationMySQL Replication : advanced features in all flavours. Giuseppe Maxia Quality Assurance Architect at
MySQL Replication : advanced features in all flavours Giuseppe Maxia Quality Assurance Architect at VMware @datacharmer 1 About me Who s this guy? Giuseppe Maxia, a.k.a. "The Data Charmer" QA Architect
More informationTopics. File Buffer Cache for Performance. What to Cache? COS 318: Operating Systems. File Performance and Reliability
Topics COS 318: Operating Systems File Performance and Reliability File buffer cache Disk failure and recovery tools Consistent updates Transactions and logging 2 File Buffer Cache for Performance What
More information