Using Percona Server in Production. Peter Zaitsev CEO, Percona Inc Percona Live, New York Oct 1, 2012

Size: px
Start display at page:

Download "Using Percona Server in Production. Peter Zaitsev CEO, Percona Inc Percona Live, New York Oct 1, 2012"

Transcription

1 Using Percona Server in Production Peter Zaitsev CEO, Percona Inc Percona Live, New York Oct 1, 2012

2 Agenda Percona Server History and Philosophy Installation and Configuration Using Percona Server features

3 Lets start with Phylosophy Performance, Scalability, Transparency, Operational Ease of use Exactly what you need for Running MySQL at Scale! Driven by real customer production challenges Quality. Low risk replacement for high end installations

4 Compatibility 99.99% Compatibility. Everyone claiming 100% is misleading Only transparent changes (such as performance) enabled by default Any behavior changes have to be explicitly enabled

5 Development Focus on Small, Safe high value changes Based on MySQL, follow version convention. Percona Server Predictable release schedule Within 1 month of MySQL release Focus on Customer Needs. Give back to Community. Curated development. Only high value good quality contributions are accepted.

6 Percona Server Origins Set of Patches for MySQL 5.0 July 16, Great Performance Gains

7 XtraDB Drop in Replacement for Innodb Graduating from set of patches to full blown storage engine for MySQL 5.1 Dec 16,2008

8 Stable Performance The performance is only as good as it is in worse of the times

9 MariaDB uses XtraDB Aug 9, 2009 MariaDB uses XtraDB as replacement for Innodb storage engine

10 Performance Improvements for Fast (Flash) storage Innodb was not ready for Flash when it came XtraDB Offered Dramatic Improvements

11 Percona Server Many great changes beyond Storage Engine Released April,

12 Percona Server 5.5 GA Relese April 28, Less than 6 month after MySQL 5.5 GA A lot of Performance Fixes in MySQL 5.5 The Performance gap reduced in many cases

13 Stability and Flash A lot of work done on Stable Performance Flash Optimizations work with Vendors

14 Future Working already on Percona Server 5.6 Expect even less delay with release Better Performance, Scalability, Support for Large Scale deployments and Cloud Percona XtraDB Cluster Simple Scalability and High Availability for MySQL

15 Early benchmarks for MySQL 5.6 Percona Server vs MySQL 5.6 Very fast storage, Small buffer pool Blue PS; Green MySQL 8 BP; Red MySQL 1 Innodb buffer pool.

16 Percona Server Installation Use latest GA version for new installs If replacing MySQL may wish to use same base release PS to replace MySQL Consider using Packages repository for your OS Do not forget to install Shared-Compat and Debuginfo packages.

17 Percona Yum Repository rpm -Uhv

18 Percona Apt Repository Install Percona Key: $ gpg --keyserver hkp://keys.gnupg.net --recv-keys 1C4CBDCDCD2EFD2A... [some output removed]... gpg: imported: 1 $ gpg -a --export CD2EFD2A sudo apt-key add - Add repository to /etc/apt/sources.list deb VERSION main deb-src VERSION main

19 Validation Any changes have risk! You can reduce risks upgrading. Upgrading MySQL Best Practices Webinar recording Download Slides

20 Configuring Percona Server can get you going with starting configuration

21 MySQL Settings to verify Max_connections Set according to your application needs Max_connect_errors Set or so Skip_name_resolve Do not relay on Reverse DNS Back_log Set 1000 or so for high connects/sec

22 MySQL Settings to Verify Thread_cache 64 is good general value Key_cache_size Using MyISAM? Think again! Table_definition_cache Around of number of tables in the system Table_open_cache 4096 can be good value to start

23 MySQL Settings to Verify Open_files_limit Set enough to cover connections and open tables. 64K is good start. Tmpdir Consider using tmpfs (/dev/shm) unless need a lot of space

24 Slow Query Log Slow_query_log Have it configured Log_slow_admin_statements You do not want some slow statements omitted, do not you? Long_query_time Set to some large value (10?) lower when more verbose logging is needed

25 Basic Innodb Settings Innodb_buffer_pool_size Most of your memory spent here Innodb_buffer_pool_instances Set 4-16 depending number of cores Innodb_log_file_size Larger better performance, longer recovery Innodb_log_buffer_size 64M-256M

26 Basic Innodb Settings Innodb_flush_method O_DIRECT best in most cases Innodb_flush_log_at_trx_commit 1 if need full Durability; 2 if not Innodb_file_per_table Enable unless have tables

27 Not so Basic Innodb Settings Innodb_io_capacity Set to number of IOs your system handles Innodb_old_blocks_time Set to Avoid table scans washing away BP Innodb_stats_on_metadata Disable. Magically improve INFORMATION_SCHEMA performance

28 MySQL Configuration More details available Optimizing MyQL Configuration Webinar: Slides:

29 Percona Server Extended Configuration Options

30 Fast Index Creation Fast_index_creation Keep enabled unless have problems with feature. Now pretty stable Expand_fast_index_creation Enable for faster ALTER, OPTIMIZE innodb_merge_sort_block_size Increase for faster index build. 64M good default.

