A Support Engineer Walkthrough on pt-stalk

Size: px
Start display at page:

Download "A Support Engineer Walkthrough on pt-stalk"

Transcription

1 A Support Engineer Walkthrough on pt-stalk Marcos Albe Principal Support Engineer - Percona Marcelo Altmann Senior Support Engineer - Percona

2 Thank You Sponsors! 2

3 SAVE THE DATE! April 23-25, 2018 Santa Clara Convention Center CALL FOR PAPERS OPENING SOON! 3

4 Who is speaking?

5 Who is Speaking? Marcelo Altmann - Senior Support Percona - Resident specialist on Surf & Brazil leisure Marcos Albé - Principal Support Percona - Chief Barbeque Officer & Designated Beer Analyst 5

6 Agenda

7 Agenda What do we USE Who s stalkin? How pt-stalk can be USEd Walkthrough 7

8 What do we USE

9 We use one of these... 9

10 Utilization 10

11 Utilization Saturation 11

12 Utilization Saturation Errors 12

13 13

14 Who s stalkin?

15 check out those resources! 15

16 Who s stalkin? Aspersa stalk + Aspersa collect in one! (thanks Daniel & Baron) # The name 'stalk' is because 'watch' is already taken, and 'stalk' is fun. Now part of pt-toolkit Monitors variable or a script s single-valued output Triggers capture when set threshold is reached - files from /proc: diskstats, interrupts, meminfo, slabinfo, procstat, procvmstat. - vmstat, iostat, top, netstat, pmap, mpstat, sysctl, df, hostname, mysqladmin ext, mysqladmin debug, lsof). - SHOW ENGINE INNODB STATUS, SHOW ENGINE INNODB MUTEX, SHOW GLOBAL VARIABLES, SHOW FULL PROCESSLIST and SHOW OPEN TABLES. Production safe! Custom triggers and custom captures Companion tools (pt-sift, pt-mext, pt-diskstats, pt-summary); Bash dissection 16

17 Who s stalkin : common parameters Stalking part - --daemonize --no-stalk --function=status --interval=1 --variable=threads_running --threshold=25 --cycles=5 Collecting part run-time=30 --sleep=300 --iterations= --plugin= --dest=/var/lib/pt-stalk Values shown are the defaults for each (where given)

18 Who s stalkin : work flow 18

19 Who s stalkin : working examples I Collect data during 60 seconds for 3 consecutive times, starting immediately. pt-stalk --no-stalk \ --dest=$home/percona \ --user=root \ --ask-pass \ --run-time=60 --sleep=60 --iterations=3 19

20 Who s stalkin : working examples II Run as a daemon and trigger collection if InnoDB has more than 5 pending fsyncs. pt-stalk --daemonize \ --function=status \ --variable=innodb_data_pending_fsyncs \ --threshold=5 \ --cycles=2 \ --interval=1 \ --iterations=5 \ --plugin=/usr/local/bin/raid_card_status.sh 20

21 Who s stalkin : custom triggers #!/bin/bash # Save this bash snippet as /root/delayed_slave_trg.sh; trg_plugin() { mysql $EXT_ARGV -Ee "SHOW SLAVE STATUS" \ grep "Seconds_Behind_Master" \ awk "{ print $2 }"; } # use like pt-stalk --function=/root/delayed_slave_trg.sh --etc --etc 21

22 Who s stalkin : custom capture #!/bin/bash # save as /root/collect_perf.sh before_collect() { # run perf stat; match sleep length to --run-time /usr/bin/perf stat --all-cpus \ --output=${d}/${p}-stat_a \ -- sleep ${OPT_RUN_TIME}; } # use like pt-stalk --plugin=/root/collect_perf.sh --etc --etc 22

23 How pt-stalk can be USE d

24 How pt-stalk can be USE d Applications System libraries System Call Interface VFS CPU Interconnect Sockets Linux Kernel Scheduler File Systems TCP/UDP Volume Manager IP Block Device Interface Ethernet CPU Virtual Memory Memory Bus DRAM Device Drivers I/O Bus I/O Bridge Expander Interconnect I/O Controller Network Controller Interface Transports Disk 24 Disk Swap Port Port

