Your SlideShare is downloading. ×
0
The MySQL Diaspora
Colin Charles, Monty Program Ab
colin@montyprogram.com
http://montyprogram.com / http://mariadb.org/
ht...
whoami
• Chief Evangelist, MariaDB
• Formerly of MySQL AB/Sun Microsystems
• Past lives included FESCO (Fedora
Project), O...
Agenda
• The MySQL-based servers
• Patches for new features
• MySQL tools
• MySQL Cluster
• Support
Friday, 27 January 12
MySQL release policy
• Alpha
• Beta
• GA - generally available
• Labs
• Developer Milestone Releases (DMR)
Friday, 27 Janu...
MySQL through the
years
MySQL
AB
Sun Oracle
3.23 5.1 5.5
4.0
4.1
5.0
MySQL
AB
Sun Oracle
5.1 5.2 5.4
5.2 5.4 6.0
6.0 6.0 5...
Where do you get
MySQL from?
• mysql.com
• Over 55%-60% of 70,000 daily downloads
are Microsoft Windows based
• your distr...
The commercial
ecosystem
• Storage engines had an API since 5.1... being
pluggable, there were also commercial
engines ava...
Let’s define:
• Fork
• Branch
Friday, 27 January 12
Forks
Friday, 27 January 12
Drizzle
• 64-bit only, *nix only
• Micro-kernel architecture
• Stripped out MySQL 6.0 to focus on everything
as a plugin
•...
Percona Performance
Server
• or Percona Server with XtraDB
• MySQL + InnoDB enhancements + minimal
server changes
• Extra ...
MariaDB
• community developed, feature enhanced,
backward compatible
• rebased branch, with a stack of new features: all o...
What’s lying around
• Patches from eBay,Tivo,Tokutek, DeNA,
Google, Facebook
• MariaDB has quite a huge portion of the
abo...
NoSQL in MySQL
• HandlerSocket
• Dynamic columns
• memcached interface to InnoDB
• memcached interface to NDB
Friday, 27 J...
Tools: Enterprise
Monitoring
• Oracle’s MySQL Enterprise Monitor
• works for MySQL + Cluster
• SkySQL Enterprise Monitor (...
Tools: Backup
• MySQL Enterprise Backup (InnoDB Hot
Backup)
• xtrabackup (InnoDB/XtraDB, MyISAM)
• SkySQL Backup & Recover...
Tools:Visual modelling
tools
• MySQL Workbench
• SkySQLVisual Editor (SQLyog)
• HeidiSQL
Friday, 27 January 12
Other useful tools
• Percona Toolkit (maatkit + aspersa)
• openark kit (incl. online schema change
which Facebook adopted)...
MySQL Cluster
• MySQL (NDB) Cluster (7.1 available; 7.2 is
a DMR)
• Percona XtraDB Cluster (Galera, alpha)
• Severalnines ...
Support
MySQL MariaDB
Percona
Server
MySQL
Cluster
Drizzle
Oracle,
SkySQL,
FromDual,
Percona,
etc.
SkySQL,
FromDual,
Perco...
Support II
• Check:
• versions of MySQL supported
• distribution supported MySQL?
• Remote-DBA services also exist (Pythia...
What do people use?
• pap.fr:“increased stability, improved
performance, fewer anomalies” MySQL-
>MariaDB
• MySQL is losin...
MySQL Enterprise-only
features
• thread pool closed source, with only an API
for community development
• PAM,Active Direct...
InnoDB/XtraDB
• InnoDB in MySQL 5.5 is truly better than
XtraDB in 5.1
• XtraDB in 5.5 > InnoDB in 5.5 (more
instrumentati...
So what do you use?
• MySQL from mysql.com is probably
sufficient for most needs
• Need a little more from MySQL? Percona
s...
What can you use?
• i.e. what’s stable today
• MySQL 5.5
• Percona Server 5.5
• MariaDB 5.2
• Drizzle 7
Friday, 27 January...
Pragmatic CIO
• Think about support availability + cost
• Licensing is boring... think clouds?!?
• Subscriptions or fixing ...
Q&A?
email: colin@montyprogram.com
http://montyprogram.com/ | http://mariadb.org/
twitter: @bytebot / url: http://bytebot....
Upcoming SlideShare
Loading in...5
×

The MySQL Diaspora

376

Published on

The MySQL Diaspora

http://www.ossez.com/forum.php?mod=viewthread&tid=26862&fromuid=426
(出处: OSSEZ)

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
376
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
6
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Transcript of "The MySQL Diaspora"

  1. 1. The MySQL Diaspora Colin Charles, Monty Program Ab colin@montyprogram.com http://montyprogram.com / http://mariadb.org/ http://bytebot.net/blog / @bytebot on Twitter SCALE10x, Los Angeles, CA, USA 21 January 2012 Friday, 27 January 12
  2. 2. whoami • Chief Evangelist, MariaDB • Formerly of MySQL AB/Sun Microsystems • Past lives included FESCO (Fedora Project), OpenOffice.org Friday, 27 January 12
  3. 3. Agenda • The MySQL-based servers • Patches for new features • MySQL tools • MySQL Cluster • Support Friday, 27 January 12
  4. 4. MySQL release policy • Alpha • Beta • GA - generally available • Labs • Developer Milestone Releases (DMR) Friday, 27 January 12
  5. 5. MySQL through the years MySQL AB Sun Oracle 3.23 5.1 5.5 4.0 4.1 5.0 MySQL AB Sun Oracle 5.1 5.2 5.4 5.2 5.4 6.0 6.0 6.0 5.6 GA Plans & Cancellations Friday, 27 January 12
  6. 6. Where do you get MySQL from? • mysql.com • Over 55%-60% of 70,000 daily downloads are Microsoft Windows based • your distribution of choice • Linux, BSD, Mac • packaged w/o many engines built-in Friday, 27 January 12
  7. 7. The commercial ecosystem • Storage engines had an API since 5.1... being pluggable, there were also commercial engines available • InfoBright,TokuDB, ScaleDB, Calpont, Nitro, SolidDB, RitmarkFS, etc. • Hardware vendors too: Kickfire,Virident, Schooner, etc. Friday, 27 January 12
  8. 8. Let’s define: • Fork • Branch Friday, 27 January 12
  9. 9. Forks Friday, 27 January 12
  10. 10. Drizzle • 64-bit only, *nix only • Micro-kernel architecture • Stripped out MySQL 6.0 to focus on everything as a plugin • All C++ now • Focus on the cloud (small plug-in relational DB) • Replication via Google Protocol Buffers Friday, 27 January 12
  11. 11. Percona Performance Server • or Percona Server with XtraDB • MySQL + InnoDB enhancements + minimal server changes • Extra diagnostic features over MySQL: per-table/ index/user/client performance counters, more detailed EXPLAIN, InnoDB data statistics, better SHOW INNODB STATUS, FlashCache support • Maatkit UDFs Friday, 27 January 12
  12. 12. MariaDB • community developed, feature enhanced, backward compatible • rebased branch, with a stack of new features: all of Percona Performance Server + storage engines, extended stats for slow query log, microsecond precision, table elimination, pool of threads, pluggable authentication, dynamic columns, NoSQL, group commit, optimiser fixes (most in 10 years), subqueries finally materialise, HeidiSQL shipped in Windows binaries Friday, 27 January 12
  13. 13. What’s lying around • Patches from eBay,Tivo,Tokutek, DeNA, Google, Facebook • MariaDB has quite a huge portion of the above integrated • OurDelta? MepSQL? XAMPP? • MySQL? Friday, 27 January 12
  14. 14. NoSQL in MySQL • HandlerSocket • Dynamic columns • memcached interface to InnoDB • memcached interface to NDB Friday, 27 January 12
  15. 15. Tools: Enterprise Monitoring • Oracle’s MySQL Enterprise Monitor • works for MySQL + Cluster • SkySQL Enterprise Monitor (MONyog) • FromDual MySQL Performance Monitor (Zabbiz-based) • mysql-cacti-templates, Munin, SNMP/ OpenNMS, mycheckpoint Friday, 27 January 12
  16. 16. Tools: Backup • MySQL Enterprise Backup (InnoDB Hot Backup) • xtrabackup (InnoDB/XtraDB, MyISAM) • SkySQL Backup & Recovery Manager (Zmanda Recovery Manager - ZRM) • mylvmbackup Friday, 27 January 12
  17. 17. Tools:Visual modelling tools • MySQL Workbench • SkySQLVisual Editor (SQLyog) • HeidiSQL Friday, 27 January 12
  18. 18. Other useful tools • Percona Toolkit (maatkit + aspersa) • openark kit (incl. online schema change which Facebook adopted) • MHA for MySQL - High Availability Manager + tools Friday, 27 January 12
  19. 19. MySQL Cluster • MySQL (NDB) Cluster (7.1 available; 7.2 is a DMR) • Percona XtraDB Cluster (Galera, alpha) • Severalnines ClusterControl for MySQL Cluster, replication & Galera management/ deployment/monitoring/auto-scaling tool Friday, 27 January 12
  20. 20. Support MySQL MariaDB Percona Server MySQL Cluster Drizzle Oracle, SkySQL, FromDual, Percona, etc. SkySQL, FromDual, Percona, Open Query Percona, SkySQL, FromDual Oracle, SkySQL, Severalnin es, Percona SkySQL, Percona, Blue Gecko Friday, 27 January 12
  21. 21. Support II • Check: • versions of MySQL supported • distribution supported MySQL? • Remote-DBA services also exist (Pythian, PalominoDB, Blue Gecko, etc.) Friday, 27 January 12
  22. 22. What do people use? • pap.fr:“increased stability, improved performance, fewer anomalies” MySQL- >MariaDB • MySQL is losing traction due to its owner (FUD?) (+ associated costs) • Percona Server: popular amongst their consulting clients Friday, 27 January 12
  23. 23. MySQL Enterprise-only features • thread pool closed source, with only an API for community development • PAM,Active Directory plugins via pluggable authentication API is closed source • InnoDB Hot Backup has been closed since creation • Check MariaDB out for opensource variants Friday, 27 January 12
  24. 24. InnoDB/XtraDB • InnoDB in MySQL 5.5 is truly better than XtraDB in 5.1 • XtraDB in 5.5 > InnoDB in 5.5 (more instrumentation) Friday, 27 January 12
  25. 25. So what do you use? • MySQL from mysql.com is probably sufficient for most needs • Need a little more from MySQL? Percona server, MariaDB • Need features of MariaDB, i.e. MySQL on steroids... • Connectors are 100% the same Friday, 27 January 12
  26. 26. What can you use? • i.e. what’s stable today • MySQL 5.5 • Percona Server 5.5 • MariaDB 5.2 • Drizzle 7 Friday, 27 January 12
  27. 27. Pragmatic CIO • Think about support availability + cost • Licensing is boring... think clouds?!? • Subscriptions or fixing your problems (consulting, emergency services) • Community vs Enterprise • Continuity of projects/company Friday, 27 January 12
  28. 28. Q&A? email: colin@montyprogram.com http://montyprogram.com/ | http://mariadb.org/ twitter: @bytebot / url: http://bytebot.net/blog/ Friday, 27 January 12
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×