31 Fast Index Creation Reading Selection of Blog posts

32 Potential in One image Adding column on large database ALTER TABLE execution time Red expand_fast_index_creation=1

33 Flushing Configuration innodb_adaptive_flushing_method Multiple methods for different workloads innodb_flush_neighbor_pages cont good for hard drives, none for SSDs innodb_checkpoint_age_target Control effective log file size without restarts

34 Innodb_flush_neighbor_pages Check out Vadim s research

35 Problem Unsolved Percona Server can be tuned to do well in most cases. Rare workloads is still a challenge

36 Fast Warmup innodb_buffer_pool_restore_at_startup Set to 300 or so (time in seconds) innodb_blocking_buffer_pool_restore Do not accept connections until warmup complete.

37 Use latest Percona Server Fast Warmup Older versions could keep Lock for too long while doing the dump Gavin Towey s research

38 Advanced IO Configuration innodb_flush_method =ALL_O_DIRECT Reduce pressure on OS cache. innodb_log_block_size Block size for log files. 4K can be faster for SSDs (breaks data compatibility) innodb_fast_checksum Use different, much faster checksums Breaks data compatibility

39 Innodb Log Block Size Benchmarks on FusionIO Storage

40 IO Configuration for SSDs Innodb_doublewrite_file Storing on conventional RAID (with BBU) to reduce SSD writes Innodb_page_size 4K and 8K pages are better for some workloads. Innodb_ibuf_max_size Limit size if using SSD. Set 256M or less.

41 Other Innodb Settings Innodb_adaptive_hash_index_partitions Reduced contention on Adaptive Hash Latch Innodb_corrupt_table_action=warn Do not assert on corrupted Innodb tables Innodb_lazy_drop_table Reduce cost of dropping Innodb tablespace Drop/truncate w innodb_file_per_table

42 Innodb_lazy_drop_table info Complete solution still in works Number of good Blog posts

43 Misc Innodb Settings Innodb_kill_idle_transactions Kill transactions idle more than specified number of seconds. Innodb_dict_size_limit Restrict internal Innodb dictionary size. Use when have Innodb tables innodb_stats_auto_update=0 Disable automatic table stats update. May help with unstable query plans.

44 Memory usage w Many Tables

45 Misc Innodb Settings Innodb_recovery_update_relay_log Crash Safe Replication on the slave if only Innodb engine is used Innodb_stats_update_need_lock Reduce contention on &dict_operation_lock but makes table information less exact Innodb_show_verbose_locks More information about locks shown

46 Misc Innodb Settings innodb_use_global_flush_log_at_trx_commit Disable to change durability per session Quite handy if different applications are mixed on same DB innodb_use_sys_stats_table Store index cardinality statistics in table instead of sampling Stable plans between restarts A lot faster warmup with large number of tables Can use large innodb_stats_sample_pages to have more exact statistics

47 Special Purpose Settings Innodb_fake_changes Allows using highly efficient replication prefetch by Facebook innodb_import_table_from_xtrabackup Allows moving tables between servers with Percona Xtrabackup innodb_recovery_stats Shows details about Innodb recovery process

48 Innodb_recovery_stats Example text from Error log file Recovery process statistics Checked pages by doublewrite buffer: 128 Overwritten pages from doublewrite: 0 Recovered pages by io_thread: Recovered pages by main thread: 0 Parsed log records to apply: Sum of the length: Applied log records: Sum of the length: Pages which are already new enough: 1855 (It may not be accurate, if turns > 1) Oldest page's LSN: Newest page's LSN:

49 Query Response Time Maintains Query Response time Histogram Very useful as performance fingerprint Query_response_time_stats Enables feature Query_response_time_range_base Defines the exponential step for histogram

50 Example Query Response time Stats Example mysql> select * from query_response_time; time count total TOO LONG 0 TOO LONG rows in set (0.00 sec)

51 User Statistics Userstat Enable user statistics collection Populates USER_STATISTICS, TABLE_STATISTICS, INDEX_STATISTICS, CLIENT_STATISTICS Thread_statistics Tracks per thread statistics What Current and Old threads were doing Beware, can use lots of memory!

52 USER_STATISTICS mysql> select * from user_statistics limit 1 \G *************************** 1. row *************************** USER: root TOTAL_CONNECTIONS: 66 CONCURRENT_CONNECTIONS: 0 CONNECTED_TIME: BUSY_TIME: CPU_TIME: 328 BYTES_RECEIVED: BYTES_SENT: BINLOG_BYTES_WRITTEN: ROWS_FETCHED: ROWS_UPDATED: TABLE_ROWS_READ: SELECT_COMMANDS: 8 UPDATE_COMMANDS: 0 OTHER_COMMANDS: COMMIT_TRANSACTIONS: ROLLBACK_TRANSACTIONS: 0 DENIED_CONNECTIONS: 0 LOST_CONNECTIONS: 0 ACCESS_DENIED: 0 EMPTY_QUERIES: 0 TOTAL_SSL_CONNECTIONS: 0 1 row in set (0.00 sec)

