SlideShare ist ein Scribd-Unternehmen logo
1 von 53
Downloaden Sie, um offline zu lesen
Title




                              EffectiveMySQL.com - Its all about Performance and Scalability

Wednesday, October 19, 2011
Title


                              Mastering MySQL
                              Performance Tuning
                                                   Ronald Bradford
                                              http://ronaldbradford.com
                                              Insight Out DB Showcase
                                                    October 2011




                              EffectiveMySQL.com - Its all about Performance and Scalability

Wednesday, October 19, 2011
OBJECTIVE

                       Identify key MySQL instrumentation
                       Detail the MySQL terms to know and use
                       Provide references to further materials




                              EffectiveMySQL.com - Its all about Performance and Scalability

Wednesday, October 19, 2011
ABOUT AUTHOR
                                                             Ronald BRADFORD

                       12 years with MySQL / 22 years with RDBMS
                              Senior Consultant at MySQL Inc (06-08)
                              Consultant for Oracle Corporation (96-99)

                       7 years presenting MySQL content
                       All time top MySQL blogger
                                                                                            Available NOW
                       Published author                                                      for consulting

                       Oracle ACE Director
                                                                                        http://RonaldBradford.com

                                 EffectiveMySQL.com - Its all about Performance and Scalability

Wednesday, October 19, 2011
MySQL
                              Instrumentation


                              EffectiveMySQL.com - Its all about Performance and Scalability

Wednesday, October 19, 2011
Key sources

                       ConïŹguration
                              my.cnf      (e.g. /etc/my.cnf, /etc/mysql/my.cnf)
                              SHOW [SESSION|GLOBAL] VARIABLES
                              INFORMATION_SCHEMA tables

                       Status
                              SHOW [SESSION|GLOBAL] STATUS
                              INFORMATION_SCHEMA tables

                                 EffectiveMySQL.com - Its all about Performance and Scalability

Wednesday, October 19, 2011
STATUS
                SHOW STATUS EXAMPLE
                INFORMATION_SCHEMA.STATUS Example




                              EffectiveMySQL.com - Its all about Performance and Scalability

Wednesday, October 19, 2011
Key Sources

                       Running Threads
                              SHOW FULL PROCESSLIST
                              INFORMATION_SCHEMA.PROCESSLIST

                       Storage Engines
                              SHOW ENGINE INNODB STATUS

                       Performance Schema
                              PERFORMANCE_SCHEMA
                                EffectiveMySQL.com - Its all about Performance and Scalability

Wednesday, October 19, 2011
PROCESSLIST
                PROCESSLIST EXAMPLE
                INFORMATION_SCHEMA.PROCESSLIST Example




                              EffectiveMySQL.com - Its all about Performance and Scalability

Wednesday, October 19, 2011
KEY areas

                       System performance
                       SQL performance




                              EffectiveMySQL.com - Its all about Performance and Scalability

Wednesday, October 19, 2011
Know your system
                                 bottleneck


                               EffectiveMySQL.com - Its all about Performance and Scalability

Wednesday, October 19, 2011
BOTTLENECK

                       Memory
                       Disk
                       CPU
                       Network




                              EffectiveMySQL.com - Its all about Performance and Scalability

Wednesday, October 19, 2011
MEMORY

                       Basic conïŹguration (Global use)
                       Basic conïŹguration (Thread use)
                       Memory Tables
                       Thread Temporary tables


                     http://dev.mysql.com/doc/refman/5.5/en/memory-use.html

                              EffectiveMySQL.com - Its all about Performance and Scalability

Wednesday, October 19, 2011
Memory

                       Global Buffer conïŹguration
                              innodb_buffer_pool_size
                              key_buffer_size
                              query_cache_size




                               EffectiveMySQL.com - Its all about Performance and Scalability

Wednesday, October 19, 2011
InnoDB Size
                                                                                            EXAMPLE

                       innodb_buffer_pool_size
                              Was 1 GB, should be 300M+
                              AWS small instance with 1.7G RAM
                mysql> source sql/innodb_size.sql
                +-------------------+----------+---------+----------+
                | title             | total_mb | data_mb | index_mb |
                +-------------------+----------+---------+----------+
                | Total InnoDB Size |      278 |     171 |      107 |
                +-------------------+----------+---------+----------+




                                EffectiveMySQL.com - Its all about Performance and Scalability

Wednesday, October 19, 2011
InnoDB Size
                                                                                            EXAMPLE

                       innodb_buffer_pool_size
                              Was 1 GB, should be 300M+
                              AWS small instance with 1.7G RAM
                mysql> source sql/innodb_size.sql
                +-------------------+----------+---------+----------+
                | title             | total_mb | data_mb | index_mb |
                +-------------------+----------+---------+----------+
                | Total InnoDB Size |      278 |     171 |      107 |
                +-------------------+----------+---------+----------+


                                                                            Rule of 75-80% of RAM is WRONG!

                                EffectiveMySQL.com - Its all about Performance and Scalability

Wednesday, October 19, 2011
MyISAM Size
                                                                                            EXAMPLE

                       key_buffer_size
                              For MyISAM Indexes ONLY
                              Was default in RDS, should be 700M+
                                                                  Github
                mysql> source sql/myisam_size.sql
                +-------------------+----------+---------+----------+
                | title             | total_mb | data_mb | index_mb |
                +-------------------+----------+---------+----------+
                | Total MyISAM Size |     6140 |    5492 |      648 |
                +-------------------+----------+---------+----------+




                                EffectiveMySQL.com - Its all about Performance and Scalability

Wednesday, October 19, 2011
MyISAM Size
                                                                                            EXAMPLE

                       key_buffer_size
                              For MyISAM Indexes ONLY
                              Was default in RDS, should be 700M+
                                                                  Github
                mysql> source sql/myisam_size.sql
                +-------------------+----------+---------+----------+
                | title             | total_mb | data_mb | index_mb |
                +-------------------+----------+---------+----------+
                | Total MyISAM Size |     6140 |    5492 |      648 |
                +-------------------+----------+---------+----------+


                                                                            Needs 1M min for all InnoDB system

                                EffectiveMySQL.com - Its all about Performance and Scalability

Wednesday, October 19, 2011
memory

                       Thread buffer conïŹguration
                              read_buffer_size
                              read_rnd_buffer_size
                              sort_buffer_size
                              join_buffer_size


                               EffectiveMySQL.com - Its all about Performance and Scalability

Wednesday, October 19, 2011
memory

                       In Memory Tables
                              max_heap_table_size
                       Internal Temporary Tables
                              MIN(tmp_table_size,max_heap_table_size)




                                EffectiveMySQL.com - Its all about Performance and Scalability

Wednesday, October 19, 2011
Memory

                       mysqld memory
                              Unbounded
                              Linux process list (ps)
                     $ $ ps -eopid,fname,vsz,rss,user,command | grep -e "RSS" -e "mysql"
                       PID COMMAND     VSZ   RSS USER     COMMAND
                     13628 grep       3352   820 ubuntu   grep -e RSS -e mysql
                     28082 mysqld   631076 405660 mysql   /usr/sbin/mysqld

                     $ ps -eopid,fname,vsz,rss,user,command | grep " mysqld " | grep -v grep
                     | awk '{print $3,$4}'
                     631076 405660


                    http://ronaldbradford.com/blog/are-you-monitoring-rss-vsz-2009-03-08/

                                EffectiveMySQL.com - Its all about Performance and Scalability

Wednesday, October 19, 2011
MEMORY

                       PROCESSLIST
                              Copying to tmp table




                               EffectiveMySQL.com - Its all about Performance and Scalability

Wednesday, October 19, 2011
Disk

                       fsync conïŹguration
                              flush_log_at_trx_commit
                              sync_binlog
                              innodb_file_per_table




                               EffectiveMySQL.com - Its all about Performance and Scalability

Wednesday, October 19, 2011
MySQL DISK

                       Status Variables
                  mysql> show global status like 'innodb%write%';
                  +-----------------------------------+-----------+                             Volumes
                  | Innodb_buffer_pool_write_requests | 821053284 |
                  | Innodb_data_pending_writes        | 0         |
                  | Innodb_data_writes                | 198400090 |
                  | Innodb_dblwr_writes               | 547847    |
                  | Innodb_log_write_requests         | 64860531 |
                  | Innodb_log_writes                 | 188609653 |
                  | Innodb_os_log_pending_writes      | 0         |
                  +-----------------------------------+-----------+

                  mysql> show global status like '%sync%';
                  +------------------------------+---------+                                   True Costs
                  | Innodb_data_fsyncs           | 6835646 |
                  | Innodb_data_pending_fsyncs   | 0       |
                  | Innodb_os_log_fsyncs         | 5681432 |
                  | Innodb_os_log_pending_fsyncs | 0       |
                  +------------------------------+---------+
                  mysql> show global status like 'created_tmp_disk_tables';
                  +-------------------------+-------+
                  | Created_tmp_disk_tables | 87     |
                  +-------------------------+-------+
                              EffectiveMySQL.com - Its all about Performance and Scalability

Wednesday, October 19, 2011
CPU

                       Query sorting (ORDER BY/GROUP BY)
                              PROCESSLIST
                               Sorting result
                              EXPLAIN
                               Using Filesort


                               EffectiveMySQL.com - Its all about Performance and Scalability

Wednesday, October 19, 2011
NETWORK

                       STATUS
                              Bytes_sent
                              Bytes_received
                       PROCESSLIST
                              Sending data


                               EffectiveMySQL.com - Its all about Performance and Scalability

Wednesday, October 19, 2011
SQL


                              EffectiveMySQL.com - Its all about Performance and Scalability

Wednesday, October 19, 2011
SQL performance

                       Throughput
                              Scalability is about increasing
                              throughout
                       Latency
                              Performance is about improving
                              latency

                                EffectiveMySQL.com - Its all about Performance and Scalability

Wednesday, October 19, 2011
THROUgHPUT

                       Status
                       Performance Schema
                       TCP/IP




                              EffectiveMySQL.com - Its all about Performance and Scalability

Wednesday, October 19, 2011
MySQL STATUS
                                                                                          EXAMPLE
     $ status_now.sh
     --------------------------+------------+
     | Variable_name            | Value       |
     +--------------------------+------------+
     | Bytes_received           | 142721      |
     | Bytes_sent               | 85170       |                                                Temporary disk table
     | Com_admin_commands       | 160         |                                                 writes per second
     | Com_delete               | 4           |
     | Com_insert               | 12          |
     | Com_select               | 331         |
     | Com_show_status          | 1           |
     | Com_update               | 5           |
     | Created_tmp_disk_tables | 52           |
     | Created_tmp_tables       | 53          |
     ...
     | Qcache_inserts           | 331         |
     | Qcache_hits              | 382         |
     | Qcache_lowmem_prunes     | 319         |
     | Qcache_free_memory       | -8600       |
     ...
     | Uptime                   | 1           |
     +--------------------------+------------+


                                  https://github.com/ronaldbradford/EffectiveMySQL
                              EffectiveMySQL.com - Its all about Performance and Scalability