25 SHOW ENGINE INNODB STATUS SHOW ENGINE INNODB MUTEX oprofile SHOW OPEN TABLES /proc/interrupts Applications (MySQL!) SHOW FULL PROCESSLIST /proc/procstat System libraries SHOW ENGINE TOKUDB STATUS mpstat System Call Interface SHOW GLOBAL VARIABLES VFS SHOW SLAVE STATUS CPU Interconnect Sockets Scheduler Linux Kernel mysqladmin ext gdb (backtraces) strace lsof File Systems TCP/UDP Volume Manager IP Block Device Interface Ethernet ps top df Virtual Memory iostat I/O Bus /proc/diskstats sysctl I/O Bridge vmstat /proc/meminfo /proc/slabinfo Device Drivers netstat tcpdump /proc/vmstat pmap Expander Interconnect I/O Controller Network Controller Interface Transports Disk 25 CPU Disk Swap Port Port Memory Bus DRAM

26 How pt-stalk can be USE d: Here Be Dragons! gdb (backtraces) strace 26 oprofile tcpdump

27 A walkthrough

28 A walkthrough Using pt-stalk to solve problems with High IO...High CPU...Networking

29 Useful links 29 grep commands 203d Check List -

30 Questions? Marcos Albe Marcelo

A Support Engineer Walkthrough on ptstalk

A 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 information

Detecting MySQL IO problems on Linux at different abstraction layers. Nickolay Ihalainen Percona Live London 2011

Detecting MySQL IO problems on Linux at different abstraction layers. Nickolay Ihalainen Percona Live London 2011 Detecting MySQL IO problems on Linux at different abstraction layers Nickolay Ihalainen Percona Live London 2011 Agenda Dataflow layers OS tools MySQL instrumentation Inside InnoDB: story of one insert

More information

Operational DBA In a Nutshell - HandsOn Reference Guide

Operational DBA In a Nutshell - HandsOn Reference Guide 1/12 Operational DBA In a Nutshell - HandsOn Reference Guide Contents 1 Operational DBA In a Nutshell 2 2 Installation of MySQL 2 2.1 Setting Up Our VM........................................ 2 2.2 Installation

More information

MySQL Backup Best Practices and Case Study:.IE Continuous Restore Process

MySQL Backup Best Practices and Case Study:.IE Continuous Restore Process MySQL Backup Best Practices and Case Study:.IE Continuous Restore Process Marcelo Altmann Senior Support Engineer - Percona Mick Begley Technical Service Manager - IE Domain Registry Agenda Agenda Why

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

Linux 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 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 information

Running MySQL on AWS. Michael Coburn Wednesday, April 15th, 2015

Running 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 information

Building, Running and Monitoring the Linux kernel

Building, Running and Monitoring the Linux kernel Building, Running and Monitoring the Linux kernel Prak6kum Kernel Programming University of Hamburg Scien6fic Compu6ng Winter semester 2015/2016 Konstan6nos Chasapis Konstan6nos.chasapis@informa6k.uni-hamburg.de

More information

Preventing and Resolving MySQL Downtime. Jervin Real, Michael Coburn Percona

Preventing 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 information

Monitoring MySQL Performance with Percona Monitoring and Management

Monitoring 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 information

10 Percona Toolkit tools every MySQL DBA should know about

10 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 information

Alerting With MySQL and Nagios

Alerting With MySQL and Nagios Alerting With MySQL and Nagios Sheeri Cabral Senior DB Admin/Architect Mozilla @sheeri What is Monitoring? Threshold alerting Graphing/trending Why Monitor? Problem alerting Find patterns Early warning

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

Managing Processes Process: A running program

Managing Processes Process: A running program Managing Processes Process: A running program User Process: The process initiated by a User while logged into a terminal (e.g. grep, find, ls) Daemon Process: These processes are usually initiated on system

More information

Community Enterprise Operating System (CentOS 7) Courses

Community Enterprise Operating System (CentOS 7) Courses Community Enterprise Operating System (CentOS 7) Courses CentOS 7 Administration I Core Skills (5 days) Advanced Linux Shell Scripting Shell Scripting (bash,ksh93) and awk Programming (3 days) Advanced

More information

MySQL Performance Optimization and Troubleshooting with PMM. Peter Zaitsev, CEO, Percona

MySQL 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 information

Table Of Contents 1/13. Table Of Contents

Table Of Contents 1/13. Table Of Contents Table Of Contents 1/13 Table Of Contents #1: top - Process Activity Command... 2 Commonly Used Hot Keys... 2 #2: vmstat - System Activity, Hardware and System Information... 3 Display Memory Utilization

More information

Linux Hardware Management. Linux System Administration COMP2018 Summer 2017

Linux Hardware Management. Linux System Administration COMP2018 Summer 2017 Linux Hardware Management Linux System Administration COMP2018 Summer 2017 Hardware Resources CPU refers to the primary computing resource and is measured in processor cores RAM refers to the volatile

More information