53 CLIENT_STATISTICS mysql> select * from client_statistics limit 1 \G *************************** 1. row *************************** CLIENT: TOTAL_CONNECTIONS: 126 CONCURRENT_CONNECTIONS: 0 CONNECTED_TIME: 0 BUSY_TIME: 0 CPU_TIME: 0 BYTES_RECEIVED: 1455 BYTES_SENT: BINLOG_BYTES_WRITTEN: 0 ROWS_FETCHED: 2289 ROWS_UPDATED: 0 TABLE_ROWS_READ: 0 SELECT_COMMANDS: 3 UPDATE_COMMANDS: 0 OTHER_COMMANDS: 18 COMMIT_TRANSACTIONS: 0 ROLLBACK_TRANSACTIONS: 0 DENIED_CONNECTIONS: 0 LOST_CONNECTIONS: 0 ACCESS_DENIED: 0 EMPTY_QUERIES: 0 TOTAL_SSL_CONNECTIONS: 0 1 row in set (0.01 sec)

54 TABLE_STATISTICS See most actively used tables mysql> select * from table_statistics order by rows_read desc limit 10; TABLE_SCHEMA TABLE_NAME ROWS_READ ROWS_CHANGED ROWS_CHANGED_X_INDEXES sbtest sbtest cacti poller_time cacti poller_item cacti data_template_rrd cacti data_input_fields cacti poller_output cacti host cacti settings cacti poller_reindex mysql user rows in set (0.00 sec)

55 INDEX_STATISTICS See most actively used Indexes mysql> select * from index_statistics order by rows_read desc limit 10; TABLE_SCHEMA TABLE_NAME INDEX_NAME ROWS_READ sbtest sbtest PRIMARY cacti data_input_fields PRIMARY 743 cacti data_template_rrd duplicate_dsname_contraint 563 cacti poller_item rrd_next_step 188 cacti poller_item PRIMARY 188 cacti data_template_rrd local_data_id 180 cacti poller_output PRIMARY 172 cacti poller_reindex PRIMARY 24 cacti host disabled 16 cacti settings PRIMARY rows in set (0.00 sec)

56 Find Unused Indexes Let server long enough for representative load mysql> SELECT INNODB_INDEX_STATS.TABLE_NAME, INNODB_INDEX_STATS.INDEX_NAME from INNODB_INDEX_STATS WHERE CONCAT(INNODB_INDEX_STATS.index_name, INNODB_INDEX_STATS.table_name)NOT IN(SELECT CONCAT(index_statistics.index_name, index_statistics.table_name) FROM index_statistics) AND INNODB_INDEX_STATS.TABLE_SCHEMA='sbtest' AND INNODB_INDEX_STATS.INDEX_NAME<>'GEN_CLUST_INDEX'; TABLE_NAME INDEX_NAME sbtest k sbtest c sbtest pad rows in set (0.00 sec)

57 THREAD_STATISTICS mysql> select * from thread_statistics limit 1 \G *************************** 1. row *************************** THREAD_ID: 54 TOTAL_CONNECTIONS: 1 CONCURRENT_CONNECTIONS: 0 CONNECTED_TIME: 1375 BUSY_TIME: 1326 CPU_TIME: 11 BYTES_RECEIVED: BYTES_SENT: 880 BINLOG_BYTES_WRITTEN: ROWS_FETCHED: ROWS_UPDATED: TABLE_ROWS_READ: SELECT_COMMANDS: 0 UPDATE_COMMANDS: 0 OTHER_COMMANDS: 2532 COMMIT_TRANSACTIONS: 2531 ROLLBACK_TRANSACTIONS: 0 DENIED_CONNECTIONS: 0 LOST_CONNECTIONS: 0 ACCESS_DENIED: 0 EMPTY_QUERIES: 0 TOTAL_SSL_CONNECTIONS: 0 1 row in set (0.00 sec)

58 query_cache_strip_comments First ensure Query Cache is right for you at all! MySQL Query Cache considers queries with different comments different Can kill efficiency with dynamic comments

59 Slow Query Log Settings log_slow_rate_limit=n Log ony 1/Nth of the queries log_slow_rate_type Session log by session Query log by query

60 Slow Query Log Settings log_slow_slave_statements Log statements from slave thread log_slow_sp_statements Log statements contained in stored procedures log_slow_verbosity=full Full level of details in slow query log

61 Slow Query Log Settings slow_query_log_timestamp_always Print timestamp with each query slow_query_log_timestamp_precision =microsecond Microsecond level of accuracy for timestamps slow_query_log_use_global_control=all Change all logging options globally

62 Enforce_storage_engine Enforce_storage_engine=Innodb Ensure users do not create MyISAM tables by accident

63 Using the Features

64 Some are Transparent Performance and Scalability improvements Most are enabled automatically

65 Percona Monitoring Plugins Will use information from some of the features automatically.

66 Memory usage Details

67 Query Response Times

68 Query Numbers