Wednesday, October 19, 2011
MySQL STATUS
                                                                                          EXAMPLE
     $ status_now.sh                                                            What is happening this second?
     --------------------------+------------+
     | Variable_name            | Value       |
     +--------------------------+------------+
     | Bytes_received           | 142721      |
     | Bytes_sent               | 85170       |                                                Temporary disk table
     | Com_admin_commands       | 160         |                                                 writes per second
     | Com_delete               | 4           |
     | Com_insert               | 12          |
     | Com_select               | 331         |
     | Com_show_status          | 1           |
     | Com_update               | 5           |
     | Created_tmp_disk_tables | 52           |
     | Created_tmp_tables       | 53          |
     ...
     | Qcache_inserts           | 331         |
     | Qcache_hits              | 382         |
     | Qcache_lowmem_prunes     | 319         |
     | Qcache_free_memory       | -8600       |
     ...
     | Uptime                   | 1           |
     +--------------------------+------------+


                                  https://github.com/ronaldbradford/EffectiveMySQL
                              EffectiveMySQL.com - Its all about Performance and Scalability

Wednesday, October 19, 2011
TCP/IP
                TCP/IP Example




                              EffectiveMySQL.com - Its all about Performance and Scalability

Wednesday, October 19, 2011
Latency

                       EXPLAIN
                              SHOW CREATE TABLE
                              SHOW INDEXES




                               EffectiveMySQL.com - Its all about Performance and Scalability

Wednesday, October 19, 2011
EXPLAin
                EXPLAIN Example




                              EffectiveMySQL.com - Its all about Performance and Scalability

Wednesday, October 19, 2011
LATENCY

                       Optimizer Trace (Since 5.6.3)
                              Shows all optimizer actions
                                Rows statistics
                                Tree pruning




                                EffectiveMySQL.com - Its all about Performance and Scalability

Wednesday, October 19, 2011
OPTIMIZER TRACE
                Optimizer Trace Example




                              EffectiveMySQL.com - Its all about Performance and Scalability

Wednesday, October 19, 2011
latency

                       performance_schema
                              Introduced in 5.5
                              Much improved 5.6.3




                                EffectiveMySQL.com - Its all about Performance and Scalability

Wednesday, October 19, 2011
Performance schema

                Performance Schema example




                              EffectiveMySQL.com - Its all about Performance and Scalability

Wednesday, October 19, 2011
throughput

                       Repeating queries
                       Redundant queries
                       Unnecessary complex queries




                              EffectiveMySQL.com - Its all about Performance and Scalability

Wednesday, October 19, 2011
throughput

                       MySQL Query Cache
                              Great for high read
                              Poor for read/write




                                EffectiveMySQL.com - Its all about Performance and Scalability

Wednesday, October 19, 2011
The art of doing more
                    starts with doing less


                              EffectiveMySQL.com - Its all about Performance and Scalability

Wednesday, October 19, 2011
MYSQL STATUS
                                                                                          EXAMPLE
====================================================================================================
                   Uptime: 12 hours 17 mins Snapshot Period 1: 1 minute interval
====================================================================================================
                    Variable    Delta/Percentage            Per Second                    Total
                                                                             Why are you doing crazy
====================================================================================================
                                         Statement Activity
                                                                               things Mr Framework?
====================================================================================================

                        SELECT:              16,042                     267.37                 8,177,050   (46.03%)
                        INSERT:               5,838                      97.30                 1,826,616   (10.28%)
                        UPDATE:               1,109                      18.48                   738,546   (4.16%)
                        DELETE:               2,018                      33.63                 1,374,983   (7.74%)
                       REPLACE:                   0                       0.00                         0   (0.00%)
             INSERT ... SELECT:                   0                       0.00                        27   (0.00%)
            REPLACE ... SELECT:                   0                       0.00                         0   (0.00%)
                  Multi UPDATE:                   0                       0.00                         0   (0.00%)
                  Multi DELETE:                   0                       0.00                         0   (0.00%)
                        COMMIT:               5,708                      95.13                 2,161,232   (12.17%)
                      ROLLBACK:               5,746                      95.77                 3,485,828   (19.62%)




                              EffectiveMySQL.com - Its all about Performance and Scalability

Wednesday, October 19, 2011
Row Processing
                                                                                          EXAMPLE
   SELECT name FROM firms WHERE id=727;
  SELECT name FROM firms WHERE id=758;
  SELECT name FROM firms WHERE id=857;
  SELECT name FROM firms WHERE id=740;                       SELECT id, name
  SELECT name FROM firms WHERE id=849;                       FROM firms
  SELECT name FROM firms WHERE id=839;                       WHERE id IN (723, 727, 740, 758, 812, 829, 839,
  SELECT name FROM firms WHERE id=847;                       847, 849, 857, 867, 868);
  SELECT name FROM firms WHERE id=867;
  SELECT name FROM firms WHERE id=829;
  SELECT name FROM firms WHERE id=812;
  SELECT name FROM firms WHERE id=868;
  SELECT name FROM firms WHERE id=723;



             http://ronaldbradford.com/blog/optimizing-sql-performance-the-art-of-elimination-2010-07-08/
                          http://ronaldbradford.com/blog/simple-lessons-in-improving-scalability-2011-02-16/
                                             http://ronaldbradford.com/blog/the-rat-and-the-cat-2006-08-24/




                              EffectiveMySQL.com - Its all about Performance and Scalability

Wednesday, October 19, 2011
Row Processing
                                                                                          EXAMPLE
   SELECT name FROM firms WHERE id=727;                                                 Classic N+1 problem
  SELECT name FROM firms WHERE id=758;
  SELECT name FROM firms WHERE id=857;
  SELECT name FROM firms WHERE id=740;                       SELECT id, name
  SELECT name FROM firms WHERE id=849;                       FROM firms
  SELECT name FROM firms WHERE id=839;                       WHERE id IN (723, 727, 740, 758, 812, 829, 839,
  SELECT name FROM firms WHERE id=847;                       847, 849, 857, 867, 868);
  SELECT name FROM firms WHERE id=867;
  SELECT name FROM firms WHERE id=829;
  SELECT name FROM firms WHERE id=812;
  SELECT name FROM firms WHERE id=868;
  SELECT name FROM firms WHERE id=723;



             http://ronaldbradford.com/blog/optimizing-sql-performance-the-art-of-elimination-2010-07-08/
                          http://ronaldbradford.com/blog/simple-lessons-in-improving-scalability-2011-02-16/
                                             http://ronaldbradford.com/blog/the-rat-and-the-cat-2006-08-24/




                              EffectiveMySQL.com - Its all about Performance and Scalability

