Detecting MySQL IO problems on Linux at different abstraction layers. Nickolay Ihalainen Percona Live London 2011
|
|
- Magdalen Simon
- 6 years ago
- Views:
Transcription
1 Detecting MySQL IO problems on Linux at different abstraction layers Nickolay Ihalainen Percona Live London 2011
2 Agenda Dataflow layers OS tools MySQL instrumentation Inside InnoDB: story of one insert
3 Layers Hardware Level On disk queue NCQ, TCQ and cache RAID controllers queue, caches OS Level BLK device level IO scheduler File system Page cache
4 Software Layers AIO Kernel AIO (for win and Linux with O_DIRECT) Glibc AIO (not used) Normal read/pread and write/pwrite Directories operations MySQL Data, InnoDb simulated AIO Dictionaries (table cache and dictionary cache)
5 High-level tools vmstat procs memory swap io---- -system cpu---- r b swpd free buff cache si so bi bo in cs us sy id wa iostat Device: rrqm/s wrqm/s r/s w/s rmb/s wmb/s avgrq-sz avgqu-sz await r_await w_await svctm %util sda pt-diskstats
6 MySQL IO tracing features Slow log, high verbosity with Percona Server Innodb status, look for pending* information_schema.innodb_io_pattern pt-mext
7 Debug IO PMP strace, syscalls per sec and req per sec
8 Block level read load blktrace /dev/sdg -a issue -a complete -w o - blkiomon -I 10 -h - sizes read (bytes): num 3203, min 4096, max , avg d2c read (usec): num 3203, min 85, max 36013, avg throughput read (bytes/msec): num 3203, min 147, max , avg sizes histogram (bytes): 0: : : : : : : : : : : : 0 d2c histogram (usec): 64: 0 128: : : : : : : : : : : 0
9 Block level write load blktrace /dev/sdg -a issue -a complete -w o - blkiomon -I 10 -h - sizes write (bytes): num 1141, min 4096, max , avg d2c write (usec): num 1141, min 192, max 54462, avg throughput write (bytes/msec): num 1141, min 75, max , avg sizes histogram (bytes): 0: : : : : : : : : : : : 0 d2c histogram (usec): 64: 0 128: 2 256: : : : : : : : : : 0
10 File System level perf stat -e 'ext4:*' -p `pgrep -x mysqld` 1,303 ext4:ext4_mark_inode_dirty 3,357 ext4:ext4_da_write_begin 3,357 ext4:ext4_da_write_end 634 ext4:ext4_da_writepages 1,328 ext4:ext4_da_write_pages 634 ext4:ext4_da_writepages_result 634 ext4:ext4_sync_file_enter 634 ext4:ext4_sync_file_exit 10 ext4:ext4_da_reserve_space 580 ext4:ext4_ext_map_blocks_enter 580 ext4:ext4_ext_map_blocks_exit seconds time elapsed
11 File System level cont. systemtap, tools like disktop.stp, io_submit.stp, and more
12 Understand how mysql & innodb works Use non-stripped sources with -g enabled GDB Full strace -ff listing systemtap with ubacktrace
13 Avoid high IO load More RAM Avoid randomness Random primary keys Useless updates/inserts Redundant indexes and fields Decrease number of rows fetched by using correct indexes More disks in raid and/or SSD disks Always test RAID adapters
14 Benchmarking Bare-metal disk with dumb RAID Raid adapter (stripe size and etc) File system Tools dd, dbench iozone sysbench Replaying general log/queries from tcpdump Mysql replication slave
15 Story of one INSERT Preparation #!/usr/bin/env stap # use: innodbio.stp --vp d /usr/sbin/mysqld --ldd -x `pgrep -x mysqld` c++filt tee -a innodbio.log probe process("mysqld").function("os_file*") { printf("%d %d %s\n",gettimeofday_s(),tid(), probefunc() ); print_ustack(ubacktrace()); printf("\n"); } probe process("mysqld").function("os_aio*") { printf("%d %d %s\n",gettimeofday_s(),tid(), probefunc() ); print_ustack(ubacktrace()); printf("\n"); }
16 Story of one INSERT A long way to open table os_aio 0x7f8bd7113b60 : os_aio+0x0/0x550 [/usr/sbin/mysqld] 0x7f8bd70d813d : fil_io+0x1dd/0x4b0 [/usr/sbin/mysqld] 0x7f8bd70bc3f5 : buf_read_page_low+0xd5/0x210 [/usr/sbin/mysqld] 0x7f8bd70bc755 : buf_read_page+0x225/0x3e0 [/usr/sbin/mysqld] 0x7f8bd70b33d7 : buf_page_get_gen+0x147/0xa50 [/usr/sbin/mysqld] 0x7f8bd70a0d69 : btr_cur_search_to_nth_level+0x399/0xf40 [/usr/sbin/mysqld] 0x7f8bd : btr_pcur_open_on_user_rec+0x64/0x2e0 [/usr/sbin/mysqld] 0x7f8bd70c77b1 : dict_load_table +0x1f1/0x2450 [/usr/sbin/mysqld] 0x7f8bd70c65a0 : dict_table_get+0x160/0x190 [/usr/sbin/mysqld] 0x7f8bd709cd0d : ha_innobase::open(char const*, int, unsigned int)+0x1cd/0x6a0 [/usr/sbin/mysqld]
17 Story of one INSERT A long way to open table os_aio 0x7f8bd7113b60 : os_aio+0x0/0x550 [/usr/sbin/mysqld] 0x7f8bd70d813d : fil_io+0x1dd/0x4b0 [/usr/sbin/mysqld] 0x7f8bd70bc3f5 : buf_read_page_low+0xd5/0x210 [/usr/sbin/mysqld] 0x7f8bd70bc755 : buf_read_page+0x225/0x3e0 [/usr/sbin/mysqld] 0x7f8bd70b33d7 : buf_page_get_gen+0x147/0xa50 [/usr/sbin/mysqld] 0x7f8bd70a0d69 : btr_cur_search_to_nth_level+0x399/0xf40 [/usr/sbin/mysqld] 0x7f8bd : btr_pcur_open_on_user_rec+0x64/0x2e0 [/usr/sbin/mysqld] 0x7f8bd70ca5ba : dict_load_indexes+0x26a/0x13e0 [/usr/sbin/mysqld] 0x7f8bd70c82d4 : dict_load_table+0xd14/0x2450 [/usr/sbin/mysqld] 0x7f8bd70c65a0 : dict_table_get+0x160/0x190 [/usr/sbin/mysqld] 0x7f8bd709cd0d : ha_innobase::open(char const*, int, unsigned int)+0x1cd/0x6a0 0x7f8bd6fde56d : handler::ha_open(st_table*, char const*, int, int)+0x3d/0x180
18 Story of one INSERT A long way to open table: statistics os_file_create_simple_no_error_handling 0x7f8bd : os_file_create_simple_no_error_handling+0x0/0x1a0 [/usr/sbin/mysqld] 0x7f8bd70cf8c0 : fil_node_open_file+0x170/0x440 [/usr/sbin/mysqld] 0x7f8bd70cfbe9 : fil_node_prepare_for_io+0x59/0x190 [/usr/sbin/mysqld] 0x7f8bd70d8986 : fil_space_get_size+0xe6/0x140 [/usr/sbin/mysqld] 0x7f8bd70bc5ce : buf_read_page+0x9e/0x3e0 [/usr/sbin/mysqld] 0x7f8bd70b33d7 : buf_page_get_gen+0x147/0xa50 [/usr/sbin/mysqld] 0x7f8bd7170c0f : btr_get_size+0x1af/0x330 [/usr/sbin/mysqld] 0x7f8bd70c631b : dict_update_statistics_low +0x4b/0x170 [/usr/sbin/mysqld] 0x7f8bd70c6554 : dict_table_get+0x114/0x190 [/usr/sbin/mysqld] 0x7f8bd709cd0d : ha_innobase::open(char const*, int, unsigned int)+0x1cd/0x6a0 [/usr/sbin/mysqld]
19 Story of one INSERT Statistics is not finished: os_file_pread os_file_close os_file_create os_file_lock os_aio reads Insert buffer operations: ibuf_merge_or_delete_for_page Reserved pages fseg_n_reserved_pages
20 Story of one INSERT Start transaction os_aio 0x7f8bd70b33d7 : buf_page_get_gen+0x147/0xa50 [/usr/sbin/mysqld] 0x7f8bd715f34b : trx_sys_flush_max_trx_id+0x9b/0xe0 [/usr/sbin/mysqld] 0x7f8bd7161e05 : trx_start_low+0xe5/0x1c0 [/usr/sbin/mysqld] 0x7f8bd7161f4f : trx_start+0x6f/0xe0 [/usr/sbin/mysqld] Read required pages before transaction start Save rowid in header file page dict_hdr_flush_row_id
21 Story of one INSERT Commit XA two phase fixation os_aio 0x7f8bd7113b60 : os_aio+0x0/0x550 [/usr/sbin/mysqld] 0x7f8bd70d813d : fil_io+0x1dd/0x4b0 [/usr/sbin/mysqld] 0x7f8bd70ffd6b : log_group_write_buf+0x1ab/0x370 [/usr/sbin/mysqld] 0x7f8bd710037e : log_write_up_to+0x44e/0x7d0 [/usr/sbin/mysqld] 0x7f8bd71644c9 : trx_prepare_off_kernel+0x2d9/0x330 [/usr/sbin/mysqld] 0x7f8bd : trx_prepare_for_mysql+0x69/0x180 [/usr/sbin/mysqld] 0x7f8bd709830b : innobase_xa_prepare(handlerton*, THD*, bool)+0xeb/0x150 [/usr/sbin/mysqld] And the same for normal logs
22 Story of one INSERT Periodic operations: Write dirty pages os_aio os_aio 0x7f8bd7113b60 : os_aio+0x0/0x550 [/usr/sbin/mysqld] 0x7f8bd70d813d : fil_io+0x1dd/0x4b0 [/usr/sbin/mysqld] 0x7f8bd70b69ba : buf_flush_buffered_writes+0x26a/0x620 [/usr/sbin/mysqld] 0x7f8bd70b75f7 : buf_flush_batch+0x157/0x11f0 [/usr/sbin/mysqld] 0x7f8bd714b666 : srv_master_thread+0xbe6/0xc60 [/usr/sbin/mysqld] And log_checkpoint is called from the same thread
23 Thank You to Our Sponsors Platinum Sponsor Gold Sponsor Silver Sponsors
24 Percona Live London Sponsors Exhibitor Sponsors Friends of Percona Sponsors Media Sponsors
25 Annual MySQL Users Conference Presented by Percona Live The Hyatt Regency Hotel, Santa Clara, CA April 10th-12th, 2012 Featured Speakers Mark Callaghan, Facebook Jeremy Zawodny, Craigslist Marten Mickos, Eucalyptus Systems Sarah Novotny, Blue Gecko Peter Zaitsev, Percona Baron Schwartz, Percona The Call for Papers is Now Open! Visit /live/mysql-conference-2012/
26 We're Hiring! /about-us/careers/
27 /live
Handlersocket. Ryan Lowe Percona Live London 2011
Handlersocket Ryan Lowe Percona Live London 2011 Agenda What is Handlersocket mysqlds vs libhsclient How much does it save? How is it used? When can it be used? Other nosql alternatives for MySQL What
More informationExtracting Performance and Scalability Metrics From TCP. Baron Schwartz Percona Live London 2011
Extracting Performance and Scalability Metrics From TCP Baron Schwartz Percona Live London 2011 Agenda Capturing TCP Traffic Black-Box Performance Analysis Forecasting Scalability and Performance When
More informationIntroduction to MySQL NDB Cluster. Yves Trudeau Ph. D. Percona Live DC/January 2012
Introduction to MySQL NDB Cluster Yves Trudeau Ph. D. Percona Live DC/January 2012 Agenda What is NDB Cluster? How MySQL uses NDB Cluster Good use cases Bad use cases Example of tuning What is NDB cluster?
More informationChoosing Storage for MySQL. Peter Zaitsev CEO, Percona Inc Percona Live, Washington,DC 11 January 2012
Choosing Storage for MySQL Peter Zaitsev CEO, Percona Inc Percona Live, Washington,DC 11 January 2012 Storage for MySQL Storage vs Memory Aspects of Choosing Storage for MySQL Directly Attaches Storage
More informationInnodb Architecture and Internals. Peter Zaitsev Percona Live, Washington DC 11 January 2012
Innodb Architecture and Internals Peter Zaitsev Percona Live, Washington DC 11 January 2012 -2- About Presentation Brief Introduction in Innodb Architecture This area would deserve many books Innodb Versions
More informationA Support Engineer Walkthrough on pt-stalk
A Support Engineer Walkthrough on pt-stalk Marcos Albe Principal Support Engineer - Percona Marcelo Altmann Senior Support Engineer - Percona Thank You Sponsors! 2 SAVE THE DATE! April 23-25, 2018 Santa
More informationMastering the art of indexing
Mastering the art of indexing Yoshinori Matsunobu Lead of MySQL Professional Services APAC Sun Microsystems Yoshinori.Matsunobu@sun.com 1 Table of contents Speeding up Selects B+TREE index structure Index
More informationPerformance Tuning of the Network Performance Server in Network Node Manager i December 8, 2016
Performance Tuning of the Network Performance Server in Network Node Manager i December 8, 2016 Brought to you by Vivit Network Management SIG Leaders Wendy Wheeler Chris Powers Hosted By Wendy Wheeler
More informationOptimizing MySQL Configuration. Peter Zaitsev,CEO Percona Live, Washington DC 11 January 2012
Optimizing MySQL Configuration Peter Zaitsev,CEO Percona Live, Washington DC 11 January 2012 Agenda Approach to getting great MySQL Configuration Types of Configuration Options Tools to Configure MySQL
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 informationSection 9: Cache, Clock Algorithm, Banker s Algorithm and Demand Paging
Section 9: Cache, Clock Algorithm, Banker s Algorithm and Demand Paging CS162 March 16, 2018 Contents 1 Vocabulary 2 2 Problems 3 2.1 Caching.............................................. 3 2.2 Clock Algorithm.........................................
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 informationA Support Engineer Walkthrough on ptstalk
A Support Engineer Walkthrough on ptstalk Marcos Albe Principal Support Engineer - Percona 1 Who is Speaking? Marcos Albé - Principal Support Engineer @ Percona - 7 years here - Focus on performance and
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 informationMySQL Performance and Scalability. Peter Zaitsev CEO, Percona Inc Percona Live, Washington,DC 11 January 2012
MySQL Performance and Scalability Peter Zaitsev CEO, Percona Inc Percona Live, Washington,DC 11 January 2012 MySQL Performance and Scalability Basic Definitions Ways to Get good Performance and Scalability
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 informationData Recovery for MySQL. Aleksandr Kuzminsky & Istvan Podor Percona Live London 2011
Data Recovery for MySQL Aleksandr Kuzminsky & Istvan Podor Percona Live London 2011 Agenda 1. InnoDB files format overview 2. InnoDB dictionary (SYS_INDEXES, SYS_TABLES) 3. InnoDB Primary and Secondary
More informationJBoss Enterprise Application Platform: Troubleshooting Guide
JBoss Enterprise Application Platform: Troubleshooting Guide JBoss Enterprise Application Platform includes one of the leading Java EE certified application server which is used by many fortune companies
More informationIntroduction to Linux features for disk I/O
Martin Kammerer 3/22/11 Introduction to Linux features for disk I/O visit us at http://www.ibm.com/developerworks/linux/linux390/perf/index.html Linux on System z Performance Evaluation Considerations
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 informationLinux Internals For MySQL DBAs. Ryan Lowe Marcos Albe Chris Giard Daniel Nichter Syam Purnam Emily Slocombe Le Peter Boros
Linux Internals For MySQL DBAs Ryan Lowe Marcos Albe Chris Giard Daniel Nichter Syam Purnam Emily Slocombe Le Peter Boros Linux Kernel It s big (almost 20 million lines of code) It ll take you YEARS to
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 informationProfiling PHP Applications
Welcome! Profiling PHP Applications ZendCon 212 - Santa Clara, US - Oct 23rd, 212 Derick Rethans - derick@derickrethans.nl - twitter: @derickr http://joind.in/6871 About Me Derick Rethans Dutchman living
More informationLinux OS Fundamentals for the SQL Admin. Anthony E. Nocentino
Linux OS Fundamentals for the SQL Admin Anthony E. Nocentino aen@centinosystems.com Anthony E. Nocentino Consultant and Trainer Founder and President of Centino Systems Specialize in system architecture
More informationOptimizing MySQL Configuration. Peter Zaitsev,CEO Technical Webinars Series March 2012
Optimizing MySQL Configuration Peter Zaitsev,CEO Technical Webinars Series March 2012 Agenda MySQL Configuration Tuning Basics Tools to Configure MySQL Looking at Most Important Options Things to know
More informationQuestion No: 1 In capacity planning exercises, which tools assist in listing and identifying processes of interest? (Choose TWO correct answers.
Volume: 129 Questions Question No: 1 In capacity planning exercises, which tools assist in listing and identifying processes of interest? (Choose TWO correct answers.) A. acpid B. lsof C. pstree D. telinit
More informationChoosing Hardware For MySQL. Kenny Gryp Percona Live Washington DC /
Choosing Hardware For MySQL Kenny Gryp Percona Live Washington DC / 2012-01-11 1 Choosing Hardware For MySQL Numbers Everybody Should Know CPU Memory Disk Network Amazon Cloud
More informationJPDM, A Structured approach To Performance Tuning. Copyright 2017 Kirk Pepperdine. All rights reserved
JPDM, A Structured approach To Performance Tuning About Us Performance Consulting Java Performance Tuning Workshops Co-Founded jclarity Disclaimer Our Typical Customer Application isn t performing to project
More informationOptimizing MySQL Configuration
Optimizing MySQL Configuration 10 November,2016 Peter Zaitsev CEO, Percona Agenda MySQL Configuration Tuning Basics What s new with MySQL Looking at Most Important Options 2 Things to Know About MySQL
More informationCIT 470: Advanced Network and System Administration. Topics. What is performance testing? Performance Monitoring
CIT 470: Advanced Network and System Administration Performance Monitoring CIT 470: Advanced Network and System Administration Slide #1 Topics 1. Performance testing 2. Performance tuning. 3. CPU 4. Memory
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 informationProfiling PHP Applications
Welcome! Profiling PHP Applications PHP Tour Lille - Lille, France - Nov 25th, 2011 Derick Rethans - derick@derickrethans.nl - twitter: @derickr http://joind.in/4357 About Me Derick Rethans Dutchman living
More informationLoad 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 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 informationLinux OS Fundamentals for the SQL Admin. Anthony E. Nocentino
Linux OS Fundamentals for the SQL Admin Anthony E. Nocentino aen@centinosystems.com Anthony E. Nocentino Consultant and Trainer Founder and President of Centino Systems Specialize in system architecture
More informationOptimizing MySQL on source code level. Vadim Tkachenko Peter Zaitsev MySQL AB
Optimizing MySQL on source code level Vadim Tkachenko Peter Zaitsev MySQL AB Vadim Tkachenko Introduction Performance Engineer, MySQL AB Peter Zaitsev Senior Performance Engineer, MySQL AB Table of Content
More informationOptimizing 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 informationProfiling PHP Applications
Welcome! Profiling PHP Applications PHPCon Poland - Masłów k/kielc, Poland - Oct 22th, 2011 Derick Rethans - derick@derickrethans.nl - twitter: @derickr About Me Derick Rethans Dutchman living in London
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 informationChoosing Hardware and Operating Systems for MySQL. Apr 15, 2009 O'Reilly MySQL Conference and Expo Santa Clara,CA by Peter Zaitsev, Percona Inc
Choosing Hardware and Operating Systems for MySQL Apr 15, 2009 O'Reilly MySQL Conference and Expo Santa Clara,CA by Peter Zaitsev, Percona Inc -2- We will speak about Choosing Hardware Choosing Operating
More informationWhat s New in MySQL and MongoDB Ecosystem Year 2017
What s New in MySQL and MongoDB Ecosystem Year 2017 Peter Zaitsev CEO Percona University, Ghent June 22 nd, 2017 1 In This Presentation Few Words about Percona Few Words about Percona University Program
More informationSSD/Flash for Modern Databases. Peter Zaitsev, CEO, Percona October 08, 2014 Percona Technical Webinars
SSD/Flash for Modern Databases Peter Zaitsev, CEO, Percona October 08, 2014 Percona Technical Webinars In this Presentation Flash technology overview Review some of the available technology What does this
More informationCHAPTER. Configuring the Hardware for Linux and Oracle
CHAPTER 15 Configuring the Hardware for Linux and Oracle 352 Oracle Database 10g Linux Administration T uning the hardware is as important as tuning the operating system and tuning the Oracle instance.
More informationOptimizing MySQL Configuration. Peter Zaitsev,CEO OSCON 2012, Portland,OR July 20, 2012
Optimizing MySQL Configuration Peter Zaitsev,CEO OSCON 2012, Portland,OR July 20, 2012 Agenda Approach to getting great MySQL Configuration Types of Configuration Options Tools to Configure MySQL Looking
More informationUtils Commands CHAPTER
CHAPTER 9 Published: October 26, 2010, This chapter contains the following utils commands: utils fior utils firewall utils iostat utils iothrottle enable utils iothrottle disable utils iothrottle status
More informationTo Shard or Not to Shard That is the question! Peter Zaitsev April 21, 2016
To Shard or Not to Shard That is the question! Peter Zaitsev April 21, 2016 Story Let s start with the story 2 First things to decide Before you decide how to shard you d best understand whether or not
More informationTroubleshooting PostgreSQL with pgcenter. Alexey Lesovsky
Troubleshooting PostgreSQL with pgcenter Alexey Lesovsky alexey.lesovsky@ 01 02 Introduction What is pgcenter. Goals and quick overview. Troubleshooting cases Health checks and load spikes. Hidden problems.
More informationRALPH BÖHME, SERNET, SAMBA TEAM UNDERSTANDING AND IMPROVING SAMBA FILESERVER PERFORMANCE HOW I FELL IN LOVE WITH SYSTEMTAP AND PERF
UNDERSTANDING AND IMPROVING HOW I FELL IN LOVE WITH SYSTEMTAP AND PERF 2 AGENDA Disclaimer: focus on userspace, not kernel, mostly Linux Linux tracing history tour de force perf Systemtap Samba fileserver
More informationCSE 451: Operating Systems. Section 10 Project 3 wrap-up, final exam review
CSE 451: Operating Systems Section 10 Project 3 wrap-up, final exam review Final exam review Goal of this section: key concepts you should understand Not just a summary of lectures Slides coverage and
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 informationTuning Red Hat Platform for Databases. Sanjay Rao Principal Software Engineer May
Tuning Red Hat Platform for Databases Sanjay Rao Principal Software Engineer May 3 217 RHEL Performance Evolution RHEL5 Static Hugepages RHEL6 Transparent Hugepages CPU Sets Ktune on/of Tuned - Choose
More informationSSD/Flash for Modern Databases. Peter Zaitsev, CEO, Percona November 1, 2014 Highload Moscow,Russia
SSD/Flash for Modern Databases Peter Zaitsev, CEO, Percona November 1, 2014 Highload++ 2014 Moscow,Russia Percona We love Open Source Software Percona Server Percona Xtrabackup Percona XtraDB Cluster Percona
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 informationA Brief Introduction of TiDB. Dongxu (Edward) Huang CTO, PingCAP
A Brief Introduction of TiDB Dongxu (Edward) Huang CTO, PingCAP About me Dongxu (Edward) Huang, Cofounder & CTO of PingCAP PingCAP, based in Beijing, China. Infrastructure software engineer, open source
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 informationDeploying 8Gb Fibre Channel with Oracle Database. James Morle, Scale Abilities Ltd
Deploying 8Gb Fibre Channel with Oracle Database James Morle, Scale Abilities Ltd 1 Executive Summary Many Oracle Database customers are wondering if it makes sense to upgrade their existing 4Gb Fibre
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 informationXtreemFS: highperformance network file system clients and servers in userspace. Minor Gordon, NEC Deutschland GmbH
XtreemFS: highperformance network file system clients and servers in userspace, NEC Deutschland GmbH mgordon@hpce.nec.com Why userspace? File systems traditionally implemented in the kernel for performance,
More informationLINUX OS FUNDAMENTALS FOR THE SQL ADMIN
LINUX OS FUNDAMENTALS FOR THE SQL ADMIN Anthony E. Nocentino aen@centinosystems.com ANTHONY E. NOCENTINO! Consultant and Trainer! Founder and President of Centino Systems! Specialize in system architecture
More informationScaling Without Sharding. Baron Schwartz Percona Inc Surge 2010
Scaling Without Sharding Baron Schwartz Percona Inc Surge 2010 Web Scale!!!! http://www.xtranormal.com/watch/6995033/ A Sharding Thought Experiment 64 shards per proxy [1] 1 TB of data storage per node
More informationWhy Choose Percona Server For MySQL? Tyler Duzan
Why Choose Percona Server For MySQL? Tyler Duzan Product Manager 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
More informationThe Exciting MySQL 5.7 Replication Enhancements
The Exciting MySQL 5.7 Replication Enhancements Luís Soares (luis.soares@oracle.com) Principal Software Engineer, MySQL Replication Team Lead Copyright 2016, Oracle and/or its affiliates. All rights reserved.
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 informationUtils Commands CHAPTER
CHAPTER 9 Published: October 31, 2011, This chapter contains the following utils commands: utils auditd disable utils auditd enable utils auditd status utils create report hardware utils create report
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 informationPractical MySQL Performance Optimization. Peter Zaitsev, CEO, Percona July 02, 2015 Percona Technical Webinars
Practical MySQL Performance Optimization Peter Zaitsev, CEO, Percona July 02, 2015 Percona Technical Webinars In This Presentation We ll Look at how to approach Performance Optimization Discuss Practical
More informationFalcon: Scaling IO Performance in Multi-SSD Volumes. The George Washington University
Falcon: Scaling IO Performance in Multi-SSD Volumes Pradeep Kumar H Howie Huang The George Washington University SSDs in Big Data Applications Recent trends advocate using many SSDs for higher throughput
More informationNoVA MySQL October Meetup. Tim Callaghan VP/Engineering, Tokutek
NoVA MySQL October Meetup TokuDB and Fractal Tree Indexes Tim Callaghan VP/Engineering, Tokutek 2012.10.23 1 About me, :) Mark Callaghan s lesser-known but nonetheless smart brother. [C. Monash, May 2010]
More informationFirebird Tour 2017: Performance. Vlad Khorsun, Firebird Project
Firebird Tour 2017: Performance Vlad Khorsun, Firebird Project About Firebird Tour 2017 Firebird Tour 2017 is organized by Firebird Project, IBSurgeon and IBPhoenix, and devoted to Firebird Performance.
More informationOptimizing Fusion iomemory on Red Hat Enterprise Linux 6 for Database Performance Acceleration. Sanjay Rao, Principal Software Engineer
Optimizing Fusion iomemory on Red Hat Enterprise Linux 6 for Database Performance Acceleration Sanjay Rao, Principal Software Engineer Version 1.0 August 2011 1801 Varsity Drive Raleigh NC 27606-2072 USA
More informationChoosing a MySQL High Availability Solution. Marcos Albe, Percona Inc. Live Webinar June 2017
Choosing a MySQL High Availability Solution Marcos Albe, Percona Inc. Live Webinar June 2017 Agenda What is availability Components to build an HA solution HA options in the MySQL ecosystem Failover/Routing
More informationMyRocks Engineering Features and Enhancements. Manuel Ung Facebook, Inc. Dublin, Ireland Sept th, 2017
MyRocks Engineering Features and Enhancements Manuel Ung Facebook, Inc. Dublin, Ireland Sept 25 27 th, 2017 Agenda Bulk load Time to live (TTL) Debugging deadlocks Persistent auto-increment values Improved
More informationMongoDB Revs You Up: What Storage Engine is Right for You?
MongoDB Revs You Up: What Storage Engine is Right for You? Jon Tobin, Director of Solution Eng. --------------------- Jon.Tobin@percona.com @jontobs Linkedin.com/in/jonathanetobin Agenda How did we get
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 informationConoscere e ottimizzare l'i/o su Linux. Andrea Righi -
Conoscere e ottimizzare l'i/o su Linux Agenda Overview I/O Monitoring I/O Tuning Reliability Q/A Overview File I/O in Linux READ vs WRITE READ synchronous: CPU needs to wait the completion of the READ
More informationRed Hat Summit 2009 William Cohen
1 UNDERSTANDING COMPUTER PERFORMANCE WITH SYSTEMTAP William Cohen Performance Tools Engineer Red Hat September 2, 2009 Agenda What is SystemTap? How does SystemTap work? Setting up SystemTap Very simple
More informationKodewerk. Java Performance Services. The War on Latency. Reducing Dead Time Kirk Pepperdine Principle Kodewerk Ltd.
Kodewerk tm Java Performance Services The War on Latency Reducing Dead Time Kirk Pepperdine Principle Kodewerk Ltd. Me Work as a performance tuning freelancer Nominated Sun Java Champion www.kodewerk.com
More informationMySQL and SSD: Usage Patterns
Date, time, place: MySQL Conference & Expo 2011 Reporter: Vadim Tkachenko Co-founder, CTO, Percona Inc You can get up to 7x gain running MySQL on SSD Even 20x with some tricks In this talk What is best
More informationCaching and reliability
Caching and reliability Block cache Vs. Latency ~10 ns 1~ ms Access unit Byte (word) Sector Capacity Gigabytes Terabytes Price Expensive Cheap Caching disk contents in RAM Hit ratio h : probability of
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 informationQUEUES YOUR QUERY WAITS IN JOSH SNYDER
QUEUES YOUR QUERY WAITS IN JOSH SNYDER SO MUCH QUEUING SO LITTLE TIME JOSH SNYDER ESCALATOR ETIQUETTE ESCALATING UPHEAVAL Why would they do such a thing? Latency Throughput units time time -1 measures
More informationInnoDB Compression Present and Future. Nizameddin Ordulu Justin Tolmer Database
InnoDB Compression Present and Future Nizameddin Ordulu nizam.ordulu@fb.com, Justin Tolmer jtolmer@fb.com Database Engineering @Facebook Agenda InnoDB Compression Overview Adaptive Padding Compression
More informationGreg Smith's Note Magnet
Teilen 0 Mehr Nächstes Blog» Blog erstellen Anmelden Greg Smith's Note Magnet Sunday, August 3, 2008 A Linux write cache mystery One happy coincidence for me last month is that I discovered a friend of
More informationOptimizing MySQL performance with ZFS. Neelakanth Nadgir Allan Packer Sun Microsystems
Optimizing MySQL performance with ZFS Neelakanth Nadgir Allan Packer Sun Microsystems Who are we? Allan Packer Principal Engineer, Performance http://blogs.sun.com/allanp Neelakanth Nadgir Senior Engineer,
More informationWiredTiger configuration variables - Looking under the hood
WiredTiger configuration variables - Looking under the hood Antonios Giannopoulos Database Administrator ObjectRocket Percona Live 2017 Agenda We are going to discuss : MongoDB WiredTiger Configuration
More informationTokuDB vs RocksDB. What to choose between two write-optimized DB engines supported by Percona. George O. Lorch III Vlad Lesin
TokuDB vs RocksDB What to choose between two write-optimized DB engines supported by Percona George O. Lorch III Vlad Lesin What to compare? Amplification Write amplification Read amplification Space amplification
More informationChecking Resource Usage in Fedora (Linux)
Lab 5C Checking Resource Usage in Fedora (Linux) Objective In this exercise, the student will learn how to check the resources on a Fedora system. This lab covers the following commands: df du top Equipment
More informationEffective 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 informationBottleneck Hunters: How Schooner increased MySQL throughput by more than 800% Jeremy Cole
Bottleneck Hunters: How Schooner increased MySQL throughput by more than 800% Jeremy Cole On the genesis of Schooner: Hardware is massively under-utilized I/O has long
More informationMySQL Replication Options. Peter Zaitsev, CEO, Percona Moscow MySQL User Meetup Moscow,Russia
MySQL Replication Options Peter Zaitsev, CEO, Percona Moscow MySQL User Meetup Moscow,Russia Few Words About Percona 2 Your Partner in MySQL and MongoDB Success 100% Open Source Software We work with MySQL,
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 informationWhite Paper ETERNUS AF series Best Suited for Databases. White Paper
White Paper ETERNUS AF series All-Flash Arrays Best Suited for Databases Typically, complicated RAID designs are required for hard disk arrays to secure high-speed processing of databases. However, all-flash
More informationMonitoring MySQL Performance with Percona Monitoring and Management
Monitoring MySQL Performance with Percona Monitoring and Management Santa Clara, California April 23th 25th, 2018 MIchael Coburn, Product Manager Your Presenter Product Manager for PMM (also Percona Toolkit
More informationCS2506 Quick Revision
CS2506 Quick Revision OS Structure / Layer Kernel Structure Enter Kernel / Trap Instruction Classification of OS Process Definition Process Context Operations Process Management Child Process Thread Process
More informationHow to Fulfill the Potential of InnoDB's Performance and Scalability
How to Fulfill the Potential of InnoDB's Performance and Scalability MySQL Conference & Expo 21 Yasufumi Kinoshita Senior Performance Engineer Percona Inc. MySQLPerformanceBlog.com -2- About me... http://mysqlperformanceblog.com
More informationVirtual Memory. Reading. Sections 5.4, 5.5, 5.6, 5.8, 5.10 (2) Lecture notes from MKP and S. Yalamanchili
Virtual Memory Lecture notes from MKP and S. Yalamanchili Sections 5.4, 5.5, 5.6, 5.8, 5.10 Reading (2) 1 The Memory Hierarchy ALU registers Cache Memory Memory Memory Managed by the compiler Memory Managed
More informationHOW I LEARNED TO LOVE PERF AND SYSTEMTAP
RALPH BÖHME / SAMBA TEAM SAMBA FILESERVER PERFORMANCE HOW I LEARNED TO LOVE PERF AND SYSTEMTAP AGENDA 1. Introduction: understanding Samba fileserver performance 1.1.Case study: cp 10k 10 KB files 2. Performance
More informationVDBENCH Overview. Steven Johnson. SNIA Emerald TM Training. SNIA Emerald Power Efficiency Measurement Specification, for use in EPA ENERGY STAR
VDBENCH Overview PRESENTATION TITLE GOES HERE Steven Johnson SNIA Emerald TM Training SNIA Emerald Power Efficiency Measurement Specification, for use in EPA ENERGY STAR June 24-27, 2013 Agenda Introduction
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 informationFirebird Tour 2017: Performance. Vlad Khorsun, Firebird Project
Firebird Tour 2017: Performance Vlad Khorsun, Firebird Project About Firebird Tour 2017 Firebird Tour 2017 is organized by Firebird Project, IBSurgeon and IBPhoenix, and devoted to Firebird Performance.
More information