69 Status Counters Innodb_adaptive_hash_cells Innodb_adaptive_hash_heap_buffers 0 Innodb_adaptive_hash_hash_searches 49 Innodb_adaptive_hash_non_hash_searches 966 Innodb_background_log_sync 127 Innodb_buffer_pool_pages_data 455 Innodb_buffer_pool_pages_dirty 0 Innodb_buffer_pool_pages_flushed 0 Innodb_buffer_pool_pages_LRU_flushed 0 Innodb_buffer_pool_pages_free 7735 Innodb_buffer_pool_pages_made_not_young 0 Innodb_buffer_pool_pages_made_young 0 Innodb_buffer_pool_pages_misc 1 Innodb_buffer_pool_pages_old 0 Innodb_buffer_pool_pages_total 8191 Innodb_buffer_pool_read_ahead_rnd 0 Innodb_buffer_pool_read_ahead 0 Innodb_buffer_pool_read_ahead_evicted 0 Innodb_buffer_pool_read_requests 6168 Innodb_buffer_pool_reads 456 Innodb_buffer_pool_wait_free 0 Innodb_buffer_pool_write_requests 0 Innodb_checkpoint_age 0 Innodb_checkpoint_max_age Innodb_checkpoint_target_age

70 SHOW ENGINE INNODB STATUS A lot more information available! BUFFER POOL AND MEMORY Total memory allocated ; in additional pool allocated 0 Internal hash tables (constant factor + variable factor) Adaptive hash index ( ) Page hash (buffer pool 0 only) Dictionary cache ( ) File system ( ) Lock system ( ) Recovery system 0 (0 + 0) Dictionary memory allocated Buffer pool size 8191 Buffer pool size, bytes

71 Large Innodb Log Sizes Can impact Performance AND its Stability

72 Slow Query Log Analyses One of most important features! Works together with pt-query-digest From Percona Toolkit Enable Slow Query Log as Described Logging with long_query_time=0 is important Pt-query_digest slow.log > report.txt

73 It is All Level of Details MySQL Level of Details # Time: :02:26 # User@Host: localhost [] # Query_time: Lock_time: Rows_sent: 1 Rows_examined: use test; SET timestamp= ; select count(*) from auto_inc;

74 More Details Better! Percona Server Level of Details # Time: :11:26 # User@Host: localhost [] # Thread_id: 1 Schema: test Last_errno: 0 Killed: 0 # Query_time: Lock_time: Rows_sent: 1 Rows_examined: Rows_affected: 0 Rows_read: # Bytes_sent: 68 Tmp_tables: 0 Tmp_disk_tables: 0 Tmp_table_sizes: 0 # InnoDB_trx_id: F00 # QC_Hit: No Full_scan: Yes Full_join: No Tmp_table: No Tmp_table_on_disk: No # Filesort: No Filesort_on_disk: No Merge_passes: 0 # InnoDB_IO_r_ops: 984 InnoDB_IO_r_bytes: InnoDB_IO_r_wait: # InnoDB_rec_lock_wait: InnoDB_queue_wait: # InnoDB_pages_distinct: 973 SET timestamp= ; select count(*) from auto_inc;

75 Workload Summary # 8.1s user time, 60ms system time, 26.23M rss, 62.49M vsz # Current date: Thu Dec 29 07:09: # Hostname: somehost.net # Files: slow-query.log.1 # Overall: 20.08k total, 167 unique, QPS, 0.01x concurrency # Time range: :42:47 to 19:03:39 # Attribute total min max avg 95% stddev median # ============ ======= ======= ======= ======= ======= ======= ======= # Exec time 8s 1us 44ms 403us 541us 2ms 98us # Lock time 968ms 0 11ms 48us 119us 134us 36us # Rows sent k # Rows examine k k # Rows affecte 1.34k # Rows read k # Bytes sent 46.63M k 2.38k 6.63k 11.24k # Merge passes # Tmp tables 1.37k # Tmp disk tbl # Tmp tbl size 72.52M k 3.70k k 0 # Query size 3.50M k

76 Workload Summary (2) # InnoDB: # IO r bytes 96.00k k # IO r ops # IO r wait 64ms 0 26ms 13us 0 530us 0 # pages distin 28.96k # queue wait # rec lock wai # Boolean: # Filesort 4% yes, 95% no # Filesort on 0% yes, 99% no # Full scan 4% yes, 95% no # QC Hit 0% yes, 99% no # Tmp table 4% yes, 95% no # Tmp table on 2% yes, 97% no

77 Profile # Profile # Rank Query ID Response time Calls R/Call Apdx V/M Item # ==== ================== ============= ===== ====== ==== ===== ========== # 1 0x92F3B1B361FB0E5B % SELECT wp_options # 2 0xE71D28F50D128F0F % SELECT poller_output poller # 3 0x211901BF2E1C351E % SELECT poller_time # 4 0xA766EE8F7AB % SELECT wp_terms wp_term_taxo # 5 0xA3EEB63EFBA42E9B % SELECT UNION wp_pp_daily_sum # 6 0x94350EA2AB8AAC % UPDATE wp_options # 7 0x7AEDF19FDD3A33F % SELECT wp_options # 8 0x4C FD8EDB % SELECT film # 9 0xCFC0642B5BBD9AC % SELECT UNION wp_pp_daily_su # 10 0x88BA308B9C0EB % SELECT poller_item