Wednesday, October 19, 2011
Row Processing
                                                                                          EXAMPLE
    SET PROFILING=1;
  SELECT 
                                                             4X longer processing for
  SHOW PROFILES;                                                            every page load
  +----------+------------+---------------------------------------------------------
  | Query_ID | Duration    | Query
  +----------+------------+---------------------------------------------------------
  |         1 | 0.00030400 | SELECT name FROM firms WHERE id=727
                                               SELECT 'Sum Individual Queries' AS txt,SUM(DURATI
  |         2 | 0.00014400 | SELECT name FROM firms WHERE id=758
                                               INFORMATION_SCHEMA.PROFILING WHERE QUERY_ID BETWE
  |         3 | 0.00014300 | SELECT name FROM firms WHERE id=857
                                               UNION
  |         4 | 0.00014000 | SELECT name FROM firms WHERE id=740Query',SUM(DURATION) FROM INFORM
                                               SELECT 'Combined
  |         5 | 0.00012300 | SELECT name FROM firms WHERE 13;
                                               QUERY_ID = id=849
  |         6 | 0.00012200 | SELECT name FROM firms WHERE id=839
                                               +------------------------+------------+
  |         7 | 0.00011600 | SELECT name FROM firms WHERE id=847
                                               | txt                    | total_time |
  |         8 | 0.00014300 | SELECT name FROM firms WHERE id=867
                                               +------------------------+------------+
  |         9 | 0.00013900 | SELECT name FROM firms WHERE id=829Queries |
                                               | Sum Individual             0.001311 |
  |        10 | 0.00014000 | SELECT name FROM firms WHERE Query
                                               | Combined id=812        |   0.000311 |
  |        11 | 0.00012800 | SELECT name FROM firms WHERE id=868
                                               +------------------------+------------+
  |        12 | 0.00011700 | SELECT name FROM firms WHERE id=723
  |        13 | 0.00031100 | SELECT id, name FROM firms WHERE id IN (723 ...
  +----------+------------+---------------------------------------------------------




                              EffectiveMySQL.com - Its all about Performance and Scalability

Wednesday, October 19, 2011
Row Processing
                                                                                          EXAMPLE
    SET PROFILING=1;
  SELECT 
                                                             4X longer processing for
  SHOW PROFILES;                                                            every page load
  +----------+------------+---------------------------------------------------------
  | Query_ID | Duration    | Query
  +----------+------------+---------------------------------------------------------
  |         1 | 0.00030400 | SELECT name FROM firms WHERE id=727
                                               SELECT 'Sum Individual Queries' AS txt,SUM(DURATI
  |         2 | 0.00014400 | SELECT name FROM firms WHERE id=758
                                               INFORMATION_SCHEMA.PROFILING WHERE QUERY_ID BETWE
  |         3 | 0.00014300 | SELECT name FROM firms WHERE id=857
                                               UNION
  |         4 | 0.00014000 | SELECT name FROM firms WHERE id=740Query',SUM(DURATION) FROM INFORM
                                               SELECT 'Combined
  |         5 | 0.00012300 | SELECT name FROM firms WHERE 13;
                                               QUERY_ID = id=849
  |         6 | 0.00012200 | SELECT name FROM firms WHERE id=839
                                               +------------------------+------------+
  |         7 | 0.00011600 | SELECT name FROM firms WHERE id=847
                                               | txt                    | total_time |
  |         8 | 0.00014300 | SELECT name FROM firms WHERE id=867
                                               +------------------------+------------+
  |         9 | 0.00013900 | SELECT name FROM firms WHERE id=829Queries |
                                               | Sum Individual             0.001311 |
  |        10 | 0.00014000 | SELECT name FROM firms WHERE Query
                                               | Combined id=812        |   0.000311 |
  |        11 | 0.00012800 | SELECT name FROM firms WHERE id=868
                                               +------------------------+------------+
  |        12 | 0.00011700 | SELECT name FROM firms WHERE id=723
  |        13 | 0.00031100 | SELECT id, name FROM firms WHERE id IN (723 ...
  +----------+------------+---------------------------------------------------------
                                                                                          Instant DB Scalability


                              EffectiveMySQL.com - Its all about Performance and Scalability

Wednesday, October 19, 2011
resources

                       Many principles are straight forward
                       for experienced Oracle resoures
                              Open Source projects
                              Less skilled workforce




                                EffectiveMySQL.com - Its all about Performance and Scalability

Wednesday, October 19, 2011
Architecture


                              EffectiveMySQL.com - Its all about Performance and Scalability

Wednesday, October 19, 2011
ARCHITECTure

                       Storage Engines
                       Reducing SQL
                       Monitoring
                       Replication




                              EffectiveMySQL.com - Its all about Performance and Scalability

Wednesday, October 19, 2011
replication
                                                                                               Weakest Link




                              EffectiveMySQL.com - Its all about Performance and Scalability

Wednesday, October 19, 2011
conclusion

                       MySQL is a relational database
                              Internals are very different
                       Instrumentation is improving in new
                       versions 5.5 GA 5.6 DMR
                       Planet MySQL http://planet.mysql.com



                                EffectiveMySQL.com - Its all about Performance and Scalability

Wednesday, October 19, 2011
Available NOW


  http://effectivemysql.com/book/optimizing-sql-statements/
                 EffectiveMySQL.com - Its all about Performance and Scalability

Wednesday, October 19, 2011
Ronald Bradford
                                  http://effectiveMySQL.com
                              EffectiveMySQL.com - Its all about Performance and Scalability

Wednesday, October 19, 2011

Weitere Àhnliche Inhalte

Ähnlich wie [INSIGHT OUT 2011] A17 mastering my sql performance tuning(ronald bradford)

Ukoug 2011 mysql_arch_for_orcl_dba
Ukoug 2011 mysql_arch_for_orcl_dbaUkoug 2011 mysql_arch_for_orcl_dba
Ukoug 2011 mysql_arch_for_orcl_dba
orablue11
 
My sql vivo_5.5_product_update_pt
My sql  vivo_5.5_product_update_ptMy sql  vivo_5.5_product_update_pt
My sql vivo_5.5_product_update_pt
MySQL Brasil
 
A Practitioner's Guide to Successfully Migrate from Oracle to Sybase ASE Part 1
A Practitioner's Guide to Successfully Migrate from Oracle to Sybase ASE Part 1A Practitioner's Guide to Successfully Migrate from Oracle to Sybase ASE Part 1
A Practitioner's Guide to Successfully Migrate from Oracle to Sybase ASE Part 1
Dobler Consulting
 
2012 replication
2012 replication2012 replication
2012 replication
sqlhjalp
 
UKOUG 2011: MySQL Architectures for Oracle DBA's
UKOUG 2011: MySQL Architectures for Oracle DBA'sUKOUG 2011: MySQL Architectures for Oracle DBA's
UKOUG 2011: MySQL Architectures for Oracle DBA's
FromDual GmbH
 
Backbone.js - MichaƂ Taberski (PRUG 2.0)
Backbone.js - MichaƂ Taberski (PRUG 2.0)Backbone.js - MichaƂ Taberski (PRUG 2.0)
Backbone.js - MichaƂ Taberski (PRUG 2.0)
ecommerce poland expo
 
Mysql User Camp : 20th June - Mysql New Features
Mysql User Camp : 20th June - Mysql New FeaturesMysql User Camp : 20th June - Mysql New Features
Mysql User Camp : 20th June - Mysql New Features
Tarique Saleem
 
What's New in MySQL 5.6
What's New in MySQL 5.6What's New in MySQL 5.6
What's New in MySQL 5.6
Santo Leto
 

Ähnlich wie [INSIGHT OUT 2011] A17 mastering my sql performance tuning(ronald bradford) (20)

My sql crashcourse_2012
My sql crashcourse_2012My sql crashcourse_2012
My sql crashcourse_2012
 
TWJUG August, What's new in MySQL 5.7 RC
TWJUG August, What's new in MySQL 5.7 RCTWJUG August, What's new in MySQL 5.7 RC
TWJUG August, What's new in MySQL 5.7 RC
 
Ukoug 2011 mysql_arch_for_orcl_dba
Ukoug 2011 mysql_arch_for_orcl_dbaUkoug 2011 mysql_arch_for_orcl_dba
Ukoug 2011 mysql_arch_for_orcl_dba
 
MySQL Backup and Recovery Essentials
MySQL Backup and Recovery EssentialsMySQL Backup and Recovery Essentials
MySQL Backup and Recovery Essentials
 
My sql vivo_5.5_product_update_pt
My sql  vivo_5.5_product_update_ptMy sql  vivo_5.5_product_update_pt
My sql vivo_5.5_product_update_pt
 
A Practitioner's Guide to Successfully Migrate from Oracle to Sybase ASE Part 1
A Practitioner's Guide to Successfully Migrate from Oracle to Sybase ASE Part 1A Practitioner's Guide to Successfully Migrate from Oracle to Sybase ASE Part 1
A Practitioner's Guide to Successfully Migrate from Oracle to Sybase ASE Part 1
 
2012 replication
2012 replication2012 replication
2012 replication
 
Considerations for using NoSQL technology on your next IT project - Akmal Cha...
Considerations for using NoSQL technology on your next IT project - Akmal Cha...Considerations for using NoSQL technology on your next IT project - Akmal Cha...
Considerations for using NoSQL technology on your next IT project - Akmal Cha...
 
UKOUG 2011: MySQL Architectures for Oracle DBA's
UKOUG 2011: MySQL Architectures for Oracle DBA'sUKOUG 2011: MySQL Architectures for Oracle DBA's
UKOUG 2011: MySQL Architectures for Oracle DBA's
 
ODTUG_NoPlsql_vs_SmartDB_Part1_and_2.pptx
ODTUG_NoPlsql_vs_SmartDB_Part1_and_2.pptxODTUG_NoPlsql_vs_SmartDB_Part1_and_2.pptx
ODTUG_NoPlsql_vs_SmartDB_Part1_and_2.pptx
 
My sql crashcourse_intro_kdl
My sql crashcourse_intro_kdlMy sql crashcourse_intro_kdl
My sql crashcourse_intro_kdl
 
Backbone.js - MichaƂ Taberski (PRUG 2.0)
Backbone.js - MichaƂ Taberski (PRUG 2.0)Backbone.js - MichaƂ Taberski (PRUG 2.0)
Backbone.js - MichaƂ Taberski (PRUG 2.0)
 
Mysql User Camp : 20th June - Mysql New Features
Mysql User Camp : 20th June - Mysql New FeaturesMysql User Camp : 20th June - Mysql New Features
Mysql User Camp : 20th June - Mysql New Features
 
Mysql User Camp : 20-June-14 : Mysql New features and NoSQL Support
 Mysql User Camp : 20-June-14 : Mysql New features and NoSQL Support Mysql User Camp : 20-June-14 : Mysql New features and NoSQL Support
Mysql User Camp : 20-June-14 : Mysql New features and NoSQL Support
 
GeekOn with Ron #5: Storage Deep Dive with Special Guest
GeekOn with Ron #5: Storage Deep Dive with Special GuestGeekOn with Ron #5: Storage Deep Dive with Special Guest
GeekOn with Ron #5: Storage Deep Dive with Special Guest
 
CMPE 297 Lecture: Building Infrastructure Clouds with OpenStack
CMPE 297 Lecture: Building Infrastructure Clouds with OpenStackCMPE 297 Lecture: Building Infrastructure Clouds with OpenStack
CMPE 297 Lecture: Building Infrastructure Clouds with OpenStack
 
Keith Larson Replication
Keith Larson ReplicationKeith Larson Replication
Keith Larson Replication
 
What's New in MySQL 5.6
What's New in MySQL 5.6What's New in MySQL 5.6
What's New in MySQL 5.6
 
MySQL For Oracle Developers
MySQL For Oracle DevelopersMySQL For Oracle Developers
MySQL For Oracle Developers
 
Introduction of Oracle
Introduction of Oracle Introduction of Oracle
Introduction of Oracle
 

Mehr von Insight Technology, Inc.

ä»źæƒłé€šèČšă‚Šă‚©ăƒŹăƒƒăƒˆă‚ąăƒ—ăƒȘă§ç†è§Łă™ă‚‹ăƒ‡ăƒŒă‚żă‚čăƒˆă‚ąăšă—ăŠăźăƒ–ăƒ­ăƒƒă‚Żăƒă‚§ăƒŒăƒł
ä»źæƒłé€šèČšă‚Šă‚©ăƒŹăƒƒăƒˆă‚ąăƒ—ăƒȘă§ç†è§Łă™ă‚‹ăƒ‡ăƒŒă‚żă‚čăƒˆă‚ąăšă—ăŠăźăƒ–ăƒ­ăƒƒă‚Żăƒă‚§ăƒŒăƒłä»źæƒłé€šèČšă‚Šă‚©ăƒŹăƒƒăƒˆă‚ąăƒ—ăƒȘă§ç†è§Łă™ă‚‹ăƒ‡ăƒŒă‚żă‚čăƒˆă‚ąăšă—ăŠăźăƒ–ăƒ­ăƒƒă‚Żăƒă‚§ăƒŒăƒł
ä»źæƒłé€šèČšă‚Šă‚©ăƒŹăƒƒăƒˆă‚ąăƒ—ăƒȘă§ç†è§Łă™ă‚‹ăƒ‡ăƒŒă‚żă‚čăƒˆă‚ąăšă—ăŠăźăƒ–ăƒ­ăƒƒă‚Żăƒă‚§ăƒŒăƒł
Insight Technology, Inc.
 
DBREă‹ă‚‰ć§‹ă‚ă‚‹ăƒ‡ăƒŒă‚żăƒ™ăƒŒă‚čăƒ—ăƒ©ăƒƒăƒˆăƒ•ă‚©ăƒŒăƒ 
DBREă‹ă‚‰ć§‹ă‚ă‚‹ăƒ‡ăƒŒă‚żăƒ™ăƒŒă‚čăƒ—ăƒ©ăƒƒăƒˆăƒ•ă‚©ăƒŒăƒ DBREă‹ă‚‰ć§‹ă‚ă‚‹ăƒ‡ăƒŒă‚żăƒ™ăƒŒă‚čăƒ—ăƒ©ăƒƒăƒˆăƒ•ă‚©ăƒŒăƒ 
DBREă‹ă‚‰ć§‹ă‚ă‚‹ăƒ‡ăƒŒă‚żăƒ™ăƒŒă‚čăƒ—ăƒ©ăƒƒăƒˆăƒ•ă‚©ăƒŒăƒ 
Insight Technology, Inc.
 
db tech showcase2019 ă‚ȘăƒŒăƒ—ăƒ‹ăƒłă‚°ă‚»ăƒƒă‚·ăƒ§ăƒł @ ăƒžă‚€ăƒŠăƒŒăƒ»ă‚ąăƒŹăƒłăƒ»ăƒ‘ăƒŒă‚«ăƒŒ
db tech showcase2019 ă‚ȘăƒŒăƒ—ăƒ‹ăƒłă‚°ă‚»ăƒƒă‚·ăƒ§ăƒł @ ăƒžă‚€ăƒŠăƒŒăƒ»ă‚ąăƒŹăƒłăƒ»ăƒ‘ăƒŒă‚«ăƒŒ db tech showcase2019 ă‚ȘăƒŒăƒ—ăƒ‹ăƒłă‚°ă‚»ăƒƒă‚·ăƒ§ăƒł @ ăƒžă‚€ăƒŠăƒŒăƒ»ă‚ąăƒŹăƒłăƒ»ăƒ‘ăƒŒă‚«ăƒŒ
db tech showcase2019 ă‚ȘăƒŒăƒ—ăƒ‹ăƒłă‚°ă‚»ăƒƒă‚·ăƒ§ăƒł @ ăƒžă‚€ăƒŠăƒŒăƒ»ă‚ąăƒŹăƒłăƒ»ăƒ‘ăƒŒă‚«ăƒŒ
Insight Technology, Inc.
 
ă‚łăƒąăƒ‡ă‚Łăƒ†ă‚Łă‚”ăƒŒăƒăƒŒïŒ“ć°ă§äœœă‚‹é«˜é€Ÿć‡Šç† â€œăƒă‚€ăƒ‘ăƒŒăƒ»ă‚łăƒłăƒăƒŒă‚žăƒ‰ăƒ»ăƒ‡ăƒŒă‚żăƒ™ăƒŒă‚čăƒ»ă‚€ăƒłăƒ•ăƒ©ă‚čăƒˆăƒ©ă‚ŻăƒăƒŁăƒŒïŒˆHCDI” ă‚·ă‚čテム『Insight Qube』...
ă‚łăƒąăƒ‡ă‚Łăƒ†ă‚Łă‚”ăƒŒăƒăƒŒïŒ“ć°ă§äœœă‚‹é«˜é€Ÿć‡Šç† â€œăƒă‚€ăƒ‘ăƒŒăƒ»ă‚łăƒłăƒăƒŒă‚žăƒ‰ăƒ»ăƒ‡ăƒŒă‚żăƒ™ăƒŒă‚čăƒ»ă‚€ăƒłăƒ•ăƒ©ă‚čăƒˆăƒ©ă‚ŻăƒăƒŁăƒŒïŒˆHCDI” ă‚·ă‚čテム『Insight Qube』...ă‚łăƒąăƒ‡ă‚Łăƒ†ă‚Łă‚”ăƒŒăƒăƒŒïŒ“ć°ă§äœœă‚‹é«˜é€Ÿć‡Šç† â€œăƒă‚€ăƒ‘ăƒŒăƒ»ă‚łăƒłăƒăƒŒă‚žăƒ‰ăƒ»ăƒ‡ăƒŒă‚żăƒ™ăƒŒă‚čăƒ»ă‚€ăƒłăƒ•ăƒ©ă‚čăƒˆăƒ©ă‚ŻăƒăƒŁăƒŒïŒˆHCDI” ă‚·ă‚čテム『Insight Qube』...
ă‚łăƒąăƒ‡ă‚Łăƒ†ă‚Łă‚”ăƒŒăƒăƒŒïŒ“ć°ă§äœœă‚‹é«˜é€Ÿć‡Šç† â€œăƒă‚€ăƒ‘ăƒŒăƒ»ă‚łăƒłăƒăƒŒă‚žăƒ‰ăƒ»ăƒ‡ăƒŒă‚żăƒ™ăƒŒă‚čăƒ»ă‚€ăƒłăƒ•ăƒ©ă‚čăƒˆăƒ©ă‚ŻăƒăƒŁăƒŒïŒˆHCDI” ă‚·ă‚čテム『Insight Qube』...
Insight Technology, Inc.
 
耇数DBăźăƒăƒƒă‚Żă‚ąăƒƒăƒ—ăƒ»ćˆ‡ă‚Šæˆ»ă—é‹ç”šæ‰‹é †ăŒç•°ăȘăŁăŠć€§ć€‰ïŒŸïŒé‹ç”šæ€§ăźć€§ćč…æ”čć–„ă€ăăźć…ˆă«ă€‚ă€‚
耇数DBăźăƒăƒƒă‚Żă‚ąăƒƒăƒ—ăƒ»ćˆ‡ă‚Šæˆ»ă—é‹ç”šæ‰‹é †ăŒç•°ăȘăŁăŠć€§ć€‰ïŒŸïŒé‹ç”šæ€§ăźć€§ćč…æ”čć–„ă€ăăźć…ˆă«ă€‚ă€‚ 耇数DBăźăƒăƒƒă‚Żă‚ąăƒƒăƒ—ăƒ»ćˆ‡ă‚Šæˆ»ă—é‹ç”šæ‰‹é †ăŒç•°ăȘăŁăŠć€§ć€‰ïŒŸïŒé‹ç”šæ€§ăźć€§ćč…æ”čć–„ă€ăăźć…ˆă«ă€‚ă€‚
耇数DBăźăƒăƒƒă‚Żă‚ąăƒƒăƒ—ăƒ»ćˆ‡ă‚Šæˆ»ă—é‹ç”šæ‰‹é †ăŒç•°ăȘăŁăŠć€§ć€‰ïŒŸïŒé‹ç”šæ€§ăźć€§ćč…æ”čć–„ă€ăăźć…ˆă«ă€‚ă€‚
Insight Technology, Inc.
 
Attunityç€Ÿăźă‚œăƒȘăƒ„ăƒŒă‚·ăƒ§ăƒłăźæ—„æœŹć›œć†…ć€–é©ç”šäș‹äŸ‹ćŠăłăƒ­ăƒŒăƒ‰ăƒžăƒƒăƒ—çŽč介[ATTUNITY & ă‚€ăƒłă‚”ă‚€ăƒˆăƒ†ă‚ŻăƒŽăƒ­ă‚žăƒŒ IoT / Big Data フ...
Attunityç€Ÿăźă‚œăƒȘăƒ„ăƒŒă‚·ăƒ§ăƒłăźæ—„æœŹć›œć†…ć€–é©ç”šäș‹äŸ‹ćŠăłăƒ­ăƒŒăƒ‰ăƒžăƒƒăƒ—çŽč介[ATTUNITY & ă‚€ăƒłă‚”ă‚€ăƒˆăƒ†ă‚ŻăƒŽăƒ­ă‚žăƒŒ IoT / Big Data フ...Attunityç€Ÿăźă‚œăƒȘăƒ„ăƒŒă‚·ăƒ§ăƒłăźæ—„æœŹć›œć†…ć€–é©ç”šäș‹äŸ‹ćŠăłăƒ­ăƒŒăƒ‰ăƒžăƒƒăƒ—çŽč介[ATTUNITY & ă‚€ăƒłă‚”ă‚€ăƒˆăƒ†ă‚ŻăƒŽăƒ­ă‚žăƒŒ IoT / Big Data フ...
Attunityç€Ÿăźă‚œăƒȘăƒ„ăƒŒă‚·ăƒ§ăƒłăźæ—„æœŹć›œć†…ć€–é©ç”šäș‹äŸ‹ćŠăłăƒ­ăƒŒăƒ‰ăƒžăƒƒăƒ—çŽč介[ATTUNITY & ă‚€ăƒłă‚”ă‚€ăƒˆăƒ†ă‚ŻăƒŽăƒ­ă‚žăƒŒ IoT / Big Data フ...
Insight Technology, Inc.
 
ăƒŹă‚Źă‚·ăƒŒă«ćŸ‹ă‚‚ă‚ŒăŸăƒ‡ăƒŒă‚żă‚’ăƒȘă‚ąăƒ«ă‚żă‚€ăƒ ă§ă‚Żăƒ©ă‚Šăƒ‰ăž [ATTUNITY & ă‚€ăƒłă‚”ă‚€ăƒˆăƒ†ă‚ŻăƒŽăƒ­ă‚žăƒŒ IoT / Big Data ăƒ•ă‚©ăƒŒăƒ©ăƒ  2018]
ăƒŹă‚Źă‚·ăƒŒă«ćŸ‹ă‚‚ă‚ŒăŸăƒ‡ăƒŒă‚żă‚’ăƒȘă‚ąăƒ«ă‚żă‚€ăƒ ă§ă‚Żăƒ©ă‚Šăƒ‰ăž [ATTUNITY & ă‚€ăƒłă‚”ă‚€ăƒˆăƒ†ă‚ŻăƒŽăƒ­ă‚žăƒŒ IoT / Big Data ăƒ•ă‚©ăƒŒăƒ©ăƒ  2018]ăƒŹă‚Źă‚·ăƒŒă«ćŸ‹ă‚‚ă‚ŒăŸăƒ‡ăƒŒă‚żă‚’ăƒȘă‚ąăƒ«ă‚żă‚€ăƒ ă§ă‚Żăƒ©ă‚Šăƒ‰ăž [ATTUNITY & ă‚€ăƒłă‚”ă‚€ăƒˆăƒ†ă‚ŻăƒŽăƒ­ă‚žăƒŒ IoT / Big Data ăƒ•ă‚©ăƒŒăƒ©ăƒ  2018]
ăƒŹă‚Źă‚·ăƒŒă«ćŸ‹ă‚‚ă‚ŒăŸăƒ‡ăƒŒă‚żă‚’ăƒȘă‚ąăƒ«ă‚żă‚€ăƒ ă§ă‚Żăƒ©ă‚Šăƒ‰ăž [ATTUNITY & ă‚€ăƒłă‚”ă‚€ăƒˆăƒ†ă‚ŻăƒŽăƒ­ă‚žăƒŒ IoT / Big Data ăƒ•ă‚©ăƒŒăƒ©ăƒ  2018]
Insight Technology, Inc.
 

Mehr von Insight Technology, Inc. (20)

ă‚°ăƒ©ăƒ•ăƒ‡ăƒŒă‚żăƒ™ăƒŒă‚čăŻćŠ‚äœ•ă«è‡Ș然蚀èȘžă‚’ç†è§Łă™ă‚‹ă‹?
ă‚°ăƒ©ăƒ•ăƒ‡ăƒŒă‚żăƒ™ăƒŒă‚čăŻćŠ‚äœ•ă«è‡Ș然蚀èȘžă‚’ç†è§Łă™ă‚‹ă‹?ă‚°ăƒ©ăƒ•ăƒ‡ăƒŒă‚żăƒ™ăƒŒă‚čăŻćŠ‚äœ•ă«è‡Ș然蚀èȘžă‚’ç†è§Łă™ă‚‹ă‹?
ă‚°ăƒ©ăƒ•ăƒ‡ăƒŒă‚żăƒ™ăƒŒă‚čăŻćŠ‚äœ•ă«è‡Ș然蚀èȘžă‚’ç†è§Łă™ă‚‹ă‹?
 
Docker and the Oracle Database
Docker and the Oracle DatabaseDocker and the Oracle Database
Docker and the Oracle Database
 
Great performance at scaleïœžæŹĄæœŸPostgreSQL12ăźăƒ‘ăƒŒăƒ†ă‚Łă‚·ăƒ§ăƒ‹ăƒłă‚°æ€§èƒœăźćźŸćŠ›ă«èż«ă‚‹ïœž
Great performance at scaleïœžæŹĄæœŸPostgreSQL12ăźăƒ‘ăƒŒăƒ†ă‚Łă‚·ăƒ§ăƒ‹ăƒłă‚°æ€§èƒœăźćźŸćŠ›ă«èż«ă‚‹ïœžGreat performance at scaleïœžæŹĄæœŸPostgreSQL12ăźăƒ‘ăƒŒăƒ†ă‚Łă‚·ăƒ§ăƒ‹ăƒłă‚°æ€§èƒœăźćźŸćŠ›ă«èż«ă‚‹ïœž
Great performance at scaleïœžæŹĄæœŸPostgreSQL12ăźăƒ‘ăƒŒăƒ†ă‚Łă‚·ăƒ§ăƒ‹ăƒłă‚°æ€§èƒœăźćźŸćŠ›ă«èż«ă‚‹ïœž
 
äș‹äŸ‹ă‚’é€šă˜ăŠæ©Ÿæą°ć­Šçż’ăšăŻäœ•ă‹ă‚’èȘŹæ˜Žă™ă‚‹
äș‹äŸ‹ă‚’é€šă˜ăŠæ©Ÿæą°ć­Šçż’ăšăŻäœ•ă‹ă‚’èȘŹæ˜Žă™ă‚‹äș‹äŸ‹ă‚’é€šă˜ăŠæ©Ÿæą°ć­Šçż’ăšăŻäœ•ă‹ă‚’èȘŹæ˜Žă™ă‚‹
äș‹äŸ‹ă‚’é€šă˜ăŠæ©Ÿæą°ć­Šçż’ăšăŻäœ•ă‹ă‚’èȘŹæ˜Žă™ă‚‹
 
ä»źæƒłé€šèČšă‚Šă‚©ăƒŹăƒƒăƒˆă‚ąăƒ—ăƒȘă§ç†è§Łă™ă‚‹ăƒ‡ăƒŒă‚żă‚čăƒˆă‚ąăšă—ăŠăźăƒ–ăƒ­ăƒƒă‚Żăƒă‚§ăƒŒăƒł
ä»źæƒłé€šèČšă‚Šă‚©ăƒŹăƒƒăƒˆă‚ąăƒ—ăƒȘă§ç†è§Łă™ă‚‹ăƒ‡ăƒŒă‚żă‚čăƒˆă‚ąăšă—ăŠăźăƒ–ăƒ­ăƒƒă‚Żăƒă‚§ăƒŒăƒłä»źæƒłé€šèČšă‚Šă‚©ăƒŹăƒƒăƒˆă‚ąăƒ—ăƒȘă§ç†è§Łă™ă‚‹ăƒ‡ăƒŒă‚żă‚čăƒˆă‚ąăšă—ăŠăźăƒ–ăƒ­ăƒƒă‚Żăƒă‚§ăƒŒăƒł
ä»źæƒłé€šèČšă‚Šă‚©ăƒŹăƒƒăƒˆă‚ąăƒ—ăƒȘă§ç†è§Łă™ă‚‹ăƒ‡ăƒŒă‚żă‚čăƒˆă‚ąăšă—ăŠăźăƒ–ăƒ­ăƒƒă‚Żăƒă‚§ăƒŒăƒł
 
MBAAă§èŠšăˆă‚‹DBREた性äș‹ăȘおしごべ
MBAAă§èŠšăˆă‚‹DBREた性äș‹ăȘおしごべMBAAă§èŠšăˆă‚‹DBREた性äș‹ăȘおしごべ
MBAAă§èŠšăˆă‚‹DBREた性äș‹ăȘおしごべ
 
ă‚°ăƒ©ăƒ•ăƒ‡ăƒŒă‚żăƒ™ăƒŒă‚čăŻćŠ‚äœ•ă«è‡Ș然蚀èȘžă‚’ç†è§Łă™ă‚‹ă‹?
ă‚°ăƒ©ăƒ•ăƒ‡ăƒŒă‚żăƒ™ăƒŒă‚čăŻćŠ‚äœ•ă«è‡Ș然蚀èȘžă‚’ç†è§Łă™ă‚‹ă‹?ă‚°ăƒ©ăƒ•ăƒ‡ăƒŒă‚żăƒ™ăƒŒă‚čăŻćŠ‚äœ•ă«è‡Ș然蚀èȘžă‚’ç†è§Łă™ă‚‹ă‹?
ă‚°ăƒ©ăƒ•ăƒ‡ăƒŒă‚żăƒ™ăƒŒă‚čăŻćŠ‚äœ•ă«è‡Ș然蚀èȘžă‚’ç†è§Łă™ă‚‹ă‹?
 
DBREă‹ă‚‰ć§‹ă‚ă‚‹ăƒ‡ăƒŒă‚żăƒ™ăƒŒă‚čăƒ—ăƒ©ăƒƒăƒˆăƒ•ă‚©ăƒŒăƒ 
DBREă‹ă‚‰ć§‹ă‚ă‚‹ăƒ‡ăƒŒă‚żăƒ™ăƒŒă‚čăƒ—ăƒ©ăƒƒăƒˆăƒ•ă‚©ăƒŒăƒ DBREă‹ă‚‰ć§‹ă‚ă‚‹ăƒ‡ăƒŒă‚żăƒ™ăƒŒă‚čăƒ—ăƒ©ăƒƒăƒˆăƒ•ă‚©ăƒŒăƒ 
DBREă‹ă‚‰ć§‹ă‚ă‚‹ăƒ‡ăƒŒă‚żăƒ™ăƒŒă‚čăƒ—ăƒ©ăƒƒăƒˆăƒ•ă‚©ăƒŒăƒ 
 
SQL Server ă‚šăƒłă‚žăƒ‹ă‚ąăźăŸă‚ăźă‚łăƒłăƒ†ăƒŠć…„é–€
SQL Server ă‚šăƒłă‚žăƒ‹ă‚ąăźăŸă‚ăźă‚łăƒłăƒ†ăƒŠć…„é–€SQL Server ă‚šăƒłă‚žăƒ‹ă‚ąăźăŸă‚ăźă‚łăƒłăƒ†ăƒŠć…„é–€
SQL Server ă‚šăƒłă‚žăƒ‹ă‚ąăźăŸă‚ăźă‚łăƒłăƒ†ăƒŠć…„é–€
 
Lunch & Learn, AWS NoSQL Services
Lunch & Learn, AWS NoSQL ServicesLunch & Learn, AWS NoSQL Services
Lunch & Learn, AWS NoSQL Services
 
db tech showcase2019ă‚ȘăƒŒăƒ—ăƒ‹ăƒłă‚°ă‚»ăƒƒă‚·ăƒ§ăƒł @ æŁźç”° 俊擉
db tech showcase2019ă‚ȘăƒŒăƒ—ăƒ‹ăƒłă‚°ă‚»ăƒƒă‚·ăƒ§ăƒł @ æŁźç”° 俊擉 db tech showcase2019ă‚ȘăƒŒăƒ—ăƒ‹ăƒłă‚°ă‚»ăƒƒă‚·ăƒ§ăƒł @ æŁźç”° 俊擉
db tech showcase2019ă‚ȘăƒŒăƒ—ăƒ‹ăƒłă‚°ă‚»ăƒƒă‚·ăƒ§ăƒł @ æŁźç”° 俊擉
 
db tech showcase2019 ă‚ȘăƒŒăƒ—ăƒ‹ăƒłă‚°ă‚»ăƒƒă‚·ăƒ§ăƒł @ çŸłć· 雅äčŸ
db tech showcase2019 ă‚ȘăƒŒăƒ—ăƒ‹ăƒłă‚°ă‚»ăƒƒă‚·ăƒ§ăƒł @ çŸłć· 雅äčŸdb tech showcase2019 ă‚ȘăƒŒăƒ—ăƒ‹ăƒłă‚°ă‚»ăƒƒă‚·ăƒ§ăƒł @ çŸłć· 雅äčŸ
db tech showcase2019 ă‚ȘăƒŒăƒ—ăƒ‹ăƒłă‚°ă‚»ăƒƒă‚·ăƒ§ăƒł @ çŸłć· 雅äčŸ
 
db tech showcase2019 ă‚ȘăƒŒăƒ—ăƒ‹ăƒłă‚°ă‚»ăƒƒă‚·ăƒ§ăƒł @ ăƒžă‚€ăƒŠăƒŒăƒ»ă‚ąăƒŹăƒłăƒ»ăƒ‘ăƒŒă‚«ăƒŒ
db tech showcase2019 ă‚ȘăƒŒăƒ—ăƒ‹ăƒłă‚°ă‚»ăƒƒă‚·ăƒ§ăƒł @ ăƒžă‚€ăƒŠăƒŒăƒ»ă‚ąăƒŹăƒłăƒ»ăƒ‘ăƒŒă‚«ăƒŒ db tech showcase2019 ă‚ȘăƒŒăƒ—ăƒ‹ăƒłă‚°ă‚»ăƒƒă‚·ăƒ§ăƒł @ ăƒžă‚€ăƒŠăƒŒăƒ»ă‚ąăƒŹăƒłăƒ»ăƒ‘ăƒŒă‚«ăƒŒ
db tech showcase2019 ă‚ȘăƒŒăƒ—ăƒ‹ăƒłă‚°ă‚»ăƒƒă‚·ăƒ§ăƒł @ ăƒžă‚€ăƒŠăƒŒăƒ»ă‚ąăƒŹăƒłăƒ»ăƒ‘ăƒŒă‚«ăƒŒ
 
難しいケプăƒȘă‚±ăƒŒă‚·ăƒ§ăƒłç§»èĄŒă€æ‰‹è»œă«è©Šă—ăŠăżăŸă›ă‚“ă‹ïŒŸ
難しいケプăƒȘă‚±ăƒŒă‚·ăƒ§ăƒłç§»èĄŒă€æ‰‹è»œă«è©Šă—ăŠăżăŸă›ă‚“ă‹ïŒŸé›Łă—ă„ă‚ąăƒ—ăƒȘă‚±ăƒŒă‚·ăƒ§ăƒłç§»èĄŒă€æ‰‹è»œă«è©Šă—ăŠăżăŸă›ă‚“ă‹ïŒŸ
難しいケプăƒȘă‚±ăƒŒă‚·ăƒ§ăƒłç§»èĄŒă€æ‰‹è»œă«è©Šă—ăŠăżăŸă›ă‚“ă‹ïŒŸ
 
Attunityăźă‚œăƒȘăƒ„ăƒŒă‚·ăƒ§ăƒłăšç•°çšźăƒ‡ăƒŒă‚żăƒ™ăƒŒă‚čăƒ»ă‚Żăƒ©ă‚Šăƒ‰ç§»èĄŒäș‹äŸ‹ăźă”çŽč介
Attunityăźă‚œăƒȘăƒ„ăƒŒă‚·ăƒ§ăƒłăšç•°çšźăƒ‡ăƒŒă‚żăƒ™ăƒŒă‚čăƒ»ă‚Żăƒ©ă‚Šăƒ‰ç§»èĄŒäș‹äŸ‹ăźă”çŽč介Attunityăźă‚œăƒȘăƒ„ăƒŒă‚·ăƒ§ăƒłăšç•°çšźăƒ‡ăƒŒă‚żăƒ™ăƒŒă‚čăƒ»ă‚Żăƒ©ă‚Šăƒ‰ç§»èĄŒäș‹äŸ‹ăźă”çŽč介
Attunityăźă‚œăƒȘăƒ„ăƒŒă‚·ăƒ§ăƒłăšç•°çšźăƒ‡ăƒŒă‚żăƒ™ăƒŒă‚čăƒ»ă‚Żăƒ©ă‚Šăƒ‰ç§»èĄŒäș‹äŸ‹ăźă”çŽč介
 
ăăźăƒ‡ăƒŒă‚żăƒ™ăƒŒă‚čă€ă‚Żăƒ©ă‚Šăƒ‰ă§äœżăŁăŠăżăŸă›ă‚“ă‹ïŒŸ
ăăźăƒ‡ăƒŒă‚żăƒ™ăƒŒă‚čă€ă‚Żăƒ©ă‚Šăƒ‰ă§äœżăŁăŠăżăŸă›ă‚“ă‹ïŒŸăăźăƒ‡ăƒŒă‚żăƒ™ăƒŒă‚čă€ă‚Żăƒ©ă‚Šăƒ‰ă§äœżăŁăŠăżăŸă›ă‚“ă‹ïŒŸ
ăăźăƒ‡ăƒŒă‚żăƒ™ăƒŒă‚čă€ă‚Żăƒ©ă‚Šăƒ‰ă§äœżăŁăŠăżăŸă›ă‚“ă‹ïŒŸ
 
ă‚łăƒąăƒ‡ă‚Łăƒ†ă‚Łă‚”ăƒŒăƒăƒŒïŒ“ć°ă§äœœă‚‹é«˜é€Ÿć‡Šç† â€œăƒă‚€ăƒ‘ăƒŒăƒ»ă‚łăƒłăƒăƒŒă‚žăƒ‰ăƒ»ăƒ‡ăƒŒă‚żăƒ™ăƒŒă‚čăƒ»ă‚€ăƒłăƒ•ăƒ©ă‚čăƒˆăƒ©ă‚ŻăƒăƒŁăƒŒïŒˆHCDI” ă‚·ă‚čテム『Insight Qube』...
ă‚łăƒąăƒ‡ă‚Łăƒ†ă‚Łă‚”ăƒŒăƒăƒŒïŒ“ć°ă§äœœă‚‹é«˜é€Ÿć‡Šç† â€œăƒă‚€ăƒ‘ăƒŒăƒ»ă‚łăƒłăƒăƒŒă‚žăƒ‰ăƒ»ăƒ‡ăƒŒă‚żăƒ™ăƒŒă‚čăƒ»ă‚€ăƒłăƒ•ăƒ©ă‚čăƒˆăƒ©ă‚ŻăƒăƒŁăƒŒïŒˆHCDI” ă‚·ă‚čテム『Insight Qube』...ă‚łăƒąăƒ‡ă‚Łăƒ†ă‚Łă‚”ăƒŒăƒăƒŒïŒ“ć°ă§äœœă‚‹é«˜é€Ÿć‡Šç† â€œăƒă‚€ăƒ‘ăƒŒăƒ»ă‚łăƒłăƒăƒŒă‚žăƒ‰ăƒ»ăƒ‡ăƒŒă‚żăƒ™ăƒŒă‚čăƒ»ă‚€ăƒłăƒ•ăƒ©ă‚čăƒˆăƒ©ă‚ŻăƒăƒŁăƒŒïŒˆHCDI” ă‚·ă‚čテム『Insight Qube』...
ă‚łăƒąăƒ‡ă‚Łăƒ†ă‚Łă‚”ăƒŒăƒăƒŒïŒ“ć°ă§äœœă‚‹é«˜é€Ÿć‡Šç† â€œăƒă‚€ăƒ‘ăƒŒăƒ»ă‚łăƒłăƒăƒŒă‚žăƒ‰ăƒ»ăƒ‡ăƒŒă‚żăƒ™ăƒŒă‚čăƒ»ă‚€ăƒłăƒ•ăƒ©ă‚čăƒˆăƒ©ă‚ŻăƒăƒŁăƒŒïŒˆHCDI” ă‚·ă‚čテム『Insight Qube』...
 
耇数DBăźăƒăƒƒă‚Żă‚ąăƒƒăƒ—ăƒ»ćˆ‡ă‚Šæˆ»ă—é‹ç”šæ‰‹é †ăŒç•°ăȘăŁăŠć€§ć€‰ïŒŸïŒé‹ç”šæ€§ăźć€§ćč…æ”čć–„ă€ăăźć…ˆă«ă€‚ă€‚
耇数DBăźăƒăƒƒă‚Żă‚ąăƒƒăƒ—ăƒ»ćˆ‡ă‚Šæˆ»ă—é‹ç”šæ‰‹é †ăŒç•°ăȘăŁăŠć€§ć€‰ïŒŸïŒé‹ç”šæ€§ăźć€§ćč…æ”čć–„ă€ăăźć…ˆă«ă€‚ă€‚ 耇数DBăźăƒăƒƒă‚Żă‚ąăƒƒăƒ—ăƒ»ćˆ‡ă‚Šæˆ»ă—é‹ç”šæ‰‹é †ăŒç•°ăȘăŁăŠć€§ć€‰ïŒŸïŒé‹ç”šæ€§ăźć€§ćč…æ”čć–„ă€ăăźć…ˆă«ă€‚ă€‚
耇数DBăźăƒăƒƒă‚Żă‚ąăƒƒăƒ—ăƒ»ćˆ‡ă‚Šæˆ»ă—é‹ç”šæ‰‹é †ăŒç•°ăȘăŁăŠć€§ć€‰ïŒŸïŒé‹ç”šæ€§ăźć€§ćč…æ”čć–„ă€ăăźć…ˆă«ă€‚ă€‚
 
Attunityç€Ÿăźă‚œăƒȘăƒ„ăƒŒă‚·ăƒ§ăƒłăźæ—„æœŹć›œć†…ć€–é©ç”šäș‹äŸ‹ćŠăłăƒ­ăƒŒăƒ‰ăƒžăƒƒăƒ—çŽč介[ATTUNITY & ă‚€ăƒłă‚”ă‚€ăƒˆăƒ†ă‚ŻăƒŽăƒ­ă‚žăƒŒ IoT / Big Data フ...
Attunityç€Ÿăźă‚œăƒȘăƒ„ăƒŒă‚·ăƒ§ăƒłăźæ—„æœŹć›œć†…ć€–é©ç”šäș‹äŸ‹ćŠăłăƒ­ăƒŒăƒ‰ăƒžăƒƒăƒ—çŽč介[ATTUNITY & ă‚€ăƒłă‚”ă‚€ăƒˆăƒ†ă‚ŻăƒŽăƒ­ă‚žăƒŒ IoT / Big Data フ...Attunityç€Ÿăźă‚œăƒȘăƒ„ăƒŒă‚·ăƒ§ăƒłăźæ—„æœŹć›œć†…ć€–é©ç”šäș‹äŸ‹ćŠăłăƒ­ăƒŒăƒ‰ăƒžăƒƒăƒ—çŽč介[ATTUNITY & ă‚€ăƒłă‚”ă‚€ăƒˆăƒ†ă‚ŻăƒŽăƒ­ă‚žăƒŒ IoT / Big Data フ...
Attunityç€Ÿăźă‚œăƒȘăƒ„ăƒŒă‚·ăƒ§ăƒłăźæ—„æœŹć›œć†…ć€–é©ç”šäș‹äŸ‹ćŠăłăƒ­ăƒŒăƒ‰ăƒžăƒƒăƒ—çŽč介[ATTUNITY & ă‚€ăƒłă‚”ă‚€ăƒˆăƒ†ă‚ŻăƒŽăƒ­ă‚žăƒŒ IoT / Big Data フ...
 
ăƒŹă‚Źă‚·ăƒŒă«ćŸ‹ă‚‚ă‚ŒăŸăƒ‡ăƒŒă‚żă‚’ăƒȘă‚ąăƒ«ă‚żă‚€ăƒ ă§ă‚Żăƒ©ă‚Šăƒ‰ăž [ATTUNITY & ă‚€ăƒłă‚”ă‚€ăƒˆăƒ†ă‚ŻăƒŽăƒ­ă‚žăƒŒ IoT / Big Data ăƒ•ă‚©ăƒŒăƒ©ăƒ  2018]
ăƒŹă‚Źă‚·ăƒŒă«ćŸ‹ă‚‚ă‚ŒăŸăƒ‡ăƒŒă‚żă‚’ăƒȘă‚ąăƒ«ă‚żă‚€ăƒ ă§ă‚Żăƒ©ă‚Šăƒ‰ăž [ATTUNITY & ă‚€ăƒłă‚”ă‚€ăƒˆăƒ†ă‚ŻăƒŽăƒ­ă‚žăƒŒ IoT / Big Data ăƒ•ă‚©ăƒŒăƒ©ăƒ  2018]ăƒŹă‚Źă‚·ăƒŒă«ćŸ‹ă‚‚ă‚ŒăŸăƒ‡ăƒŒă‚żă‚’ăƒȘă‚ąăƒ«ă‚żă‚€ăƒ ă§ă‚Żăƒ©ă‚Šăƒ‰ăž [ATTUNITY & ă‚€ăƒłă‚”ă‚€ăƒˆăƒ†ă‚ŻăƒŽăƒ­ă‚žăƒŒ IoT / Big Data ăƒ•ă‚©ăƒŒăƒ©ăƒ  2018]
ăƒŹă‚Źă‚·ăƒŒă«ćŸ‹ă‚‚ă‚ŒăŸăƒ‡ăƒŒă‚żă‚’ăƒȘă‚ąăƒ«ă‚żă‚€ăƒ ă§ă‚Żăƒ©ă‚Šăƒ‰ăž [ATTUNITY & ă‚€ăƒłă‚”ă‚€ăƒˆăƒ†ă‚ŻăƒŽăƒ­ă‚žăƒŒ IoT / Big Data ăƒ•ă‚©ăƒŒăƒ©ăƒ  2018]
 

KĂŒrzlich hochgeladen

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

KĂŒrzlich hochgeladen (20)

Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 

[INSIGHT OUT 2011] A17 mastering my sql performance tuning(ronald bradford)

  • 1. Title EffectiveMySQL.com - Its all about Performance and Scalability Wednesday, October 19, 2011
  • 2. Title Mastering MySQL Performance Tuning Ronald Bradford http://ronaldbradford.com Insight Out DB Showcase October 2011 EffectiveMySQL.com - Its all about Performance and Scalability Wednesday, October 19, 2011
  • 3. OBJECTIVE Identify key MySQL instrumentation Detail the MySQL terms to know and use Provide references to further materials EffectiveMySQL.com - Its all about Performance and Scalability Wednesday, October 19, 2011
  • 4. ABOUT AUTHOR Ronald BRADFORD 12 years with MySQL / 22 years with RDBMS Senior Consultant at MySQL Inc (06-08) Consultant for Oracle Corporation (96-99) 7 years presenting MySQL content All time top MySQL blogger Available NOW Published author for consulting Oracle ACE Director http://RonaldBradford.com EffectiveMySQL.com - Its all about Performance and Scalability Wednesday, October 19, 2011
  • 5. MySQL Instrumentation EffectiveMySQL.com - Its all about Performance and Scalability Wednesday, October 19, 2011
  • 6. Key sources ConïŹguration my.cnf (e.g. /etc/my.cnf, /etc/mysql/my.cnf) SHOW [SESSION|GLOBAL] VARIABLES INFORMATION_SCHEMA tables Status SHOW [SESSION|GLOBAL] STATUS INFORMATION_SCHEMA tables EffectiveMySQL.com - Its all about Performance and Scalability Wednesday, October 19, 2011
  • 7. STATUS SHOW STATUS EXAMPLE INFORMATION_SCHEMA.STATUS Example EffectiveMySQL.com - Its all about Performance and Scalability Wednesday, October 19, 2011
  • 8. Key Sources Running Threads SHOW FULL PROCESSLIST INFORMATION_SCHEMA.PROCESSLIST Storage Engines SHOW ENGINE INNODB STATUS Performance Schema PERFORMANCE_SCHEMA EffectiveMySQL.com - Its all about Performance and Scalability Wednesday, October 19, 2011
  • 9. PROCESSLIST PROCESSLIST EXAMPLE INFORMATION_SCHEMA.PROCESSLIST Example EffectiveMySQL.com - Its all about Performance and Scalability Wednesday, October 19, 2011
  • 10. KEY areas System performance SQL performance EffectiveMySQL.com - Its all about Performance and Scalability Wednesday, October 19, 2011
  • 11. Know your system bottleneck EffectiveMySQL.com - Its all about Performance and Scalability Wednesday, October 19, 2011
  • 12. BOTTLENECK Memory Disk CPU Network EffectiveMySQL.com - Its all about Performance and Scalability Wednesday, October 19, 2011
  • 13. MEMORY Basic conïŹguration (Global use) Basic conïŹguration (Thread use) Memory Tables Thread Temporary tables http://dev.mysql.com/doc/refman/5.5/en/memory-use.html EffectiveMySQL.com - Its all about Performance and Scalability Wednesday, October 19, 2011
  • 14. Memory Global Buffer conïŹguration innodb_buffer_pool_size key_buffer_size query_cache_size EffectiveMySQL.com - Its all about Performance and Scalability Wednesday, October 19, 2011
  • 15. InnoDB Size EXAMPLE innodb_buffer_pool_size Was 1 GB, should be 300M+ AWS small instance with 1.7G RAM mysql> source sql/innodb_size.sql +-------------------+----------+---------+----------+ | title | total_mb | data_mb | index_mb | +-------------------+----------+---------+----------+ | Total InnoDB Size | 278 | 171 | 107 | +-------------------+----------+---------+----------+ EffectiveMySQL.com - Its all about Performance and Scalability Wednesday, October 19, 2011
  • 16. InnoDB Size EXAMPLE innodb_buffer_pool_size Was 1 GB, should be 300M+ AWS small instance with 1.7G RAM mysql> source sql/innodb_size.sql +-------------------+----------+---------+----------+ | title | total_mb | data_mb | index_mb | +-------------------+----------+---------+----------+ | Total InnoDB Size | 278 | 171 | 107 | +-------------------+----------+---------+----------+ Rule of 75-80% of RAM is WRONG! EffectiveMySQL.com - Its all about Performance and Scalability Wednesday, October 19, 2011
  • 17. MyISAM Size EXAMPLE key_buffer_size For MyISAM Indexes ONLY Was default in RDS, should be 700M+ Github mysql> source sql/myisam_size.sql +-------------------+----------+---------+----------+ | title | total_mb | data_mb | index_mb | +-------------------+----------+---------+----------+ | Total MyISAM Size | 6140 | 5492 | 648 | +-------------------+----------+---------+----------+ EffectiveMySQL.com - Its all about Performance and Scalability Wednesday, October 19, 2011
  • 18. MyISAM Size EXAMPLE key_buffer_size For MyISAM Indexes ONLY Was default in RDS, should be 700M+ Github mysql> source sql/myisam_size.sql +-------------------+----------+---------+----------+ | title | total_mb | data_mb | index_mb | +-------------------+----------+---------+----------+ | Total MyISAM Size | 6140 | 5492 | 648 | +-------------------+----------+---------+----------+ Needs 1M min for all InnoDB system EffectiveMySQL.com - Its all about Performance and Scalability Wednesday, October 19, 2011
  • 19. memory Thread buffer conïŹguration read_buffer_size read_rnd_buffer_size sort_buffer_size join_buffer_size EffectiveMySQL.com - Its all about Performance and Scalability Wednesday, October 19, 2011
  • 20. memory In Memory Tables max_heap_table_size Internal Temporary Tables MIN(tmp_table_size,max_heap_table_size) EffectiveMySQL.com - Its all about Performance and Scalability Wednesday, October 19, 2011
  • 21. Memory mysqld memory Unbounded Linux process list (ps) $ $ ps -eopid,fname,vsz,rss,user,command | grep -e "RSS" -e "mysql" PID COMMAND VSZ RSS USER COMMAND 13628 grep 3352 820 ubuntu grep -e RSS -e mysql 28082 mysqld 631076 405660 mysql /usr/sbin/mysqld $ ps -eopid,fname,vsz,rss,user,command | grep " mysqld " | grep -v grep | awk '{print $3,$4}' 631076 405660 http://ronaldbradford.com/blog/are-you-monitoring-rss-vsz-2009-03-08/ EffectiveMySQL.com - Its all about Performance and Scalability Wednesday, October 19, 2011
  • 22. MEMORY PROCESSLIST Copying to tmp table EffectiveMySQL.com - Its all about Performance and Scalability Wednesday, October 19, 2011
  • 23. Disk fsync conïŹguration flush_log_at_trx_commit sync_binlog innodb_file_per_table EffectiveMySQL.com - Its all about Performance and Scalability Wednesday, October 19, 2011
  • 24. MySQL DISK Status Variables mysql> show global status like 'innodb%write%'; +-----------------------------------+-----------+ Volumes | Innodb_buffer_pool_write_requests | 821053284 | | Innodb_data_pending_writes | 0 | | Innodb_data_writes | 198400090 | | Innodb_dblwr_writes | 547847 | | Innodb_log_write_requests | 64860531 | | Innodb_log_writes | 188609653 | | Innodb_os_log_pending_writes | 0 | +-----------------------------------+-----------+ mysql> show global status like '%sync%'; +------------------------------+---------+ True Costs | Innodb_data_fsyncs | 6835646 | | Innodb_data_pending_fsyncs | 0 | | Innodb_os_log_fsyncs | 5681432 | | Innodb_os_log_pending_fsyncs | 0 | +------------------------------+---------+ mysql> show global status like 'created_tmp_disk_tables'; +-------------------------+-------+ | Created_tmp_disk_tables | 87 | +-------------------------+-------+ EffectiveMySQL.com - Its all about Performance and Scalability Wednesday, October 19, 2011
  • 25. CPU Query sorting (ORDER BY/GROUP BY) PROCESSLIST Sorting result EXPLAIN Using Filesort EffectiveMySQL.com - Its all about Performance and Scalability Wednesday, October 19, 2011
  • 26. NETWORK STATUS Bytes_sent Bytes_received PROCESSLIST Sending data EffectiveMySQL.com - Its all about Performance and Scalability Wednesday, October 19, 2011
  • 27. SQL EffectiveMySQL.com - Its all about Performance and Scalability Wednesday, October 19, 2011
  • 28. SQL performance Throughput Scalability is about increasing throughout Latency Performance is about improving latency EffectiveMySQL.com - Its all about Performance and Scalability Wednesday, October 19, 2011
  • 29. THROUgHPUT Status Performance Schema TCP/IP EffectiveMySQL.com - Its all about Performance and Scalability Wednesday, October 19, 2011
  • 30. MySQL STATUS EXAMPLE $ status_now.sh --------------------------+------------+ | Variable_name | Value | +--------------------------+------------+ | Bytes_received | 142721 | | Bytes_sent | 85170 | Temporary disk table | Com_admin_commands | 160 | writes per second | Com_delete | 4 | | Com_insert | 12 | | Com_select | 331 | | Com_show_status | 1 | | Com_update | 5 | | Created_tmp_disk_tables | 52 | | Created_tmp_tables | 53 | ... | Qcache_inserts | 331 | | Qcache_hits | 382 | | Qcache_lowmem_prunes | 319 | | Qcache_free_memory | -8600 | ... | Uptime | 1 | +--------------------------+------------+ https://github.com/ronaldbradford/EffectiveMySQL EffectiveMySQL.com - Its all about Performance and Scalability Wednesday, October 19, 2011
  • 31. MySQL STATUS EXAMPLE $ status_now.sh What is happening this second? --------------------------+------------+ | Variable_name | Value | +--------------------------+------------+ | Bytes_received | 142721 | | Bytes_sent | 85170 | Temporary disk table | Com_admin_commands | 160 | writes per second | Com_delete | 4 | | Com_insert | 12 | | Com_select | 331 | | Com_show_status | 1 | | Com_update | 5 | | Created_tmp_disk_tables | 52 | | Created_tmp_tables | 53 | ... | Qcache_inserts | 331 | | Qcache_hits | 382 | | Qcache_lowmem_prunes | 319 | | Qcache_free_memory | -8600 | ... | Uptime | 1 | +--------------------------+------------+ https://github.com/ronaldbradford/EffectiveMySQL EffectiveMySQL.com - Its all about Performance and Scalability Wednesday, October 19, 2011
  • 32. TCP/IP TCP/IP Example EffectiveMySQL.com - Its all about Performance and Scalability Wednesday, October 19, 2011
  • 33. Latency EXPLAIN SHOW CREATE TABLE SHOW INDEXES EffectiveMySQL.com - Its all about Performance and Scalability Wednesday, October 19, 2011
  • 34. EXPLAin EXPLAIN Example EffectiveMySQL.com - Its all about Performance and Scalability Wednesday, October 19, 2011
  • 35. LATENCY Optimizer Trace (Since 5.6.3) Shows all optimizer actions Rows statistics Tree pruning EffectiveMySQL.com - Its all about Performance and Scalability Wednesday, October 19, 2011
  • 36. OPTIMIZER TRACE Optimizer Trace Example EffectiveMySQL.com - Its all about Performance and Scalability Wednesday, October 19, 2011
  • 37. latency performance_schema Introduced in 5.5 Much improved 5.6.3 EffectiveMySQL.com - Its all about Performance and Scalability Wednesday, October 19, 2011
  • 38. Performance schema Performance Schema example EffectiveMySQL.com - Its all about Performance and Scalability Wednesday, October 19, 2011
  • 39. throughput Repeating queries Redundant queries Unnecessary complex queries EffectiveMySQL.com - Its all about Performance and Scalability Wednesday, October 19, 2011
  • 40. throughput MySQL Query Cache Great for high read Poor for read/write EffectiveMySQL.com - Its all about Performance and Scalability Wednesday, October 19, 2011
  • 41. The art of doing more starts with doing less EffectiveMySQL.com - Its all about Performance and Scalability Wednesday, October 19, 2011
  • 42. MYSQL STATUS EXAMPLE ==================================================================================================== Uptime: 12 hours 17 mins Snapshot Period 1: 1 minute interval ==================================================================================================== Variable Delta/Percentage Per Second Total Why are you doing crazy ==================================================================================================== Statement Activity things Mr Framework? ==================================================================================================== SELECT: 16,042 267.37 8,177,050 (46.03%) INSERT: 5,838 97.30 1,826,616 (10.28%) UPDATE: 1,109 18.48 738,546 (4.16%) DELETE: 2,018 33.63 1,374,983 (7.74%) REPLACE: 0 0.00 0 (0.00%) INSERT ... SELECT: 0 0.00 27 (0.00%) REPLACE ... SELECT: 0 0.00 0 (0.00%) Multi UPDATE: 0 0.00 0 (0.00%) Multi DELETE: 0 0.00 0 (0.00%) COMMIT: 5,708 95.13 2,161,232 (12.17%) ROLLBACK: 5,746 95.77 3,485,828 (19.62%) EffectiveMySQL.com - Its all about Performance and Scalability Wednesday, October 19, 2011
  • 43. Row Processing EXAMPLE SELECT name FROM firms WHERE id=727; SELECT name FROM firms WHERE id=758; SELECT name FROM firms WHERE id=857; SELECT name FROM firms WHERE id=740; SELECT id, name SELECT name FROM firms WHERE id=849; FROM firms SELECT name FROM firms WHERE id=839; WHERE id IN (723, 727, 740, 758, 812, 829, 839, SELECT name FROM firms WHERE id=847; 847, 849, 857, 867, 868); SELECT name FROM firms WHERE id=867; SELECT name FROM firms WHERE id=829; SELECT name FROM firms WHERE id=812; SELECT name FROM firms WHERE id=868; SELECT name FROM firms WHERE id=723; http://ronaldbradford.com/blog/optimizing-sql-performance-the-art-of-elimination-2010-07-08/ http://ronaldbradford.com/blog/simple-lessons-in-improving-scalability-2011-02-16/ http://ronaldbradford.com/blog/the-rat-and-the-cat-2006-08-24/ EffectiveMySQL.com - Its all about Performance and Scalability Wednesday, October 19, 2011
  • 44. Row Processing EXAMPLE SELECT name FROM firms WHERE id=727; Classic N+1 problem SELECT name FROM firms WHERE id=758; SELECT name FROM firms WHERE id=857; SELECT name FROM firms WHERE id=740; SELECT id, name SELECT name FROM firms WHERE id=849; FROM firms SELECT name FROM firms WHERE id=839; WHERE id IN (723, 727, 740, 758, 812, 829, 839, SELECT name FROM firms WHERE id=847; 847, 849, 857, 867, 868); SELECT name FROM firms WHERE id=867; SELECT name FROM firms WHERE id=829; SELECT name FROM firms WHERE id=812; SELECT name FROM firms WHERE id=868; SELECT name FROM firms WHERE id=723; http://ronaldbradford.com/blog/optimizing-sql-performance-the-art-of-elimination-2010-07-08/ http://ronaldbradford.com/blog/simple-lessons-in-improving-scalability-2011-02-16/ http://ronaldbradford.com/blog/the-rat-and-the-cat-2006-08-24/ EffectiveMySQL.com - Its all about Performance and Scalability Wednesday, October 19, 2011
  • 45. Row Processing EXAMPLE SET PROFILING=1; SELECT 
 4X longer processing for SHOW PROFILES; every page load +----------+------------+--------------------------------------------------------- | Query_ID | Duration | Query +----------+------------+--------------------------------------------------------- | 1 | 0.00030400 | SELECT name FROM firms WHERE id=727 SELECT 'Sum Individual Queries' AS txt,SUM(DURATI | 2 | 0.00014400 | SELECT name FROM firms WHERE id=758 INFORMATION_SCHEMA.PROFILING WHERE QUERY_ID BETWE | 3 | 0.00014300 | SELECT name FROM firms WHERE id=857 UNION | 4 | 0.00014000 | SELECT name FROM firms WHERE id=740Query',SUM(DURATION) FROM INFORM SELECT 'Combined | 5 | 0.00012300 | SELECT name FROM firms WHERE 13; QUERY_ID = id=849 | 6 | 0.00012200 | SELECT name FROM firms WHERE id=839 +------------------------+------------+ | 7 | 0.00011600 | SELECT name FROM firms WHERE id=847 | txt | total_time | | 8 | 0.00014300 | SELECT name FROM firms WHERE id=867 +------------------------+------------+ | 9 | 0.00013900 | SELECT name FROM firms WHERE id=829Queries | | Sum Individual 0.001311 | | 10 | 0.00014000 | SELECT name FROM firms WHERE Query | Combined id=812 | 0.000311 | | 11 | 0.00012800 | SELECT name FROM firms WHERE id=868 +------------------------+------------+ | 12 | 0.00011700 | SELECT name FROM firms WHERE id=723 | 13 | 0.00031100 | SELECT id, name FROM firms WHERE id IN (723 ... +----------+------------+--------------------------------------------------------- EffectiveMySQL.com - Its all about Performance and Scalability Wednesday, October 19, 2011
  • 46. Row Processing EXAMPLE SET PROFILING=1; SELECT 
 4X longer processing for SHOW PROFILES; every page load +----------+------------+--------------------------------------------------------- | Query_ID | Duration | Query +----------+------------+--------------------------------------------------------- | 1 | 0.00030400 | SELECT name FROM firms WHERE id=727 SELECT 'Sum Individual Queries' AS txt,SUM(DURATI | 2 | 0.00014400 | SELECT name FROM firms WHERE id=758 INFORMATION_SCHEMA.PROFILING WHERE QUERY_ID BETWE | 3 | 0.00014300 | SELECT name FROM firms WHERE id=857 UNION | 4 | 0.00014000 | SELECT name FROM firms WHERE id=740Query',SUM(DURATION) FROM INFORM SELECT 'Combined | 5 | 0.00012300 | SELECT name FROM firms WHERE 13; QUERY_ID = id=849 | 6 | 0.00012200 | SELECT name FROM firms WHERE id=839 +------------------------+------------+ | 7 | 0.00011600 | SELECT name FROM firms WHERE id=847 | txt | total_time | | 8 | 0.00014300 | SELECT name FROM firms WHERE id=867 +------------------------+------------+ | 9 | 0.00013900 | SELECT name FROM firms WHERE id=829Queries | | Sum Individual 0.001311 | | 10 | 0.00014000 | SELECT name FROM firms WHERE Query | Combined id=812 | 0.000311 | | 11 | 0.00012800 | SELECT name FROM firms WHERE id=868 +------------------------+------------+ | 12 | 0.00011700 | SELECT name FROM firms WHERE id=723 | 13 | 0.00031100 | SELECT id, name FROM firms WHERE id IN (723 ... +----------+------------+--------------------------------------------------------- Instant DB Scalability EffectiveMySQL.com - Its all about Performance and Scalability Wednesday, October 19, 2011
  • 47. resources Many principles are straight forward for experienced Oracle resoures Open Source projects Less skilled workforce EffectiveMySQL.com - Its all about Performance and Scalability Wednesday, October 19, 2011
  • 48. Architecture EffectiveMySQL.com - Its all about Performance and Scalability Wednesday, October 19, 2011
  • 49. ARCHITECTure Storage Engines Reducing SQL Monitoring Replication EffectiveMySQL.com - Its all about Performance and Scalability Wednesday, October 19, 2011
  • 50. replication Weakest Link EffectiveMySQL.com - Its all about Performance and Scalability Wednesday, October 19, 2011
  • 51. conclusion MySQL is a relational database Internals are very different Instrumentation is improving in new versions 5.5 GA 5.6 DMR Planet MySQL http://planet.mysql.com EffectiveMySQL.com - Its all about Performance and Scalability Wednesday, October 19, 2011
  • 52. Available NOW http://effectivemysql.com/book/optimizing-sql-statements/ EffectiveMySQL.com - Its all about Performance and Scalability Wednesday, October 19, 2011
  • 53. Ronald Bradford http://effectiveMySQL.com EffectiveMySQL.com - Its all about Performance and Scalability Wednesday, October 19, 2011