Question No: 1 In capacity planning exercises, which tools assist in listing and identifying processes of interest? (Choose TWO correct answers.

Question 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 information

Online Schema Changes for Maximizing Uptime. David Turner - Dropbox Ben Black - Tango

Online Schema Changes for Maximizing Uptime. David Turner - Dropbox Ben Black - Tango Online Schema Changes for Maximizing Uptime David Turner - Dropbox Ben Black - Tango About us Dropbox Tango Dropbox is a free service that lets you bring your photos, docs, and videos anywhere and share

More information

Handlersocket. Ryan Lowe Percona Live London 2011

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 information

Fundamentals of Linux Platform Security

Fundamentals of Linux Platform Security Fundamentals of Linux Platform Security Security Training Course Dr. Charles J. Antonelli The University of Michigan 2012 Hands-On Network Security Module 1 Reconnaissance Tools Roadmap Review of generally

More information

Fundamentals of Linux Platform Security. Hands-On Network Security. Roadmap. Security Training Course. Module 1 Reconnaissance Tools

Fundamentals of Linux Platform Security. Hands-On Network Security. Roadmap. Security Training Course. Module 1 Reconnaissance Tools Fundamentals of Linux Platform Security Security Training Course Dr. Charles J. Antonelli The University of Michigan 2012 Hands-On Network Security Module 1 Reconnaissance Tools Roadmap Review of generally

More information

1Z Oracle Linux 6 Implementation Essentials Exam Summary Syllabus Questions

1Z Oracle Linux 6 Implementation Essentials Exam Summary Syllabus Questions 1Z0-460 Oracle Linux 6 Implementation Essentials Exam Summary Syllabus Questions Table of Contents Introduction to 1Z0-460 Exam on Oracle Linux 6 Implementation Essentials.. 2 Oracle 1Z0-460 Certification

More information

DESCRIPTION Dstat is a versatile replacement for vmstat, iostat and ifstat. Dstat overcomes some of the limitations and adds some extra features.

DESCRIPTION Dstat is a versatile replacement for vmstat, iostat and ifstat. Dstat overcomes some of the limitations and adds some extra features. NAME dstat versatile tool for generating system resource statistics SYNOPSIS dstat [ afv] [options..] [delay [count]] DESCRIPTION Dstat is a versatile replacement for vmstat, iostat and ifstat. Dstat overcomes

More information

Section 1: Tools. Contents CS162. January 19, Make More details about Make Git Commands to know... 3

Section 1: Tools. Contents CS162. January 19, Make More details about Make Git Commands to know... 3 CS162 January 19, 2017 Contents 1 Make 2 1.1 More details about Make.................................... 2 2 Git 3 2.1 Commands to know....................................... 3 3 GDB: The GNU Debugger

More information

Index SYMBOLS. 2G/2G host address space split option (UML configuration), 297 3c59x network driver, kernel mailing list Oops,

Index SYMBOLS. 2G/2G host address space split option (UML configuration), 297 3c59x network driver, kernel mailing list Oops, Best_Index.qxd 9/1/05 9:24 AM Page 413 Index SYMBOLS./configure command, Valgrind installation, 99 /boot directory layout, 188-189 /etc/syslog.conf configuration file, 213 /proc file system, 112 administrative

More information

Resolving and Preventing MySQL Downtime

Resolving 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 information

Survey of Percona Toolkit:

Survey of Percona Toolkit: Survey of Percona Toolkit: Command-line Tools for MySQL Bill Karwin, Percona Inc. Percona Toolkit Free, open source tools based on Percona s experience developing best practices for repetitive or complex

More information

Monitoring Linux Performance for the SQL Server Admin. Anthony Nocentino, Enterprise Architect, Centino Systems

Monitoring Linux Performance for the SQL Server Admin. Anthony Nocentino, Enterprise Architect, Centino Systems Monitoring Linux Performance for the SQL Server Admin Anthony Nocentino, Enterprise Architect, Centino Systems Technical Assistance If you require assistance during the session, type your inquiry into

More information

Analyzing OS X Systems Performance with the USE Method. Brendan Gregg, Senior Performance Architect, Netflix March, 2014

Analyzing OS X Systems Performance with the USE Method. Brendan Gregg, Senior Performance Architect, Netflix March, 2014 Analyzing OS X Systems Performance with the USE Method Brendan Gregg, Senior Performance Architect, Netflix March, 2014 Find the Bottleneck Darwin Operating System Hardware Applications CPU GPU System

More information

Forecasting MySQL Scalability. Baron Schwartz O'Reilly MySQL Conference & Expo 2011

Forecasting MySQL Scalability. Baron Schwartz O'Reilly MySQL Conference & Expo 2011 Forecasting MySQL Scalability Baron Schwartz O'Reilly MySQL Conference & Expo 2011 Consulting Support Training Development For MySQL Percona Server Replaces MySQL Faster Queries More Consistent More Measurable

More information

Percona Live Europe 2016 Use ProxySQL to Improve Your MySQL High Availability Solution Marco Tusa Manager Consulting Amsterdam, Netherlands October 3

Percona Live Europe 2016 Use ProxySQL to Improve Your MySQL High Availability Solution Marco Tusa Manager Consulting Amsterdam, Netherlands October 3 Percona Live Europe 2016 Use ProxySQL to Improve Your MySQL High Availability Solution Marco Tusa Manager Consulting Amsterdam, Netherlands October 3 5, 2016 Percona Live 2017 Use ProxySQL to Improve Your

More information

How to become a MySQL DBA

How to become a MySQL DBA How to become a MySQL DBA Krzysztof Książek - Senior Support Engineer Johan Andersson - CTO 1 Introduction! Based on our How to become a MySQL DBA blog series and webinars by Krzysztof Książek! Best practices

More information

Oracle Linux 7: System Administration Ed 2 Duration: 5 Days

Oracle Linux 7: System Administration Ed 2 Duration: 5 Days Oracle Linux 7: System Administration Ed 2 Duration: 5 Days The Oracle Linux 7: System Administration course covers a range of skills including installation, using the Unbreakable Enterprise Kernel, configuring

More information

Dude, Where s My Memory? Nectarios Daloglou, White Star Software

Dude, Where s My Memory? Nectarios Daloglou, White Star Software Dude, Where s My Memory? Nectarios Daloglou, White Star Software nd@wss.com A Few Words about the Speaker Nectar Daloglou; Progress & QAD since 2000. Performed specialized services at more than 60 Progress

More information

Practical Performance Tuning using Digested SQL Logs. Bob Burgess Salesforce Marketing Cloud

Practical Performance Tuning using Digested SQL Logs. Bob Burgess Salesforce Marketing Cloud Practical Performance Tuning using Digested SQL Logs Bob Burgess Salesforce Marketing Cloud Who?! Database Architect! Salesforce Marketing Cloud (Radian6 & Buddy Media stack) Why?! I can t be the only

More information

The Unix Shell & Shell Scripts

The Unix Shell & Shell Scripts The Unix Shell & Shell Scripts You should do steps 1 to 7 before going to the lab. Use the Linux system you installed in the previous lab. In the lab do step 8, the TA may give you additional exercises

More information

NFS on the Fast track - fine tuning and futures

NFS on the Fast track - fine tuning and futures NFS on the Fast track - fine tuning and futures Bikash Roy Choudhury Solutions Architect, NetApp Agenda Overview of NFS layers Linux Client Why is the NFS performance Slow? Understanding application behavior

More information

Why Choose Percona Server For MySQL? Tyler Duzan

Why 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 information

Oracle Linux 7: System Administration Ed 1

Oracle Linux 7: System Administration Ed 1 Oracle University Contact Us: +603 2299 3600, 1 800 80 6277 Oracle Linux 7: System Administration Ed 1 Duration: 5 Days What you will learn The Oracle Linux 7: System Administration training helps you

More information

Percona XtraDB Cluster 5.7 Enhancements Performance, Security, and More

Percona XtraDB Cluster 5.7 Enhancements Performance, Security, and More Percona XtraDB Cluster 5.7 Enhancements Performance, Security, and More Michael Coburn, Product Manager, PMM Percona Live Dublin 2017 1 Your Presenter Product Manager for PMM (Percona Monitoring and Management)

More information

Installing Prime Optical

Installing Prime Optical 5 CHAPTER This section describes how to install Cisco Prime Optical 9.8 with an Oracle 11g database. To ensure a successful installation, use the checklist provided in the Installation Scenarios and Checklists,

More information

CompTIA Linux Course Overview. Prerequisites/Audience. Course Outline. Exam Code: XK0-002 Course Length: 5 Days

CompTIA Linux Course Overview. Prerequisites/Audience. Course Outline. Exam Code: XK0-002 Course Length: 5 Days CompTIA Linux+ 2009 Exam Code: XK0-002 Course Length: 5 Days Course Overview This instructor-led course will prepare students for the 2009 CompTIA Linux+ certification exam. It provides a comprehensive

More information

MySQL Online Schema Changes at Uber and Tango. Ben Black and David Turner

MySQL Online Schema Changes at Uber and Tango. Ben Black and David Turner MySQL Online Schema Changes at Uber and Tango Ben Black and David Turner Who are we? Ben Black - DBA Tango, talks to himself thinking it is expert advice, herded cats at PalominoDB, tracked users at Garmin,

More information

ΕΛΠ 605: Προχωρηµένη Αρχιτεκτονική Υπολογιστών. Εργαστήριο Αρ. 4. Linux Monitoring Utilities (perf,top,mpstat ps, free) and gdb dissasembler, gnuplot

ΕΛΠ 605: Προχωρηµένη Αρχιτεκτονική Υπολογιστών. Εργαστήριο Αρ. 4. Linux Monitoring Utilities (perf,top,mpstat ps, free) and gdb dissasembler, gnuplot ΕΛΠ 605: Προχωρηµένη Αρχιτεκτονική Υπολογιστών Εργαστήριο Αρ. 4 Linux Monitoring Utilities (perf,top,mpstat ps, free) and gdb dissasembler, gnuplot Lecturer: Zacharias Hadjilambrou Σελ. 1 Realtime monitoring

More information

Linux system monitoring

Linux system monitoring Linux system monitoring Martin Kammerer 06/14/2010 visit us at http://www.ibm.com/developerworks/linux/linux390/perf/index.html Page 1 of 14 Linux system monitoring 2010 IBM Corporation Table of Contents

More information

MySQL Performance Improvements

MySQL 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 information

Oracle Linux 7: System Administration Ed 1

Oracle Linux 7: System Administration Ed 1 Oracle University Contact Us: Local: 1800 103 4775 Intl: +91 80 67863102 Oracle Linux 7: System Administration Ed 1 Duration: 5 Days What you will learn The Oracle Linux 7: System Administration training

More information

Process States. Controlling processes. Process states. PID and PPID UID and EUID GID and EGID Niceness Control terminal. Runnable. Sleeping.

Process States. Controlling processes. Process states. PID and PPID UID and EUID GID and EGID Niceness Control terminal. Runnable. Sleeping. Controlling processes PID and PPID UID and EUID GID and EGID Niceness Control terminal 1 Process States Process states Runnable The process can be executed Waiting for CPU Sleeping The process is waiting

More information

<Insert Picture Here> Boost Linux Performance with Enhancements from Oracle

<Insert Picture Here> Boost Linux Performance with Enhancements from Oracle Boost Linux Performance with Enhancements from Oracle Chris Mason Director of Linux Kernel Engineering Linux Performance on Large Systems Exadata Hardware How large systems are different

More information

Oracle Linux 7: System Administration Ed 1 LVC

Oracle Linux 7: System Administration Ed 1 LVC Oracle University Contact Us: +27 (0)11 319-4111 Oracle Linux 7: System Administration Ed 1 LVC Duration: 5 Days What you will learn The Oracle Linux 7: System Administration training helps you develop

More information

Advanced SUSE Linux Enterprise Server Administration (Course 3038) Chapter 8 Perform a Health Check and Performance Tuning

Advanced SUSE Linux Enterprise Server Administration (Course 3038) Chapter 8 Perform a Health Check and Performance Tuning Advanced SUSE Linux Enterprise Server Administration (Course 3038) Chapter 8 Perform a Health Check and Performance Tuning Objectives Find Performance Bottlenecks Reduce System and Memory Load Optimize

More information

Shell Programming Overview

Shell Programming Overview Overview Shell programming is a way of taking several command line instructions that you would use in a Unix command prompt and incorporating them into one program. There are many versions of Unix. Some

More information

Monitoring Linux Performance for the SQL Server Admin. Anthony E. Nocentino, Enterprise Architect, Centino Systems

Monitoring Linux Performance for the SQL Server Admin. Anthony E. Nocentino, Enterprise Architect, Centino Systems Monitoring Linux Performance for the SQL Server Admin Anthony E. Nocentino, Enterprise Architect, Centino Systems Consultant and Trainer Founder and President of Centino Systems Specialize in system architecture

More information

Chapter1 Solaris Overview

Chapter1 Solaris Overview Chapter1 Solaris Overview Feature and architecture Huimei Lu blueboo@bit.edu.cn Outline Introduction to Solaris Solaris Kernel Features Solaris Kernel Architecture Solaris 10 Features Performance and Tracing

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

CIS Operating Systems Non-contiguous Memory Allocation. Professor Qiang Zeng Spring 2018

CIS Operating Systems Non-contiguous Memory Allocation. Professor Qiang Zeng Spring 2018 CIS 3207 - Operating Systems Non-contiguous Memory Allocation Professor Qiang Zeng Spring 2018 Big picture Fixed partitions Dynamic partitions Buddy system Contiguous allocation: Each process occupies

More information

Section 9: Cache, Clock Algorithm, Banker s Algorithm and Demand Paging

Section 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 information

Red Hat Enterprise Linux 7

Red Hat Enterprise Linux 7 Red Hat Enterprise Linux 7 Performance Tuning Guide Optimizing subsystem throughput in Red Hat Enterprise Linux 7 Last Updated: 2017-11-06 Red Hat Enterprise Linux 7 Performance Tuning Guide Optimizing

More information

More Raspian. An editor Configuration files Shell scripts Shell variables System admin

More Raspian. An editor Configuration files Shell scripts Shell variables System admin More Raspian An editor Configuration files Shell scripts Shell variables System admin Nano, a simple editor Nano does not require the mouse. You must use your keyboard to move around the file and make

More information

Choosing Hardware For MySQL. Kenny Gryp Percona Live Washington DC /

Choosing 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 information

Database Defense in Depth. Geoffrey Anderson Percona Live 2015

Database Defense in Depth. Geoffrey Anderson Percona Live 2015 Database Defense in Depth Geoffrey Anderson Percona Live 2015 1 Geoffrey Anderson DBA @ Box, Inc. MySQL, HBase, and more! #DBHangOps 2 3 OUR VISION: Share, manage and access your content from any device,

More information

Percona Monitoring Plugins Documentation. Release 1.1.6

Percona Monitoring Plugins Documentation. Release 1.1.6 Percona Monitoring Plugins Documentation Release 1.1.6 January 11, 2016 CONTENTS 1 Plugins for Nagios 3 1.1 Percona Monitoring Plugins for Nagios................................. 3 1.2 System Requirements..........................................

More information

CSCM98 Lab Class #5 Getting familiar with the command line

CSCM98 Lab Class #5 Getting familiar with the command line CSCM98 Lab Class #5 Getting familiar with the command line Lab Class Description. Unix has some powerful commands that can be combined inside shell scripts. Today we will have a look at various commands

More information

Oracle Linux System AdministrationNEW

Oracle Linux System AdministrationNEW Oracle University Contact Us: 1.800.529.0165 Oracle Linux System AdministrationNEW Duration: 5 Days What you will learn The Oracle Linux System Administration course covers a range of skills including

More information

Oracle Linux 5 & 6 System Administration TOD

Oracle Linux 5 & 6 System Administration TOD Oracle University Contact Us: Local: 0845 777 7 711 Intl: +44 845 777 7 711 Oracle Linux 5 & 6 System Administration TOD Duration: 5 Days What you will learn The Oracle Linux System Administration course

More information

Choosing 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 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 information

Oracle Linux 5 & 6 System Administration

Oracle Linux 5 & 6 System Administration Oracle University Contact Us: 1.800.529.0165 Oracle Linux 5 & 6 System Administration Duration: 5 Days What you will learn This Oracle Linux System Administration training helps you develop a range of

More information

Monitoring MySQL Performance with Percona Monitoring and Management

Monitoring MySQL Performance with Percona Monitoring and Management Monitoring MySQL Performance with Percona Monitoring and Management Your Presenters Michael Coburn - PMM Product Manager Working at Percona for almost 5 years Consultant, Manager, TAM, now Product Manager

More information

1Z Oracle Linux 5 and 6 System Administration Exam Summary Syllabus Questions

1Z Oracle Linux 5 and 6 System Administration Exam Summary Syllabus Questions 1Z0-100 Oracle Linux 5 and 6 System Administration Exam Summary Syllabus Questions Table of Contents Introduction to 1Z0-100 Exam on Oracle Linux 5 and 6 System Administration2 Oracle 1Z0-100 Certification

More information

2`,";-,1. k=e. an - ertorrnance a. Trace und MDB Te hn. LieS for SOlariS 10 and O pensolads. Richard McOouc, jin.1 Mauro B re n d a G re(,-.

2`,;-,1. k=e. an - ertorrnance a. Trace und MDB Te hn. LieS for SOlariS 10 and O pensolads. Richard McOouc, jin.1 Mauro B re n d a G re(,-. 2`,";-,1. k=e an - ertorrnance a Trace und MDB Te hn - LieS for SOlariS 10 and O pensolads Richard McOouc, jin.1 Mauro B re n d a G re(,-.1g Foreword Preface About the Authors Acknowledgments vü ix xvii

More information

Percona Toolkit Documentation

Percona Toolkit Documentation Percona Toolkit Documentation Release 2.2.19 2016, Percona LLC and/or its affiliates August 16, 2016 CONTENTS 1 Getting Percona Toolkit 3 1.1 Installation................................................

More information

CSCE Operating Systems Non-contiguous Memory Allocation. Qiang Zeng, Ph.D. Fall 2018

CSCE Operating Systems Non-contiguous Memory Allocation. Qiang Zeng, Ph.D. Fall 2018 CSCE 311 - Operating Systems Non-contiguous Memory Allocation Qiang Zeng, Ph.D. Fall 2018 Big picture Fixed partitions Dynamic partitions Buddy system Contiguous allocation: Each process occupies a contiguous

More information

Oracle - Oracle Linux 5 6 System Administration Ed 3

Oracle - Oracle Linux 5 6 System Administration Ed 3 Oracle - Oracle Linux 5 6 System Administration Ed 3 Code: Lengt h: URL: D74508GC30 5 days View Online The Oracle Linux 5 & 6 System Administration course covers a range of skills including installation,

More information

Optimizing MySQL Configuration. Peter Zaitsev,CEO Technical Webinars Series March 2012

Optimizing 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 information

Challenges of Capacity Management in Large Mixed Organizations

Challenges of Capacity Management in Large Mixed Organizations Challenges of Capacity Management in Large Mixed Organizations Glenn Schneck Sr. Enterprise Solutions Engineer ASG Software Solutions March 12, 2014 Session Number 15385 Topics Capacity planning challenges

More information

Beyond MySQL 5.1 What is happening in MySQL Space. Feb 16, 2011 Percona Live San Francisco,CA by Peter Zaitsev, Percona Inc

Beyond MySQL 5.1 What is happening in MySQL Space. Feb 16, 2011 Percona Live San Francisco,CA by Peter Zaitsev, Percona Inc What is happening in MySQL Space Feb 16, 2011 Percona Live San Francisco,CA by Peter Zaitsev, Percona Inc Welcome! Thanks to our sponsors for making Percona Live so wonderfully pleasant event! Clustrix

More information

Operating Systems. Introduction & Overview. Outline for today s lecture. Administrivia. ITS 225: Operating Systems. Lecture 1

Operating Systems. Introduction & Overview. Outline for today s lecture. Administrivia. ITS 225: Operating Systems. Lecture 1 ITS 225: Operating Systems Operating Systems Lecture 1 Introduction & Overview Jan 15, 2004 Dr. Matthew Dailey Information Technology Program Sirindhorn International Institute of Technology Thammasat

More information

CL030 is a csage Certification Preparatory Course!

CL030 is a csage Certification Preparatory Course! Corder Enterprises International Building World Class MIS Teams, for you! CL030 is a csage Certification Preparatory Course! CL030 - LINUX System Administration Course Description: Learn and practice essential

More information

CSE 265: System and Network Administration

CSE 265: System and Network Administration CSE 265: System and Network Administration The Network File System NFS Introduction Server-side NFS Client-side NFS NFS Statistics with nfsstat Dedicated NFS File Servers Automatic Mounting NFS Network

More information

Open Source Database Performance Optimization and Monitoring with PMM. Fernando Laudares, Vinicius Grippa, Michael Coburn Percona

Open Source Database Performance Optimization and Monitoring with PMM. Fernando Laudares, Vinicius Grippa, Michael Coburn Percona Open Source Database Performance Optimization and Monitoring with PMM Fernando Laudares, Vinicius Grippa, Michael Coburn Percona Fernando Laudares 2 Vinicius Grippa 3 Michael Coburn Product Manager for

More information

Red Hat Enterprise Linux 7 Performance Tuning Guide

Red Hat Enterprise Linux 7 Performance Tuning Guide Red Hat Enterprise Linux 7 Performance Tuning Guide Optimizing subsystem throughput in Red Hat Enterprise Linux 7 Red Hat Subject Matter ExpertsLaura Bailey Red Hat Enterprise Linux 7 Performance Tuning

More information

Programs. Program: Set of commands stored in a file Stored on disk Starting a program creates a process static Process: Program loaded in RAM dynamic

Programs. Program: Set of commands stored in a file Stored on disk Starting a program creates a process static Process: Program loaded in RAM dynamic Programs Program: Set of commands stored in a file Stored on disk Starting a program creates a process static Process: Program loaded in RAM dynamic Types of Processes 1. User process: Process started

More information

Linux System Administration

Linux System Administration System Processes Objective At the conclusion of this module, the student will be able to: Describe and define a process Identify a process ID, the parent process and the child process Learn the PID for

More information

Consistent Reads Using ProxySQL and GTID. Santa Clara, California April 23th 25th, 2018

Consistent Reads Using ProxySQL and GTID. Santa Clara, California April 23th 25th, 2018 Consistent Reads Using ProxySQL and GTID Santa Clara, California April 23th 25th, 2018 Disclaimer I am not René Cannaò @lefred MySQL Community Manager / Oracle the one who provided a hint for this not

More information

Data Block. Data Block. Copy A B C D P HDD 0 HDD 1 HDD 2 HDD 3 HDD 4 HDD 0 HDD 1

Data Block. Data Block. Copy A B C D P HDD 0 HDD 1 HDD 2 HDD 3 HDD 4 HDD 0 HDD 1 RAID Network RAID File System 1) Takashi MATSUMOTO 1) ( 101-8430 2{1{2 E-mail:tmatsu@nii.ac.jp) ABSTRACT. The NRFS is a brand-new kernel-level subsystem for a low-cost distributed le system with fault-tolerant

More information

CSE410 Operating Systems Spring 2018 Project 1: Introduction to Unix/Linux Signals

CSE410 Operating Systems Spring 2018 Project 1: Introduction to Unix/Linux Signals CSE410 Operating Systems Spring 2018 Project 1: Introduction to Unix/Linux Signals 1 Overview and Background In this exercise you will gain first hand experience with Unix/Linux signals. You will develop

More information

Space Traveling across VM

Space Traveling across VM Space Traveling across VM Automatically Bridging the Semantic-Gap in Virtual Machine Introspection via Online Kernel Data Redirection Yangchun Fu, and Zhiqiang Lin Department of Computer Sciences The University

More information

Staying Out of the Swamp

Staying Out of the Swamp Staying Out of the Swamp Perforce User Conference 2001 Richard E. Baum Introduction Perforce runs well when given proper resources. CPU requirements are quite small. A server s I/O bandwidth is generally

More information

The kernel constitutes the core part of the Linux operating system. Kernel duties:

The kernel constitutes the core part of the Linux operating system. Kernel duties: The Linux Kernel The kernel constitutes the core part of the Linux operating system. Kernel duties: System initialization: detects hardware resources and boots up the system. Process scheduling: determines

More information

Monitoring HPC Clusters

Monitoring HPC Clusters Monitoring HPC Clusters George Turner turnerg@iu.edu Chief Systems Architect Research Technologies / University Informa?on Technology Services Indiana University Latest version of these slides are available

More information

LINUX INTERNALS & NETWORKING Weekend Workshop

LINUX INTERNALS & NETWORKING Weekend Workshop Here to take you beyond LINUX INTERNALS & NETWORKING Weekend Workshop Linux Internals & Networking Weekend workshop Objectives: To get you started with writing system programs in Linux Build deeper view

More information

strace Practical Application Troubleshooting Tuesday, February 19, 13

strace Practical Application Troubleshooting Tuesday, February 19, 13 strace Practical Application Troubleshooting Practical Troubleshooting, not an in-depth guide to the various system calls... Linux -- strace 4.5.20 Applying to most distros; Centos, Debian, Suse, etc.

More information

Basic Linux Command Line Interface Guide

Basic Linux Command Line Interface Guide This basic Linux Command-Line Interface (CLI) Guide provides a general explanation of commonly used Bash shell commands for the Barracuda NG Firewall. You can access the command-line interface by connecting

More information

SNMP MIBs and Traps Supported

SNMP MIBs and Traps Supported This section describes the MIBs available on your system. When you access your MIB data you will expose additional MIBs not listed in this section. The additional MIBs you expose through the process are

More information

Alerting With MySQL and Nagios

Alerting With MySQL and Nagios Alerting With MySQL and Nagios http://bit.ly/nagios_mysql2013 Sheeri Cabral Senior DB Admin/Architect Mozilla @sheeri What is Monitoring? Threshold alerting Graphing/trending Why Monitor? Problem alerting

More information

MySQL Security, Privileges & User Management Kenny Gryp Percona Live Washington DC /

MySQL Security, Privileges & User Management Kenny Gryp Percona Live Washington DC / MySQL Security, Privileges & User Management Kenny Gryp Percona Live Washington DC / 2012-01-11 Security, Privileges & User Management Privilege System User Management Pluggable

More information

MySQL 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 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 information

Operating Systems Design 25. Power Management. Paul Krzyzanowski

Operating Systems Design 25. Power Management. Paul Krzyzanowski Operating Systems Design 25. Power Management Paul Krzyzanowski pxk@cs.rutgers.edu 1 Power Management Goal: Improve the battery life of mobile devices 2 CPU Voltage & Frequency Scaling Dynamic CPU Frequency

More information