78 Query Information # Query 1: 0.26 QPS, 0.00x concurrency, ID 0x92F3B1B361FB0E5B at byte # This item is included in the report because it matches --limit. # Scores: Apdex = 1.00 [1.0], V/M = 0.00 # Query_time sparkline: _^ # Time range: :42:47 to 19:03:10 # Attribute pct total min max avg 95% stddev median # ============ === ======= ======= ======= ======= ======= ======= ======= # Count # Exec time 50 4s 5ms 25ms 13ms 20ms 4ms 12ms # Lock time 3 32ms 43us 163us 103us 131us 19us 98us # Rows sent k # Rows examine k # Rows affecte # Rows read k # Bytes sent M 46.52k 84.36k 81.56k 83.83k 7.31k 79.83k # Merge passes # Tmp tables # Tmp disk tbl # Tmp tbl size # Query size k

79 Query Information 2 # InnoDB: # IO r bytes # IO r ops # IO r wait # pages distin k # queue wait # rec lock wai # Boolean: # Full scan 100% yes, 0% no # String: # Databases wp_blog_one (264/84%), wp_blog_tw (36/11%)... 1 more # Hosts # InnoDB trxid 86B40B (1/0%), 86B430 (1/0%), 86B44A (1/0%) more # Last errno 0 # Users wp_blog_one (264/84%), wp_blog_two (36/11%)... 1 more # Query_time distribution # 1us # 10us # 100us # 1ms ################# # 10ms ################################################################ # 100ms # 1s # 10s+

80 Query Information 3 # Tables # SHOW TABLE STATUS FROM `wp_blog_one ` LIKE 'wp_options'\g # SHOW CREATE TABLE `wp_blog_one `.`wp_options`\g # EXPLAIN /*!50100 PARTITIONS*/ SELECT option_name, option_value FROM wp_options WHERE autoload = 'yes'\g

81 Graphical Tools Available Query Digest UI Box Anemometer

82 Screenshot Example

83 Internal Table Information mysql> select * from innodb_sys_tables limit 5; TABLE_ID SCHEMA NAME FLAG N_COLS SPACE SYS_FOREIGN SYS_FOREIGN_COLS sbtest sbtest test t#p#p test t#p#p rows in set (0.00 sec) mysql> select * from innodb_sys_indexes limit 5; INDEX_ID NAME TABLE_ID TYPE N_FIELDS PAGE_NO SPACE ID_IND FOR_IND REF_IND ID_IND PRIMARY rows in set (0.00 sec)

84 Innodb Table Statistics mysql> select * from innodb_table_stats where table_schema='sbtest'; table_schema table_name rows clust_size other_size modified sbtest sbtest row in set (0.01 sec) mysql> select * from innodb_index_stats where table_schema='sbtest'; table_schema table_name index_name fields rows_per_key index_total_pages index_leaf_pages sbtest sbtest PRIMARY sbtest sbtest k , rows in set (0.00 sec)

85 Buffer Pool Information Innodb_buffer_pool_pages Innodb_buffer_pool_pages_index Innodb_buffer_pool_pages_blob mysql> select * from innodb_buffer_pool_pages_index limit 1; index_id space_id page_no n_recs data_size hashed access_time modified dirty old lru_position fix_count flush_type row in set (0.02 sec)

86 How Well Tables are Cached table_schema table_name index_name cnt dirty hashed fit_pct test a c test a PRIMARY sbtest sbtest#p#p1 PRIMARY sbtest sbtest#p#p0 PRIMARY sbtest sbtest#p#p2 PRIMARY sbtest sbtest#p#p3 PRIMARY sbtest sbtest#p#p3 k sbtest sbtest#p#p2 k sbtest sbtest#p#p1 k sbtest sbtest#p#p0 k stats tables PRIMARY stats tables TABLE_SCHEMA percona transactions PRIMARY rows in set (0.04 sec)

87 Temporary Tables Are no more invisible mysql> select * from global_temporary_tables \G *************************** 1. row *************************** SESSION_ID: 46 TABLE_SCHEMA: test TABLE_NAME: a ENGINE: InnoDB NAME: #sqlf32_2e_0 TABLE_ROWS: 4 AVG_ROW_LENGTH: 4096 DATA_LENGTH: INDEX_LENGTH: 0 CREATE_TIME: NULL UPDATE_TIME: NULL 1 rows in set (0.00 sec)

88 Improved Memory Engine Take less space for VARCHAR columns Support BLOB/TEXT Is not (yet) used for Implicit Memory Tables mysql> create table m(b blob) engine=memory; Query OK, 0 rows affected (0.03 sec)a

89 PAM Authentication Plugin Open Source Alternative to MySQL Enterprise Security More Info

90 Thank You Slides will be published on the conference website for follow-up questions

91 Percona Live New York Sponsors Platinum Sponsors Diamond Sponsors

92 Percona Live New York Sponsors Exhibitor Sponsors Media Sponsors Additional Sponsors

93 Percona Live London London UK, Dec 4-5 Registration is Open! Visit:

94 Annual Percona Live MySQL Conference and Expo April 22nd-25th, 2013 and Call for Papers are Open! Registration Visit: The Hyatt Regency Hotel, Santa Clara, CA

Percona Server: secret features

Percona Server: secret features Date, time, place: MySQL Conference & Expo 2011 Reporter: Vadim Tkachenko Co-founder, CTO, Percona Inc In this talk: some not high profile, but addictive features. Once you start to use them you can t

More information

MySQL Community Patches and Extensions

MySQL Community Patches and Extensions MySQL Community Patches and Extensions OSCON 2009 July 20-24 2009 San Jose,CA Peter Zaitsev, Percona Inc, Define Terminology Fork Complitely separate product, not fully compatible Drizzle Branch - Separate

More information

Maximizing SQL reviews with pt-query-digest

Maximizing SQL reviews with pt-query-digest PALOMINODB OPERATIONAL EXCELLENCE FOR DATABASES Maximizing SQL reviews with pt-query-digest Mark Filipi www.palominodb.com What is pt-query-digest Analyzes MySQL queries from slow, general and binary log

More information

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

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

More information

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

Analyze MySQL Query Performance with Percona Cloud Tools

Analyze 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 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

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

Optimizing MySQL Configuration

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

MySQL and OpenStack Deep Dive

MySQL and OpenStack Deep Dive MySQL and OpenStack Deep Dive Peter Boros, Percona Jay Pipes, Mirantis www.mirantis.com November, 2014 Diving into MySQL and OpenStack Our setup Analyzing MySQL query loads Takeaways Objectives Examine

More information

Why we re excited about MySQL 8

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

More information

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

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

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

Innodb Architecture and Performance Optimization. Peter Zaitsev, CEO Percona 25 September 2017

Innodb Architecture and Performance Optimization. Peter Zaitsev, CEO Percona 25 September 2017 Innodb Architecture and Performance Optimization Peter Zaitsev, CEO Percona 25 September 2017 Why Together? Advanced Performance Optimization Needs Architecture Knowledge 2 Right Level Focus on Details

More information

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

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

Innodb Architecture and Performance Optimization

Innodb Architecture and Performance Optimization Innodb Architecture and Performance Optimization MySQL 5.7 Edition Peter Zaitsev April 8, 206 Why Together? 2 Advanced Performance Optimization Needs Architecture Knowledge 2 Right Level 3 Focus on Details

More information

Switching to Innodb from MyISAM. Matt Yonkovit Percona

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

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

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

More information

How to Fulfill the Potential of InnoDB's Performance and Scalability

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

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

Best Practices for MySQL Scalability. Peter Zaitsev, CEO, Percona Percona Technical Webinars May 1, 2013

Best Practices for MySQL Scalability. Peter Zaitsev, CEO, Percona Percona Technical Webinars May 1, 2013 Best Practices for MySQL Scalability Peter Zaitsev, CEO, Percona Percona Technical Webinars May 1, 2013 About the Presentation Look into what is MySQL Scalability Identify Areas which impact MySQL Scalability

More information

MySQL 5.1 Configuration Files & Options Part II. Presented by: Sheeri K. Cabral

MySQL 5.1 Configuration Files & Options Part II. Presented by: Sheeri K. Cabral MySQL 5.1 Configuration Files & Options Part II Presented by: Sheeri K. Cabral Twitter: @sheeri A bout P ythia n Recognized Leader: Global industry-leader in database infrastructure services for Oracle,

More information

Troubleshooting Best Practices

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

Practical MySQL Performance Optimization. Peter Zaitsev, CEO, Percona July 20 th, 2016 Percona Technical Webinars

Practical MySQL Performance Optimization. Peter Zaitsev, CEO, Percona July 20 th, 2016 Percona Technical Webinars Practical MySQL Performance Optimization Peter Zaitsev, CEO, Percona July 20 th, 2016 Percona Technical Webinars In This Presentation We ll Look at how to approach Performance Optimization Discuss Practical

More information

Performance improvements in MySQL 5.5

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

More information

MySQL Performance Tuning 101

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

More information

Percona Xtrabackup: Hot Backup Solution for MySQL

Percona Xtrabackup: Hot Backup Solution for MySQL Percona Xtrabackup: Hot Backup Solution for MySQL Martin Arrieta February 2013 Agenda 1.Why backups? 2.Different options 3.Why Percona Xtrabackup 4.Installation 5.How it works? 6.Backup examples 7.Backup

More information

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

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

More information

MySQL Performance Tuning

MySQL Performance Tuning MySQL Performance Tuning Sumi Ryu Senior Sales Consultant 1 Program Agenda Basics: Hardware, Storage Engines and Versions Server Tuning Index, Query and Schema Optimization MySQL Performance Schema Introduction

More information

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

Innodb Performance Optimization

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

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

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

More information

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

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

More information

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

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

MySQL Architecture and Components Guide

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

More information

MySQL Indexing. Best Practices for MySQL 5.6. Peter Zaitsev CEO, Percona MySQL Connect Sep 22, 2013 San Francisco,CA

