SlideShare uma empresa Scribd logo
1 de 21
Baixar para ler offline
MySQL Features
Max Mether
@maxmether
max@skysql.com
17.04.2014 © SkySQL Ab. Commercial in Confidence 1
Who is Max ?
Early days
• 1983 - First version of what would become MySQL
created by Monty Widenius
• 1991 – The platform is EOLd
• 1994 – Open source MySQL is
released
• 1995 – MySQL AB founded
• 1996 – the LAMP stack rulez
17.04.2014
SkySQL Ab 2011 Confidential 3
Sucessful growth
• 1999 Jul – MySQL 3.23. alpha released
• 2000 – InnoDB released as part of MySQL-max
• 2001 Jan – MySQL 3.23 GA
• 2001 Jan – Mårten Mickos joins MySQL as the CEO
• 2003 Mar – MySQL 4.0 GA
• 2004 Oct – MySQL 4.1 GA
17.04.2014
SkySQL Ab 2011 Confidential 4
Volatility
• 2005 Oct – Oracle acquires InnoDB (Innobase)
• 2005 Oct – MySQL 5.0 GA
• 2005 Nov – Pluggable storage engines
• 2008 Jan – MySQL AB acquired by Sun for $1bn
• 2008 Nov – MySQL 5.1 GA
• 2008 Dec – Monty Program founded
• 2008 Dec – XtraDB released
• 2009 Apr – Oracle acquire Sun for $7.4bn
• 2009 Dec – Oracle makes MySQL promises to EU
17.04.2014
SkySQL Ab 2011 Confidential 5
A new beginning?
• 2010 Feb – MariaDB 5.1 alpha released
• 2010 Dec – MySQL 5.5 GA released
• 2011 Sep – Oracle: closed source modules for MySQL
• 2012 Apr – MariaDB 5.5 GA is released
• 2012 Aug – Oracle: closes bugs db and test cases
• 2012 Dec – MariaDB Foundation is announced
• 2013 Feb – MySQL 5.6 GA is released
• 2013 Feb – Fedora and OpenSuSE replace MySQL with
MariaDB in their distributions
17.04.2014
SkySQL Ab 2011 Confidential 6
MySQL Versions through time
17.04.2014
SkySQL Ab 2011 Confidential 7
MySQL AB 3.23 4.0 4.1 5.0 5.1 5.2 6.0
Sun 5.1 5.2 5.4 6.0
Oracle 5.4 5.5 5.6 6.0 5.7
MariaDB 5.1 5.2 5.3 5.5 10.0 10.1
A brief history
• 1983 - First version of what would become MySQL created by Monty
Widenius
• 1995 – MySQL AB founded
• 2001 Jan – Mårten Mickos joins MySQL as the CEO
• 2005 Oct – Oracle acquires InnoDB (Innobase)
• 2008 Jan – MySQL AB acquired by Sun for $1bn
• 2008 Nov – MySQL 5.1 GA
• 2009 Jan – Monty Program is founded
• 2009 Apr – Oracle acquire Sun for $7.4bn
• 2009 Dec – Oracle makes MySQL promises to EU
17.04.2014
8
A new beginning?
• 2010 Feb – MariaDB 5.1 alpha released
• 2010 Dec – MySQL 5.5 GA released
• 2011 Sep – Oracle: closed source modules for MySQL
• 2012 Apr – MariaDB 5.5 GA is released
• 2012 Aug – Oracle: closes bugs db and test cases
• 2012 Dec – MariaDB Foundation is announced
• 2013 Feb – Fedora and OpenSuSE replace MySQL with MariaDB in their
distributions
• 2013 Mar – Slackware, Archware follow
• 2013 April - SkySQL merges with Monty Program
• 2013 June – RHEL announces MariaDB as default
17.04.2014
SkySQL Ab 2011 Confidential 9
MySQL 5.6: InnoDB Performance
• Internal Improvements
– Split kernel mutex
– Efficient buffer pool
• Persistent optimizer statistics
– More accurate statistics
• SSD Optimizations
– 4k, 8k page sizes
– .ibd files outside MySQL data dir
– Separate tablespace for undo log
• Dump and restore warm buffer pool
– Limited disk foot print
MySQL 5.6: InnoDB Features
• Online DDL
– CREATE/DROP INDEX
– Change AUTO_INCREMENT value for a column
– ADD/DROP FOREIGN KEY
– ADD/DROP/RENAME COLUMN
– Change ROW FORMAT, KEY_BLOCK_SIZE for a table
– Change COLUMN NULL, NOT_NULL
• Transportable tablespaces
– FLUSH TABLE test FOR EXPORT;
– ALTER TABLE test DISCARD TABLESPACE;
– ALTER TABLE test IMPORT TABLESPACE;
MySQL 5.6: InnoDB Features
• Fulltext search
– Same syntax as for MyISAM tables
previously
• Memcached plugin
– Key-value access to InnoDB via
memcached API
– Fully transactional
create table quotes
(id int unsigned
auto_increment primary
key,
author varchar(64),
quote varchar(4000),
source varchar(64),
fulltext(quote))
engine=innodb;
select author from quotes
where match(quote) against (‘apple' in natural language mode);
MySQL 5.6: Replication
• GTID (Global Transaction ID)
– Simple to track and compare across replication
hierarchies
– Automatically identify most up-to-date slave
– Easy automatic reconfiguration when master changes
• Replication HA utilities
– mysqlfailover
– mysqlrpladmin
• Multi threaded slaves
– One thread per schema
MySQL 5.6: Replication
• Crash safe slave
– Replication state stored in InnoDB table
– Eliminates risk of replication state information loss
• Optimized row-image
– Only changed data stored
– binlog-row-image=minimal
• Event checksums
– Detects corrupt replication events before applied
– Returns an error
MySQL 5.6: Performance Schema
New Instrumentation
• Statements/Stages
• Table and Index I/O
• Table locks
• Users/Hosts/Accounts
• Network I/O
New Features
• Show contents of Host
cache
• New Summary tables
– Grouped by thread, user,
host, account or object
• Easier configuration
– Start up defaults in my.cnf
– Auto tune
• Reduced overhead
• On by default
MySQL 5.6: Improved Partitioning
• Up to 8k partitions/sub-partitions per table
• Explicit partition selection in queries, DML
(SELECT, INSERT, UPDATE,DELETE, REPLACE,
LOAD DATA, LOAD XML)
• Import/export partitions to/from partitioned
tables to/from non-partitioned tables
MySQL 5.6: Improved Partitioning
MariaDB [employees]> select * from emp_temp order by emp_no limit 10;
+--------+------------+------------+---------------+--------+------------+
| emp_no | birth_date | first_name | last_name | gender | hire_date |
+--------+------------+------------+---------------+--------+------------+
| 10241 | 1958-07-01 | Ortrud | Murillo | M | 1988-06-12 |
| 10245 | 1962-08-23 | Ramalingam | Gente | F | 1985-04-26 |
| 10249 | 1954-06-10 | Marie | Boreale | M | 1991-12-08 |
| 10253 | 1964-11-12 | Zsolt | Salinas | F | 1985-02-21 |
| 10257 | 1957-09-12 | Aiman | Riexinger | M | 1986-08-05 |
| 10261 | 1959-12-25 | Mang | Erie | M | 1993-10-20 |
| 10265 | 1960-12-01 | Ramalingam | Muniz | M | 1989-07-13 |
| 10269 | 1959-10-07 | Taizo | Oxman | F | 1988-07-24 |
| 10273 | 1962-08-29 | Baocai | Lieblein | M | 1985-11-06 |
| 10277 | 1964-08-15 | Isaac | Schwartzbauer | M | 1985-06-16 |
+--------+------------+------------+---------------+--------+------------+
10 rows in set (0.00 sec)
MariaDB [employees]> select * from employees_part partition (p0) order by emp_no limit 10;
+--------+------------+------------+-----------+--------+------------+
| emp_no | birth_date | first_name | last_name | gender | hire_date |
+--------+------------+------------+-----------+--------+------------+
| 1 | 0000-00-00 | max | | M | 0000-00-00 |
+--------+------------+------------+-----------+--------+------------+
1 row in set (0.00 sec)
MySQL 5.6: Improved Partitioning
MariaDB [employees]> alter table employees_part exchange partition p0 with table emp_temp;
Query OK, 0 rows affected (0.14 sec)
MariaDB [employees]> select * from employees_part partition (p0) order by emp_no limit 10;
+--------+------------+------------+---------------+--------+------------+
| emp_no | birth_date | first_name | last_name | gender | hire_date |
+--------+------------+------------+---------------+--------+------------+
| 10241 | 1958-07-01 | Ortrud | Murillo | M | 1988-06-12 |
| 10245 | 1962-08-23 | Ramalingam | Gente | F | 1985-04-26 |
| 10249 | 1954-06-10 | Marie | Boreale | M | 1991-12-08 |
| 10253 | 1964-11-12 | Zsolt | Salinas | F | 1985-02-21 |
| 10257 | 1957-09-12 | Aiman | Riexinger | M | 1986-08-05 |
| 10261 | 1959-12-25 | Mang | Erie | M | 1993-10-20 |
| 10265 | 1960-12-01 | Ramalingam | Muniz | M | 1989-07-13 |
| 10269 | 1959-10-07 | Taizo | Oxman | F | 1988-07-24 |
| 10273 | 1962-08-29 | Baocai | Lieblein | M | 1985-11-06 |
| 10277 | 1964-08-15 | Isaac | Schwartzbauer | M | 1985-06-16 |
+--------+------------+------------+---------------+--------+------------+
10 rows in set (0.00 sec)
MariaDB [employees]> select * from emp_temp order by emp_no limit 10;
+--------+------------+------------+-----------+--------+------------+
| emp_no | birth_date | first_name | last_name | gender | hire_date |
+--------+------------+------------+-----------+--------+------------+
| 1 | 0000-00-00 | max | | M | 0000-00-00 |
+--------+------------+------------+-----------+--------+------------+
1 row in set (0.00 sec)
MySQL 5.6: Optimizer Features
• Subquery Optimizations
• File Sort optimizations
• Index Condition Pushdown
• Batched Key Access
• Multi Range Read
MySQL 5.6 – Hadoop Applier
17.04.2014 © SkySQL Ab. Commercial in Confidence 20
Questions?
Max Mether
@maxmether
max@skysql.com
17.04.2014 © SkySQL Ab. Commercial in Confidence 21

Mais conteúdo relacionado

Mais procurados

Replication features, technologies and 3rd party Extinction
Replication features, technologies and 3rd party ExtinctionReplication features, technologies and 3rd party Extinction
Replication features, technologies and 3rd party Extinction
Ben Mildren
 
MySQL 5.6 - Operations and Diagnostics Improvements
MySQL 5.6 - Operations and Diagnostics ImprovementsMySQL 5.6 - Operations and Diagnostics Improvements
MySQL 5.6 - Operations and Diagnostics Improvements
Morgan Tocker
 
The InnoDB Storage Engine for MySQL
The InnoDB Storage Engine for MySQLThe InnoDB Storage Engine for MySQL
The InnoDB Storage Engine for MySQL
Morgan Tocker
 
MHA: Getting started & moving past quirks percona live santa clara 2013
MHA: Getting started & moving past quirks percona live santa clara 2013MHA: Getting started & moving past quirks percona live santa clara 2013
MHA: Getting started & moving past quirks percona live santa clara 2013
Colin Charles
 
A26 MariaDB : The New&Implemented MySQL Branch by Colin Charles
A26 MariaDB : The New&Implemented MySQL Branch by Colin CharlesA26 MariaDB : The New&Implemented MySQL Branch by Colin Charles
A26 MariaDB : The New&Implemented MySQL Branch by Colin Charles
Insight Technology, Inc.
 

Mais procurados (20)

Replication features, technologies and 3rd party Extinction
Replication features, technologies and 3rd party ExtinctionReplication features, technologies and 3rd party Extinction
Replication features, technologies and 3rd party Extinction
 
MySQL in the Hosted Cloud - Percona Live 2015
MySQL in the Hosted Cloud - Percona Live 2015MySQL in the Hosted Cloud - Percona Live 2015
MySQL in the Hosted Cloud - Percona Live 2015
 
MySQL 5.7 NEW FEATURES, BETTER PERFORMANCE, AND THINGS THAT WILL BREAK -- Mid...
MySQL 5.7 NEW FEATURES, BETTER PERFORMANCE, AND THINGS THAT WILL BREAK -- Mid...MySQL 5.7 NEW FEATURES, BETTER PERFORMANCE, AND THINGS THAT WILL BREAK -- Mid...
MySQL 5.7 NEW FEATURES, BETTER PERFORMANCE, AND THINGS THAT WILL BREAK -- Mid...
 
Upgrade to MySQL 5.7 and latest news planned for MySQL 8
Upgrade to MySQL 5.7 and latest news planned for MySQL 8Upgrade to MySQL 5.7 and latest news planned for MySQL 8
Upgrade to MySQL 5.7 and latest news planned for MySQL 8
 
Dd and atomic ddl pl17 dublin
Dd and atomic ddl pl17 dublinDd and atomic ddl pl17 dublin
Dd and atomic ddl pl17 dublin
 
MySQL 5.6 - Operations and Diagnostics Improvements
MySQL 5.6 - Operations and Diagnostics ImprovementsMySQL 5.6 - Operations and Diagnostics Improvements
MySQL 5.6 - Operations and Diagnostics Improvements
 
The InnoDB Storage Engine for MySQL
The InnoDB Storage Engine for MySQLThe InnoDB Storage Engine for MySQL
The InnoDB Storage Engine for MySQL
 
Maria db 10 and the mariadb foundation(colin)
Maria db 10 and the mariadb foundation(colin)Maria db 10 and the mariadb foundation(colin)
Maria db 10 and the mariadb foundation(colin)
 
MHA: Getting started & moving past quirks percona live santa clara 2013
MHA: Getting started & moving past quirks percona live santa clara 2013MHA: Getting started & moving past quirks percona live santa clara 2013
MHA: Getting started & moving past quirks percona live santa clara 2013
 
Percona Server for MySQL 8.0 @ Percona Live 2019
Percona Server for MySQL 8.0 @ Percona Live 2019Percona Server for MySQL 8.0 @ Percona Live 2019
Percona Server for MySQL 8.0 @ Percona Live 2019
 
MySQL Ecosystem in 2018
MySQL Ecosystem in 2018MySQL Ecosystem in 2018
MySQL Ecosystem in 2018
 
Optimizing MySQL
Optimizing MySQLOptimizing MySQL
Optimizing MySQL
 
A26 MariaDB : The New&Implemented MySQL Branch by Colin Charles
A26 MariaDB : The New&Implemented MySQL Branch by Colin CharlesA26 MariaDB : The New&Implemented MySQL Branch by Colin Charles
A26 MariaDB : The New&Implemented MySQL Branch by Colin Charles
 
Databases in the hosted cloud
Databases in the hosted cloudDatabases in the hosted cloud
Databases in the hosted cloud
 
Ansible MySQL MHA
Ansible MySQL MHAAnsible MySQL MHA
Ansible MySQL MHA
 
MySQL Storage Engines - which do you use? TokuDB? MyRocks? InnoDB?
MySQL Storage Engines - which do you use? TokuDB? MyRocks? InnoDB?MySQL Storage Engines - which do you use? TokuDB? MyRocks? InnoDB?
MySQL Storage Engines - which do you use? TokuDB? MyRocks? InnoDB?
 
ProxySQL para mysql
ProxySQL para mysqlProxySQL para mysql
ProxySQL para mysql
 
MariaDB: The 2012 Edition
MariaDB: The 2012 EditionMariaDB: The 2012 Edition
MariaDB: The 2012 Edition
 
Easy MySQL Replication Setup and Troubleshooting
Easy MySQL Replication Setup and TroubleshootingEasy MySQL Replication Setup and Troubleshooting
Easy MySQL Replication Setup and Troubleshooting
 
MySQL Cloud Service Deep Dive
MySQL Cloud Service Deep DiveMySQL Cloud Service Deep Dive
MySQL Cloud Service Deep Dive
 

Destaque (8)

MySQL Features & Implementation
MySQL Features & ImplementationMySQL Features & Implementation
MySQL Features & Implementation
 
Oracle mysql comparison
Oracle mysql comparisonOracle mysql comparison
Oracle mysql comparison
 
Oracle vs. MS SQL Server
Oracle vs. MS SQL ServerOracle vs. MS SQL Server
Oracle vs. MS SQL Server
 
Oracle & sql server comparison 2
Oracle & sql server comparison 2Oracle & sql server comparison 2
Oracle & sql server comparison 2
 
Difference Between Sql - MySql and Oracle
Difference Between Sql - MySql and OracleDifference Between Sql - MySql and Oracle
Difference Between Sql - MySql and Oracle
 
MySQL Atchitecture and Concepts
MySQL Atchitecture and ConceptsMySQL Atchitecture and Concepts
MySQL Atchitecture and Concepts
 
Introduction to MySQL
Introduction to MySQLIntroduction to MySQL
Introduction to MySQL
 
Oracle vs. sql server terminado
Oracle vs. sql server   terminadoOracle vs. sql server   terminado
Oracle vs. sql server terminado
 

Semelhante a MySQL Features

iloug2015.Mysql.for.oracle.dba.V2
iloug2015.Mysql.for.oracle.dba.V2iloug2015.Mysql.for.oracle.dba.V2
iloug2015.Mysql.for.oracle.dba.V2
Baruch Osoveskiy
 

Semelhante a MySQL Features (20)

SkySQL Cloud MySQL MariaDB
SkySQL Cloud MySQL MariaDBSkySQL Cloud MySQL MariaDB
SkySQL Cloud MySQL MariaDB
 
2012 09 MariaDB Boston Meetup - MariaDB 是 Mysql 的替代者吗
2012 09 MariaDB Boston Meetup - MariaDB 是 Mysql 的替代者吗2012 09 MariaDB Boston Meetup - MariaDB 是 Mysql 的替代者吗
2012 09 MariaDB Boston Meetup - MariaDB 是 Mysql 的替代者吗
 
MySQL Ecosystem in 2020
MySQL Ecosystem in 2020MySQL Ecosystem in 2020
MySQL Ecosystem in 2020
 
The MySQL Server Ecosystem in 2016
The MySQL Server Ecosystem in 2016The MySQL Server Ecosystem in 2016
The MySQL Server Ecosystem in 2016
 
My sql 56_roadmap_april2012
My sql 56_roadmap_april2012My sql 56_roadmap_april2012
My sql 56_roadmap_april2012
 
What is MariaDB Server 10.3?
What is MariaDB Server 10.3?What is MariaDB Server 10.3?
What is MariaDB Server 10.3?
 
Modern solutions for modern database load: improvements in the latest MariaDB...
Modern solutions for modern database load: improvements in the latest MariaDB...Modern solutions for modern database load: improvements in the latest MariaDB...
Modern solutions for modern database load: improvements in the latest MariaDB...
 
"Advanced MySQL 5 Tuning" by Michael Monty Widenius @ eLiberatica 2007
"Advanced MySQL 5 Tuning" by Michael Monty Widenius @ eLiberatica 2007"Advanced MySQL 5 Tuning" by Michael Monty Widenius @ eLiberatica 2007
"Advanced MySQL 5 Tuning" by Michael Monty Widenius @ eLiberatica 2007
 
NoSQL on MySQL - MySQL Document Store by Vadim Tkachenko
NoSQL on MySQL - MySQL Document Store by Vadim TkachenkoNoSQL on MySQL - MySQL Document Store by Vadim Tkachenko
NoSQL on MySQL - MySQL Document Store by Vadim Tkachenko
 
MySQL Ecosystem in 2023 - FOSSASIA'23 - Alkin.pptx.pdf
MySQL Ecosystem in 2023 - FOSSASIA'23 - Alkin.pptx.pdfMySQL Ecosystem in 2023 - FOSSASIA'23 - Alkin.pptx.pdf
MySQL Ecosystem in 2023 - FOSSASIA'23 - Alkin.pptx.pdf
 
MySQL 8.0.1 DMR
MySQL 8.0.1 DMRMySQL 8.0.1 DMR
MySQL 8.0.1 DMR
 
Data Warehouse Logical Design using Mysql
Data Warehouse Logical Design using MysqlData Warehouse Logical Design using Mysql
Data Warehouse Logical Design using Mysql
 
Fudcon talk.ppt
Fudcon talk.pptFudcon talk.ppt
Fudcon talk.ppt
 
MariaDB pres at LeMUG
MariaDB pres at LeMUGMariaDB pres at LeMUG
MariaDB pres at LeMUG
 
iloug2015.Mysql.for.oracle.dba.V2
iloug2015.Mysql.for.oracle.dba.V2iloug2015.Mysql.for.oracle.dba.V2
iloug2015.Mysql.for.oracle.dba.V2
 
[db tech showcase Tokyo 2014] B15: Scalability with MariaDB and MaxScale by ...
[db tech showcase Tokyo 2014] B15: Scalability with MariaDB and MaxScale  by ...[db tech showcase Tokyo 2014] B15: Scalability with MariaDB and MaxScale  by ...
[db tech showcase Tokyo 2014] B15: Scalability with MariaDB and MaxScale by ...
 
Star schema my sql
Star schema   my sqlStar schema   my sql
Star schema my sql
 
Oracle Exadata Cloud Services guide from practical experience - OOW19
Oracle Exadata Cloud Services guide from practical experience - OOW19Oracle Exadata Cloud Services guide from practical experience - OOW19
Oracle Exadata Cloud Services guide from practical experience - OOW19
 
MySQL 开发
MySQL 开发MySQL 开发
MySQL 开发
 
Fosdem2014 MariaDB CONNECT Storage Engine
Fosdem2014 MariaDB CONNECT Storage EngineFosdem2014 MariaDB CONNECT Storage Engine
Fosdem2014 MariaDB CONNECT Storage Engine
 

Mais de Great Wide Open

Mais de Great Wide Open (20)

The Little Meetup That Could
The Little Meetup That CouldThe Little Meetup That Could
The Little Meetup That Could
 
Lightning Talk - 5 Hacks to Getting the Job of Your Dreams
Lightning Talk - 5 Hacks to Getting the Job of Your DreamsLightning Talk - 5 Hacks to Getting the Job of Your Dreams
Lightning Talk - 5 Hacks to Getting the Job of Your Dreams
 
Breaking Free from Proprietary Gravitational Pull
Breaking Free from Proprietary Gravitational PullBreaking Free from Proprietary Gravitational Pull
Breaking Free from Proprietary Gravitational Pull
 
Dealing with Unstructured Data: Scaling to Infinity
Dealing with Unstructured Data: Scaling to InfinityDealing with Unstructured Data: Scaling to Infinity
Dealing with Unstructured Data: Scaling to Infinity
 
You Don't Know Node: Quick Intro to 6 Core Features
You Don't Know Node: Quick Intro to 6 Core FeaturesYou Don't Know Node: Quick Intro to 6 Core Features
You Don't Know Node: Quick Intro to 6 Core Features
 
Hidden Features in HTTP
Hidden Features in HTTPHidden Features in HTTP
Hidden Features in HTTP
 
Using Cryptography Properly in Applications
Using Cryptography Properly in ApplicationsUsing Cryptography Properly in Applications
Using Cryptography Properly in Applications
 
Lightning Talk - Getting Students Involved In Open Source
Lightning Talk - Getting Students Involved In Open SourceLightning Talk - Getting Students Involved In Open Source
Lightning Talk - Getting Students Involved In Open Source
 
You have Selenium... Now what?
You have Selenium... Now what?You have Selenium... Now what?
You have Selenium... Now what?
 
How Constraints Cultivate Growth
How Constraints Cultivate GrowthHow Constraints Cultivate Growth
How Constraints Cultivate Growth
 
Inner Source 101
Inner Source 101Inner Source 101
Inner Source 101
 
Running MySQL on Linux
Running MySQL on LinuxRunning MySQL on Linux
Running MySQL on Linux
 
Search is the new UI
Search is the new UISearch is the new UI
Search is the new UI
 
Troubleshooting Hadoop: Distributed Debugging
Troubleshooting Hadoop: Distributed DebuggingTroubleshooting Hadoop: Distributed Debugging
Troubleshooting Hadoop: Distributed Debugging
 
The Current Messaging Landscape
The Current Messaging LandscapeThe Current Messaging Landscape
The Current Messaging Landscape
 
Apache httpd v2.4
Apache httpd v2.4Apache httpd v2.4
Apache httpd v2.4
 
Understanding Open Source Class 101
Understanding Open Source Class 101Understanding Open Source Class 101
Understanding Open Source Class 101
 
Thinking in Git
Thinking in GitThinking in Git
Thinking in Git
 
Antifragile Design
Antifragile DesignAntifragile Design
Antifragile Design
 
Elasticsearch for SQL Users
Elasticsearch for SQL UsersElasticsearch for SQL Users
Elasticsearch for SQL Users
 

Último

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Último (20)

How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
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
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
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
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 

MySQL Features

  • 1. MySQL Features Max Mether @maxmether max@skysql.com 17.04.2014 © SkySQL Ab. Commercial in Confidence 1
  • 3. Early days • 1983 - First version of what would become MySQL created by Monty Widenius • 1991 – The platform is EOLd • 1994 – Open source MySQL is released • 1995 – MySQL AB founded • 1996 – the LAMP stack rulez 17.04.2014 SkySQL Ab 2011 Confidential 3
  • 4. Sucessful growth • 1999 Jul – MySQL 3.23. alpha released • 2000 – InnoDB released as part of MySQL-max • 2001 Jan – MySQL 3.23 GA • 2001 Jan – Mårten Mickos joins MySQL as the CEO • 2003 Mar – MySQL 4.0 GA • 2004 Oct – MySQL 4.1 GA 17.04.2014 SkySQL Ab 2011 Confidential 4
  • 5. Volatility • 2005 Oct – Oracle acquires InnoDB (Innobase) • 2005 Oct – MySQL 5.0 GA • 2005 Nov – Pluggable storage engines • 2008 Jan – MySQL AB acquired by Sun for $1bn • 2008 Nov – MySQL 5.1 GA • 2008 Dec – Monty Program founded • 2008 Dec – XtraDB released • 2009 Apr – Oracle acquire Sun for $7.4bn • 2009 Dec – Oracle makes MySQL promises to EU 17.04.2014 SkySQL Ab 2011 Confidential 5
  • 6. A new beginning? • 2010 Feb – MariaDB 5.1 alpha released • 2010 Dec – MySQL 5.5 GA released • 2011 Sep – Oracle: closed source modules for MySQL • 2012 Apr – MariaDB 5.5 GA is released • 2012 Aug – Oracle: closes bugs db and test cases • 2012 Dec – MariaDB Foundation is announced • 2013 Feb – MySQL 5.6 GA is released • 2013 Feb – Fedora and OpenSuSE replace MySQL with MariaDB in their distributions 17.04.2014 SkySQL Ab 2011 Confidential 6
  • 7. MySQL Versions through time 17.04.2014 SkySQL Ab 2011 Confidential 7 MySQL AB 3.23 4.0 4.1 5.0 5.1 5.2 6.0 Sun 5.1 5.2 5.4 6.0 Oracle 5.4 5.5 5.6 6.0 5.7 MariaDB 5.1 5.2 5.3 5.5 10.0 10.1
  • 8. A brief history • 1983 - First version of what would become MySQL created by Monty Widenius • 1995 – MySQL AB founded • 2001 Jan – Mårten Mickos joins MySQL as the CEO • 2005 Oct – Oracle acquires InnoDB (Innobase) • 2008 Jan – MySQL AB acquired by Sun for $1bn • 2008 Nov – MySQL 5.1 GA • 2009 Jan – Monty Program is founded • 2009 Apr – Oracle acquire Sun for $7.4bn • 2009 Dec – Oracle makes MySQL promises to EU 17.04.2014 8
  • 9. A new beginning? • 2010 Feb – MariaDB 5.1 alpha released • 2010 Dec – MySQL 5.5 GA released • 2011 Sep – Oracle: closed source modules for MySQL • 2012 Apr – MariaDB 5.5 GA is released • 2012 Aug – Oracle: closes bugs db and test cases • 2012 Dec – MariaDB Foundation is announced • 2013 Feb – Fedora and OpenSuSE replace MySQL with MariaDB in their distributions • 2013 Mar – Slackware, Archware follow • 2013 April - SkySQL merges with Monty Program • 2013 June – RHEL announces MariaDB as default 17.04.2014 SkySQL Ab 2011 Confidential 9
  • 10. MySQL 5.6: InnoDB Performance • Internal Improvements – Split kernel mutex – Efficient buffer pool • Persistent optimizer statistics – More accurate statistics • SSD Optimizations – 4k, 8k page sizes – .ibd files outside MySQL data dir – Separate tablespace for undo log • Dump and restore warm buffer pool – Limited disk foot print
  • 11. MySQL 5.6: InnoDB Features • Online DDL – CREATE/DROP INDEX – Change AUTO_INCREMENT value for a column – ADD/DROP FOREIGN KEY – ADD/DROP/RENAME COLUMN – Change ROW FORMAT, KEY_BLOCK_SIZE for a table – Change COLUMN NULL, NOT_NULL • Transportable tablespaces – FLUSH TABLE test FOR EXPORT; – ALTER TABLE test DISCARD TABLESPACE; – ALTER TABLE test IMPORT TABLESPACE;
  • 12. MySQL 5.6: InnoDB Features • Fulltext search – Same syntax as for MyISAM tables previously • Memcached plugin – Key-value access to InnoDB via memcached API – Fully transactional create table quotes (id int unsigned auto_increment primary key, author varchar(64), quote varchar(4000), source varchar(64), fulltext(quote)) engine=innodb; select author from quotes where match(quote) against (‘apple' in natural language mode);
  • 13. MySQL 5.6: Replication • GTID (Global Transaction ID) – Simple to track and compare across replication hierarchies – Automatically identify most up-to-date slave – Easy automatic reconfiguration when master changes • Replication HA utilities – mysqlfailover – mysqlrpladmin • Multi threaded slaves – One thread per schema
  • 14. MySQL 5.6: Replication • Crash safe slave – Replication state stored in InnoDB table – Eliminates risk of replication state information loss • Optimized row-image – Only changed data stored – binlog-row-image=minimal • Event checksums – Detects corrupt replication events before applied – Returns an error
  • 15. MySQL 5.6: Performance Schema New Instrumentation • Statements/Stages • Table and Index I/O • Table locks • Users/Hosts/Accounts • Network I/O New Features • Show contents of Host cache • New Summary tables – Grouped by thread, user, host, account or object • Easier configuration – Start up defaults in my.cnf – Auto tune • Reduced overhead • On by default
  • 16. MySQL 5.6: Improved Partitioning • Up to 8k partitions/sub-partitions per table • Explicit partition selection in queries, DML (SELECT, INSERT, UPDATE,DELETE, REPLACE, LOAD DATA, LOAD XML) • Import/export partitions to/from partitioned tables to/from non-partitioned tables
  • 17. MySQL 5.6: Improved Partitioning MariaDB [employees]> select * from emp_temp order by emp_no limit 10; +--------+------------+------------+---------------+--------+------------+ | emp_no | birth_date | first_name | last_name | gender | hire_date | +--------+------------+------------+---------------+--------+------------+ | 10241 | 1958-07-01 | Ortrud | Murillo | M | 1988-06-12 | | 10245 | 1962-08-23 | Ramalingam | Gente | F | 1985-04-26 | | 10249 | 1954-06-10 | Marie | Boreale | M | 1991-12-08 | | 10253 | 1964-11-12 | Zsolt | Salinas | F | 1985-02-21 | | 10257 | 1957-09-12 | Aiman | Riexinger | M | 1986-08-05 | | 10261 | 1959-12-25 | Mang | Erie | M | 1993-10-20 | | 10265 | 1960-12-01 | Ramalingam | Muniz | M | 1989-07-13 | | 10269 | 1959-10-07 | Taizo | Oxman | F | 1988-07-24 | | 10273 | 1962-08-29 | Baocai | Lieblein | M | 1985-11-06 | | 10277 | 1964-08-15 | Isaac | Schwartzbauer | M | 1985-06-16 | +--------+------------+------------+---------------+--------+------------+ 10 rows in set (0.00 sec) MariaDB [employees]> select * from employees_part partition (p0) order by emp_no limit 10; +--------+------------+------------+-----------+--------+------------+ | emp_no | birth_date | first_name | last_name | gender | hire_date | +--------+------------+------------+-----------+--------+------------+ | 1 | 0000-00-00 | max | | M | 0000-00-00 | +--------+------------+------------+-----------+--------+------------+ 1 row in set (0.00 sec)
  • 18. MySQL 5.6: Improved Partitioning MariaDB [employees]> alter table employees_part exchange partition p0 with table emp_temp; Query OK, 0 rows affected (0.14 sec) MariaDB [employees]> select * from employees_part partition (p0) order by emp_no limit 10; +--------+------------+------------+---------------+--------+------------+ | emp_no | birth_date | first_name | last_name | gender | hire_date | +--------+------------+------------+---------------+--------+------------+ | 10241 | 1958-07-01 | Ortrud | Murillo | M | 1988-06-12 | | 10245 | 1962-08-23 | Ramalingam | Gente | F | 1985-04-26 | | 10249 | 1954-06-10 | Marie | Boreale | M | 1991-12-08 | | 10253 | 1964-11-12 | Zsolt | Salinas | F | 1985-02-21 | | 10257 | 1957-09-12 | Aiman | Riexinger | M | 1986-08-05 | | 10261 | 1959-12-25 | Mang | Erie | M | 1993-10-20 | | 10265 | 1960-12-01 | Ramalingam | Muniz | M | 1989-07-13 | | 10269 | 1959-10-07 | Taizo | Oxman | F | 1988-07-24 | | 10273 | 1962-08-29 | Baocai | Lieblein | M | 1985-11-06 | | 10277 | 1964-08-15 | Isaac | Schwartzbauer | M | 1985-06-16 | +--------+------------+------------+---------------+--------+------------+ 10 rows in set (0.00 sec) MariaDB [employees]> select * from emp_temp order by emp_no limit 10; +--------+------------+------------+-----------+--------+------------+ | emp_no | birth_date | first_name | last_name | gender | hire_date | +--------+------------+------------+-----------+--------+------------+ | 1 | 0000-00-00 | max | | M | 0000-00-00 | +--------+------------+------------+-----------+--------+------------+ 1 row in set (0.00 sec)
  • 19. MySQL 5.6: Optimizer Features • Subquery Optimizations • File Sort optimizations • Index Condition Pushdown • Batched Key Access • Multi Range Read
  • 20. MySQL 5.6 – Hadoop Applier 17.04.2014 © SkySQL Ab. Commercial in Confidence 20
  • 21. Questions? Max Mether @maxmether max@skysql.com 17.04.2014 © SkySQL Ab. Commercial in Confidence 21