MySQL Indexing. Best Practices for MySQL 5.6. Peter Zaitsev CEO, Percona MySQL Connect Sep 22, 2013 San Francisco,CA MySQL Indexing Best Practices for MySQL 5.6 Peter Zaitsev CEO, Percona MySQL Connect Sep 22, 2013 San Francisco,CA For those who Does not Know Us Percona Helping Businesses to be Successful with MySQL

More information

MySQL and SSD: Usage Patterns

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

MySQL Indexing. Best Practices. Peter Zaitsev, CEO Percona Inc August 15, 2012

MySQL Indexing. Best Practices. Peter Zaitsev, CEO Percona Inc August 15, 2012 MySQL Indexing Best Practices Peter Zaitsev, CEO Percona Inc August 15, 2012 You ve Made a Great Choice! Understanding indexing is crucial both for Developers and DBAs Poor index choices are responsible

More information

Replication features of 2011

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

MySQL Performance Tuning 101

MySQL Performance Tuning 101 MySQL Performance Tuning 101 Ligaya Turmelle MySQL Support Engineer ligaya@mysql.com 1 1 MySQL world's most popular open source database software a key part of LAMP (Linux, Apache, MySQL, PHP / Perl /

More information

Practical MySQL indexing guidelines

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

Accelerate MySQL for Demanding OLAP and OLTP Use Case with Apache Ignite December 7, 2016

Accelerate MySQL for Demanding OLAP and OLTP Use Case with Apache Ignite December 7, 2016 Accelerate MySQL for Demanding OLAP and OLTP Use Case with Apache Ignite December 7, 2016 Nikita Ivanov CTO and Co-Founder GridGain Systems Peter Zaitsev CEO and Co-Founder Percona About the Presentation

More information

InnoDB: Status, Architecture, and Latest Enhancements

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

More information

MySQL Schema Review 101

MySQL Schema Review 101 MySQL Schema Review 101 How and What you should be looking at... Mike Benshoof - Technical Account Manager, Percona Agenda Introduction Key things to consider and review Tools to isolate issues Common

More information

What s New in MySQL and MongoDB Ecosystem Year 2017

What 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 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

Avoiding Common (but Deadly) MySQL Operations Mistakes

Avoiding Common (but Deadly) MySQL Operations Mistakes Avoiding Common (but Deadly) MySQL Operations Mistakes Bill Karwin bill.karwin@percona.com Bill Karwin Percona Live 2013 MySQL Operations Mistakes MYSTERY CONFIGURATION Who Changed the Config? Database

More information

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

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

More information

Percona Server for MySQL 8.0 Walkthrough

Percona Server for MySQL 8.0 Walkthrough Percona Server for MySQL 8.0 Walkthrough Overview, Features, and Future Direction Tyler Duzan Product Manager MySQL Software & Cloud 01/08/2019 1 About Percona Solutions for your success with MySQL, MongoDB,

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

Monday, September 15, 14

Monday, September 15, 14 1 Copyright 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 MySQL Server Performance Tuning 101 Ligaya Turmelle Principle Technical

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

MySQL High Availability

MySQL High Availability MySQL High Availability And other stuff worth talking about Peter Zaitsev CEO Moscow MySQL Users Group Meetup July 11 th, 2017 1 Few Words about Percona 2 Percona s Purpose To Champion Unbiased Open Source

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

percona-agent Documentation

percona-agent Documentation percona-agent Documentation Release 1.0.10 Percona June 30, 2015 Contents 1 Getting Started with Percona Cloud Tools 3 1.1 How PCT Works............................................. 3 1.2 Tools...................................................

More information

XtraDB 5.7: Key Performance Algorithms. Laurynas Biveinis Alexey Stroganov Percona

XtraDB 5.7: Key Performance Algorithms. Laurynas Biveinis Alexey Stroganov Percona XtraDB 5.7: Key Performance Algorithms Laurynas Biveinis Alexey Stroganov Percona firstname.lastname@percona.com XtraDB 5.7 Key Performance Algorithms Focus on the buffer pool, flushing, the doublewrite

More information

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

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

Aurora, RDS, or On-Prem, Which is right for you

Aurora, RDS, or On-Prem, Which is right for you Aurora, RDS, or On-Prem, Which is right for you Kathy Gibbs Database Specialist TAM Katgibbs@amazon.com Santa Clara, California April 23th 25th, 2018 Agenda RDS Aurora EC2 On-Premise Wrap-up/Recommendation

More information

Reading MySQL fingerprints

Reading MySQL fingerprints Reading MySQL fingerprints FromDual Company Meeting 10. September 2014, Barcelona by oli.sennhauser@fromdual.com 1 / 26 About FromDual GmbH FromDual provides neutral and independent: Consulting for MySQL,

More information

Understanding Performance through Measurement, Benchmarking and Profiling

Understanding Performance through Measurement, Benchmarking and Profiling Understanding Performance through Measurement, Benchmarking and Profiling Presented by: René Cannaò @rene_cannao Senior Operational DBA www.palominodb.com WHY RUN BENCHMARK? 2 Looking for bottlenecks Hardware

More information

Mysql Cluster Global Schema Lock

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

More information

Tools and Techniques for Index Design. Bill Karwin, Percona Inc.

Tools and Techniques for Index Design. Bill Karwin, Percona Inc. Tools and Techniques for Index Design Bill Karwin, Percona Inc. It s About Performance What s the most frequent recommendation in database performance audits? What s the easiest way to speed up SQL queries,

More information

SSD/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 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 information

Taking hot backups with XtraBackup. Principal Software Engineer April 2012

Taking hot backups with XtraBackup. Principal Software Engineer April 2012 Taking hot backups with XtraBackup Alexey.Kopytov@percona.com Principal Software Engineer April 2012 InnoDB/XtraDB hot backup Supported storage engines MyISAM, Archive, CSV with read lock Your favorite

More information

MySQL Database Scalability

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

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

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

More information

How Percona Contributes to Open Source Database Ecosystem. Peter Zaitsev 5 October 2016

How Percona Contributes to Open Source Database Ecosystem. Peter Zaitsev 5 October 2016 How Percona Contributes to Open Source Database Ecosystem Peter Zaitsev 5 October 2016 I am Passionate about Open Source Passionate about Database Technology Passionate about finding best Solutions 2 Percona

More information

CO MySQL for Database Administrators

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

More information

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

How to get MySQL to fail

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

More information

InnoDB: What s new in 8.0

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

More information

Caching your application data with MySQL and TokuDB

Caching your application data with MySQL and TokuDB Caching your application data with MySQL and TokuDB Rick Pizzi & Andrea Ponzo Lastminute.com Who is lastminute.com group? We are a publicly traded international company, amongst the worldwide leaders in

More information

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

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

More information

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

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

More information

Percona Software & Services Update

Percona Software & Services Update Percona Software & Services Update Q4 2016 Peter Zaitsev,CEO Percona Technical Webinars January 12, 2017 Why? Talking to Many Users and Customers Getting What have you been up to? Question This is a way

More information

IT 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: 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 information

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

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

More information

MySQL: Scaling & High Availability

MySQL: Scaling & High Availability MySQL: Scaling & High Availability Production experience for the last decade(s) Peter Zaitsev, CEO, Percona June 19, 2018 Percona Technical Webinars 1 Lets go to the start of my MySQL story Going back

More information

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

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

More information

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

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

More information

Manual Mysql Query Cache Hit Rate 0

Manual Mysql Query Cache Hit Rate 0 Manual Mysql Query Cache Hit Rate 0 B) why the Table cache hit rate is only 56% How can i achieve better cache hit rate? (OK) Currently running supported MySQL version 5.5.43-0+deb7u1-log or complex to

More information

ScaleArc Performance Benchmarking with sysbench

ScaleArc Performance Benchmarking with sysbench MySQL Performance Blog ScaleArc Performance Benchmarking with sysbench Peter Boros, 2014 1/31 Author: Peter Boros Revision: 2.0 Date: Mar 28, 2014 Customer: ScaleArc Contents 1 Executive Summary 3 2 About

More information

Mysql Performance Schema Has The Wrong Structure

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

More information

How To Rock with MyRocks. Vadim Tkachenko CTO, Percona Webinar, Jan

How 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 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

SSD/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 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 information

Accelerating OLTP performance with NVMe SSDs Veronica Lagrange Changho Choi Vijay Balakrishnan

Accelerating OLTP performance with NVMe SSDs Veronica Lagrange Changho Choi Vijay Balakrishnan Accelerating OLTP performance with NVMe SSDs Veronica Lagrange Changho Choi Vijay Balakrishnan Agenda OLTP status quo Goal System environments Tuning and optimization MySQL Server results Percona Server

More information

MySQL vs MongoDB. Choosing right technology for your application. Peter Zaitsev CEO, Percona All Things Open, Raleigh,NC October 23 rd, 2017

MySQL vs MongoDB. Choosing right technology for your application. Peter Zaitsev CEO, Percona All Things Open, Raleigh,NC October 23 rd, 2017 MySQL vs MongoDB Choosing right technology for your application Peter Zaitsev CEO, Percona All Things Open, Raleigh,NC October 23 rd, 2017 1 MySQL vs MongoDB VS 2 Bigger Question What Open Source Database

More information

MariaDB: Community Driven SQL Server. Kristian Nielsen MariaDB developer Monty Program AB

MariaDB: Community Driven SQL Server. Kristian Nielsen MariaDB developer Monty Program AB MariaDB: Community Driven SQL Server Kristian Nielsen MariaDB developer AB Background Why MySQL is a high-profile Free Software package and very important to the Free Software world in general. Ensure

More information

Percona XtraDB: Compressed Columns with Dictionaries an alternative to InnoDB table compression. Yura Sorokin, Senior Software Engineer at Percona

Percona XtraDB: Compressed Columns with Dictionaries an alternative to InnoDB table compression. Yura Sorokin, Senior Software Engineer at Percona Percona XtraDB: Compressed Columns with Dictionaries an alternative to InnoDB table compression Yura Sorokin, Senior Software Engineer at Percona Existing compression methods Overview Existing compression

More information

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

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

More information

MyRocks in MariaDB. Sergei Petrunia MariaDB Tampere Meetup June 2018

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

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