SlideShare ist ein Scribd-Unternehmen logo
1 von 43
Downloaden Sie, um offline zu lesen
MariaDB 10.0 & What’s
New with The Project
Michael “Monty” Widenius
Colin Charles
Who are we
• Michael “Monty” Widenius
– Creator of MySQL
– Project leader at MariaDB, founder of Monty Program
Ab
– CTO, MariaDB Foundation
– monty@mariadb.org | twitter: @montywi
• Colin Charles
– Chief Evangelist, MariaDB @ Monty Program Ab (soon
SkySQL)
– Formerly of MySQL
– colin@mariadb.org | twitter: @bytebot
2
Agenda
• MariaDB 10.0 series
introduction
• Where we stand towards
MySQL 5.6
• Features, including
MariaDB Galera Cluster
3
What’s MariaDB?
• 38 months: major releases (5.1, 5.2, 5.3,
5.5, Galera Cluster) and 10.0 series
• Still community developed, feature
enhanced & backward compatible
• maria-captains: 50% MP, 50% community
including Sphinxsearch, SkySQL, Taobao,
Percona, Codership, Facebook, & more...
• GPLv2 server
4
Goal hasn’t changed
• uninstall mysql-server
• install mariadb-server
• it should “just work!” (& be compatible)
• (or more recently, you just apt-get/yum
install mariadb, and it removes mysql)
• MySQL compatible:
– data on disk & on the wire is same
– same file names, sockets, port
5
Why MariaDB 10.0?
• The 5.5 merge took about a year (!)
• In MariaDB 5.5, we have over 1.5
million lines of extra code ~61MB diff
• MySQL 5.6 refactored with huge losses
in commit history
• We’re not a patch set against MySQL
– MariaDB clearly does not depend on MySQL
for future development
6
MariaDB 10.0: In a nutshell...
• Built on MariaDB 5.5
• Backported features from MySQL 5.6
• Multiple new features
7
First, let’s start with some history
• MariaDB 5.1 (MySQL-5.1 base)
– Table elimination, new storage engines, cleanup, better
tests, pool of threads
• MariaDB 5.2 (MariaDB-5.1 base)
– Virtual columns, extended user statistics, segmented
MyISAM keycache
• MariaDB 5.3 (MariaDB-5.2 base)
– Biggest changes to optimizer (faster subqueries, joins, etc.)
– Microsecond precision, faster HANDLER (HANDLER RED 50%
faster w/530,000 qps), dynamic columns
– Better replication (group commit, etc.)
– HandlerSocket
8
MariaDB 5.5 (MariaDB 5.3 + MySQL
5.5)
• Opensource, more efficient threadpool
• Non-blocking client library
• New LIMIT ROWS EXAMINED option
• Extended keys for XtraDB/InnoDB
• New SphinxSE
• Lots of security fixes, new status
variables, etc.
9
MariaDB 10.0
10
Date Version Status
12 Nov
2012
10.0.0 Alpha
6 Feb
2013
10.0.1 Alpha
24 Apr
2013
10.0.2 Alpha
10.0.3 Beta
Backported features
• InnoDB including TRANSACTION READ ONLY
• PERFORMANCE_SCHEMA
• Online ALTER TABLE (in-progress)
• Optimizer
– ORDER BY...LIMIT optimization (shows only few rows of a result set)
• Re-implemented:
– Error messages (w/system error string)
– CURRENT_TIMESTAMP as DEFAULT for DATETIME columns
– Global Transaction ID (10.0.2 - MDEV-26)
– Parallel replication
• New (optimizer)
– EXISTS-TO-IN optimization
11
Only in MariaDB 10.0: Multi-source
replication
• Work from Taobao
• Many users partition data across many
masters... now you can replicate many
masters to a single slave
• Great for analytical queries, complete
backups, etc.
12
Only in MariaDB 10.0:
• SHOW EXPLAIN for <thread_id> gets
the query plan for a running statement
• Faster ALTER TABLE with unique keys
for Aria & MyISAM
• Per-thread memory usage (Taobao)
– INFORMATION_SCHEMA.PROCESSLIST has
MEMORY_USAGE & EXAMINED_ROWS now
– SHOW STATUS has memory usage too
13
Only in MariaDB 10.0: CassandraSE,
LevelDB support
• MariaDB as a “data platform”
• Integration with NoSQL/Big Data DB,
Apache Cassandra cluster, seen as a
storage engine to MariaDB
• Combine (join) data between Cassandra &
MariaDB & Oracle (via CONNECT)
• Write to Cassandra from SQL (SELECT,
INSERT, UPDATE, DELETE)
• LevelDB (in-progress)
14
Only in MariaDB 10.0: Engine
independent persistent statistics
• InnoDB has persistent statistics in MySQL
5.6; we have an engine-independent
version
• These statistics aren’t limited by the SE
API, and are used by query optimizer to
choose best execution plan for each
statement
• Statistics collected for non-indexed
columns too (unlike InnoDB’s)
15
Dynamic columns
• Store a different set of columns for
every row in the table (kinda NoSQL-
like)
• Database interoperability is now a major
feature; CassandraSE makes uses of this
• Can now request a row in JSON format
• And yes, you can name columns
finally ;)
16
Segmented MyISAM keycache
• Solves major read bottlenecks for
MyISAM
• MyISAM usage with many readers
17
BKA speedups
select max(l_extendedprice) from orders, lineitem where
o_orderdate between $DATE1 and $DATE2 and
l_orderkey=o_orderkey
18
Group commit in the binary log
19
Source: Mark Callaghan, https://
www.facebook.com/note.php?
note_id=10150261692455933
Group commit even faster in 10.0
• Slow fsync (removing checkpoint per commit
saving 1-in-3 fsyncs)
• Fast fsync (reduced stall on LOCK_log gives
speedup)
20
Group commit benchmark against 5.6
• MySQL 5.6 removes checkpoint per commit
• More complex thread scheduling, less grouping of commits
• Does not remove stall on LOCK_log, less grouping of commits
21
Threadpool 5.5 vs 5.1
22
MariaDB 10.0.2
• Support for atomic writes on FusionIO
DirectFS
• Optimizer collects & can use histogram-
based statistics for non-indexed columns
• Better table discovery, so FederatedX has
assisted discovery, Sequence engine
(creates ascending/descending
sequences, useful in joins)
23
Roadmap
• MariaDB is already a superset of features in
MySQL
• Merge is in 2 steps
– 10.0.x
– 10.1.x
• Plan is to have all important features of MySQL
5.6 by the time MariaDB 10.1.x is released as
stable
– For all practical purposes MariaDB 10.1.x will be a
drop in replacement to MySQL 5.6
24
LGPL client libraries
• LGPL client libraries for C & Java
• Works with MariaDB/MySQL/Percona
Server
• Developed by Monty Program Ab &
SkySQL Ab, released as LGPL 29 Nov
2012
• ODBC is in the works, sponsors are
welcome!
25
MariaDB Galera Cluster
• MariaDB Galera Cluster is made for
today’s cloud based environments. It is
fully read-write scalable, comes with
synchronous replication, allows multi-
master topologies, and guarantees no
lag or lost transactions.
• Currently 5.5-based, we see this as
important for 10.0 as well (merges will
happen closer to GA)
26
TokuDB
• It’s now opensource
• Official MariaDB binaries out within
days that includes TokuDB
• Tests & builds of TokuDB on multiple
platforms (think greater distribution)
27
CONNECT storage engine
• Made by Olivier Bertrand
• Read, write & update files in different
storage formats:
– .DBF (dBASE format)
– .CSV
– .INI
– XML
– ODBC
28
Benchmarks
• “Lies, damned lies, and statistics” -
Mark Twain
– http://blog.mariadb.org/sysbench-oltp-
mysql-5-6-vs-mariadb-10-0/
– http://dimitrik.free.fr/blog/archives/
2013/02/mysql-performance-mysql-56-
vs-mysql-55-vs-mariadb-55.html
• Yes, we’ve gotten Oracle to notice
MariaDB :-)
29
Continued commitments
• Security
– Since about a year now, we’re the go-to people for security
- good track record
• We don’t like regressions
– http://www.skysql.com/blogs/hartmut/nasty-innodb-
regression-mysql-5525
– http://www.skysql.com/blogs/kolbe/heads-no-more-
query-cache-partitioned-tables-mysql-5523
• We care about backward compatibility & introduce
features carefully
• XtraDB innodb_adaptive_checkpoint=none|reflex|
estimate|keep_average (no more reflex...)
30
Community involvement
• Many features since MariaDB 5.2 have come
from the community or are sponsored
features (5.3, 5.5)
• Knowledgebase has 2,600+ articles in English
• Yearly downloads of half a million (more users
from mirrors + distributions)
• Active mailing lists (stats on KB)
• Google Summer of Code 2013
• MariaDB User Groups
31
MariaDB is gaining popularity
• Wikipedia (English, German), Wikidata running
MariaDB 5.5
• Fedora, OpenSUSE shipping MariaDB as a
default
• Slackware, Chakra Linux, ArchLinux have
followed suit
• Many success stories at KB: Limelight
Networks, Nimbuzz, Paybox, FictionPress, OLX,
SlashGear, Web of Trust, SpamExperts, etc.
32
Monty Program Ab + SkySQL Ab join
forces
• Monty Program Ab & SkySQL Ab have
entered into a merger agreement
• Resulting company has best available
development & support people in the
MySQL ecosystem
• MariaDB Foundation ensures that there
never has to be a new fork
33
MariaDB Foundation
• Foundation is driver of MariaDB project
• Custodian of code, guardian of
community
• Foundation can never be controlled by
single entity or person
• Designed to be self-sustaining
34
MariaDB Foundation Goals
• Increase adoption of MariaDB
• Ensure sustainable high-quality efforts
to build, test and distribute MariaDB
• Ensure that community patches are
reviewed and adopted
• Guarantee a community voice
• Keep MariaDB compatible with MySQL
• Maintain mariadb.org
35
MariaDB Foundation
• More founders & sponsors are welcome
• Michael Widenius, CTO:
monty@mariadb.org
• Andrew Katz, Legal Counsel:
andrew@mariadb.org
• Simon Phipps, CEO: simon@mariadb.org
• Jeremy Zawodny (Craigslist), Mike
Milinkovich (Eclipse Foundation) on Board
36
Coming up next
• Merge SPIDER storage engine
• Column level encryption via MyDiamo
from Penta Security
• New optimizations for Fusion-IO
• You can shape the roadmap
37
Well supported
• Everyone supports MariaDB from a
support standpoint with the exception
of Oracle
• Visit the Expo Hall: SkySQL, Percona,
AccelerationDB, etc.
• Jelastic has it as PaaS too
38
FAQ
• Can I replicate from MySQL 5.6 to
MariaDB 10.x?
– Yes
• Can I replicate from MariaDB 10.x to
MariaDB 5.5?
– Yes
• Can I replicate from MariaDB 10.x to
MySQL 5.5/5.6?
– No
39
FAQ on tools
• SELECT VERSION() returns 10.0.1-
MariaDB
• Version string in handshake packet will
be 5.5.30-mysql-10.0.2-MariaDB
(mysql#68187, MDEV-4088)
• Tools should start recognising MariaDB
for additional feature-set (mytop,
HeidiSQL, etc.)
40
Conclusion
• MariaDB has 30 man years more of development
on-top of MySQL 5.5 with many different
features
• MariaDB is maintained by the people that
created original MySQL code
• We have 1 million man years of QA (by using the
community for QA)
• MariaDB is binary compatible with MySQL
• MariaDB is opensource, has more features, and
have no commercial extensions
41
Resources
• bugs: mariadb.org/jira
• maria-discuss@lists.launchpad.net
• maria-developers@lists.launchpad.net
• fb.com/MariaDB.dbms
• twitter: @mariadb
• google plus: +MariaDB
• #maria on irc.freenode.net
• http://kb.askmonty.org/
42
Q&A? Thanks
Michael “Monty” Widenius
monty@mariadb.org | @montywi
Colin Charles
colin@mariadb.org | @bytebot

Weitere ähnliche Inhalte

Was ist angesagt?

What is MariaDB Server 10.3?
What is MariaDB Server 10.3?What is MariaDB Server 10.3?
What is MariaDB Server 10.3?Colin Charles
 
Securing your MySQL / MariaDB Server data
Securing your MySQL / MariaDB Server dataSecuring your MySQL / MariaDB Server data
Securing your MySQL / MariaDB Server dataColin Charles
 
Databases in the hosted cloud
Databases in the hosted cloud Databases in the hosted cloud
Databases in the hosted cloud Colin Charles
 
The Proxy Wars - MySQL Router, ProxySQL, MariaDB MaxScale
The Proxy Wars - MySQL Router, ProxySQL, MariaDB MaxScaleThe Proxy Wars - MySQL Router, ProxySQL, MariaDB MaxScale
The Proxy Wars - MySQL Router, ProxySQL, MariaDB MaxScaleColin Charles
 
MariaDB 10 Tutorial - 13.11.11 - Percona Live London
MariaDB 10 Tutorial - 13.11.11 - Percona Live LondonMariaDB 10 Tutorial - 13.11.11 - Percona Live London
MariaDB 10 Tutorial - 13.11.11 - Percona Live LondonIvan Zoratti
 
Best practices for MySQL High Availability Tutorial
Best practices for MySQL High Availability TutorialBest practices for MySQL High Availability Tutorial
Best practices for MySQL High Availability TutorialColin Charles
 
Lessons from database failures
Lessons from database failuresLessons from database failures
Lessons from database failuresColin Charles
 
Lessons from database failures
Lessons from database failuresLessons from database failures
Lessons from database failuresColin Charles
 
My first moments with MongoDB
My first moments with MongoDBMy first moments with MongoDB
My first moments with MongoDBColin Charles
 
Lessons from database failures
Lessons from database failures Lessons from database failures
Lessons from database failures Colin Charles
 
MariaDB 10.0 - SkySQL Paris Meetup
MariaDB 10.0 - SkySQL Paris MeetupMariaDB 10.0 - SkySQL Paris Meetup
MariaDB 10.0 - SkySQL Paris MeetupMariaDB Corporation
 
MariaDB Server Compatibility with MySQL
MariaDB Server Compatibility with MySQLMariaDB Server Compatibility with MySQL
MariaDB Server Compatibility with MySQLColin Charles
 
MariaDB - a MySQL Replacement #SELF2014
MariaDB - a MySQL Replacement #SELF2014MariaDB - a MySQL Replacement #SELF2014
MariaDB - a MySQL Replacement #SELF2014Colin Charles
 
MariaDB 10: A MySQL Replacement - HKOSC
MariaDB 10: A MySQL Replacement - HKOSC MariaDB 10: A MySQL Replacement - HKOSC
MariaDB 10: A MySQL Replacement - HKOSC Colin Charles
 
Distributions from the view a package
Distributions from the view a packageDistributions from the view a package
Distributions from the view a packageColin Charles
 
MariaDB 10: The Complete Tutorial
MariaDB 10: The Complete TutorialMariaDB 10: The Complete Tutorial
MariaDB 10: The Complete TutorialColin Charles
 
Meet MariaDB 10.1 at the Bulgaria Web Summit
Meet MariaDB 10.1 at the Bulgaria Web SummitMeet MariaDB 10.1 at the Bulgaria Web Summit
Meet MariaDB 10.1 at the Bulgaria Web SummitColin Charles
 
MariaDB: The 2012 Edition
MariaDB: The 2012 EditionMariaDB: The 2012 Edition
MariaDB: The 2012 EditionColin Charles
 
Databases in the Hosted Cloud
Databases in the Hosted CloudDatabases in the Hosted Cloud
Databases in the Hosted CloudColin Charles
 

Was ist angesagt? (20)

What is MariaDB Server 10.3?
What is MariaDB Server 10.3?What is MariaDB Server 10.3?
What is MariaDB Server 10.3?
 
Securing your MySQL / MariaDB Server data
Securing your MySQL / MariaDB Server dataSecuring your MySQL / MariaDB Server data
Securing your MySQL / MariaDB Server data
 
Databases in the hosted cloud
Databases in the hosted cloud Databases in the hosted cloud
Databases in the hosted cloud
 
The Proxy Wars - MySQL Router, ProxySQL, MariaDB MaxScale
The Proxy Wars - MySQL Router, ProxySQL, MariaDB MaxScaleThe Proxy Wars - MySQL Router, ProxySQL, MariaDB MaxScale
The Proxy Wars - MySQL Router, ProxySQL, MariaDB MaxScale
 
MariaDB 10 Tutorial - 13.11.11 - Percona Live London
MariaDB 10 Tutorial - 13.11.11 - Percona Live LondonMariaDB 10 Tutorial - 13.11.11 - Percona Live London
MariaDB 10 Tutorial - 13.11.11 - Percona Live London
 
Best practices for MySQL High Availability Tutorial
Best practices for MySQL High Availability TutorialBest practices for MySQL High Availability Tutorial
Best practices for MySQL High Availability Tutorial
 
Lessons from database failures
Lessons from database failuresLessons from database failures
Lessons from database failures
 
Lessons from database failures
Lessons from database failuresLessons from database failures
Lessons from database failures
 
My first moments with MongoDB
My first moments with MongoDBMy first moments with MongoDB
My first moments with MongoDB
 
Lessons from database failures
Lessons from database failures Lessons from database failures
Lessons from database failures
 
MariaDB 10.0 - SkySQL Paris Meetup
MariaDB 10.0 - SkySQL Paris MeetupMariaDB 10.0 - SkySQL Paris Meetup
MariaDB 10.0 - SkySQL Paris Meetup
 
MariaDB Server Compatibility with MySQL
MariaDB Server Compatibility with MySQLMariaDB Server Compatibility with MySQL
MariaDB Server Compatibility with MySQL
 
MariaDB - a MySQL Replacement #SELF2014
MariaDB - a MySQL Replacement #SELF2014MariaDB - a MySQL Replacement #SELF2014
MariaDB - a MySQL Replacement #SELF2014
 
MariaDB 10: A MySQL Replacement - HKOSC
MariaDB 10: A MySQL Replacement - HKOSC MariaDB 10: A MySQL Replacement - HKOSC
MariaDB 10: A MySQL Replacement - HKOSC
 
Why MariaDB?
Why MariaDB?Why MariaDB?
Why MariaDB?
 
Distributions from the view a package
Distributions from the view a packageDistributions from the view a package
Distributions from the view a package
 
MariaDB 10: The Complete Tutorial
MariaDB 10: The Complete TutorialMariaDB 10: The Complete Tutorial
MariaDB 10: The Complete Tutorial
 
Meet MariaDB 10.1 at the Bulgaria Web Summit
Meet MariaDB 10.1 at the Bulgaria Web SummitMeet MariaDB 10.1 at the Bulgaria Web Summit
Meet MariaDB 10.1 at the Bulgaria Web Summit
 
MariaDB: The 2012 Edition
MariaDB: The 2012 EditionMariaDB: The 2012 Edition
MariaDB: The 2012 Edition
 
Databases in the Hosted Cloud
Databases in the Hosted CloudDatabases in the Hosted Cloud
Databases in the Hosted Cloud
 

Ähnlich wie MariaDB 10.0: What's New and Backported Features

MariaDB - Fast, Easy & Strong - Get Started Tutorial
MariaDB - Fast, Easy & Strong - Get Started TutorialMariaDB - Fast, Easy & Strong - Get Started Tutorial
MariaDB - Fast, Easy & Strong - Get Started Tutorialphamhphuc
 
Introduction of MariaDB 2017 09
Introduction of MariaDB 2017 09Introduction of MariaDB 2017 09
Introduction of MariaDB 2017 09GOTO Satoru
 
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)kayokogoto
 
MariaDB: in-depth (hands on training in Seoul)
MariaDB: in-depth (hands on training in Seoul)MariaDB: in-depth (hands on training in Seoul)
MariaDB: in-depth (hands on training in Seoul)Colin Charles
 
MariaDB - the "new" MySQL is 5 years old and everywhere (LinuxCon Europe 2015)
MariaDB - the "new" MySQL is 5 years old and everywhere (LinuxCon Europe 2015)MariaDB - the "new" MySQL is 5 years old and everywhere (LinuxCon Europe 2015)
MariaDB - the "new" MySQL is 5 years old and everywhere (LinuxCon Europe 2015)Colin Charles
 
The Complete MariaDB Server Tutorial - Percona Live 2015
The Complete MariaDB Server Tutorial - Percona Live 2015The Complete MariaDB Server Tutorial - Percona Live 2015
The Complete MariaDB Server Tutorial - Percona Live 2015Colin Charles
 
[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 ...Insight Technology, Inc.
 
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 CharlesInsight Technology, Inc.
 
MariaDB 初学者指南
MariaDB 初学者指南MariaDB 初学者指南
MariaDB 初学者指南YUCHENG HU
 
The MySQL ecosystem - understanding it, not running away from it!
The MySQL ecosystem - understanding it, not running away from it! The MySQL ecosystem - understanding it, not running away from it!
The MySQL ecosystem - understanding it, not running away from it! Colin Charles
 
ScaleDB Technical Presentation
ScaleDB Technical PresentationScaleDB Technical Presentation
ScaleDB Technical PresentationIvan Zoratti
 
The MySQL Server ecosystem in 2016
The MySQL Server ecosystem in 2016The MySQL Server ecosystem in 2016
The MySQL Server ecosystem in 2016sys army
 
MySQL Ecosystem in 2020
MySQL Ecosystem in 2020MySQL Ecosystem in 2020
MySQL Ecosystem in 2020Alkin Tezuysal
 
Choosing between Codership's MySQL Galera, MariaDB Galera Cluster and Percona...
Choosing between Codership's MySQL Galera, MariaDB Galera Cluster and Percona...Choosing between Codership's MySQL Galera, MariaDB Galera Cluster and Percona...
Choosing between Codership's MySQL Galera, MariaDB Galera Cluster and Percona...Codership Oy - Creators of Galera Cluster
 
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 2015Colin Charles
 
Meet MariaDB Server 10.1 London MySQL meetup December 2015
Meet MariaDB Server 10.1 London MySQL meetup December 2015Meet MariaDB Server 10.1 London MySQL meetup December 2015
Meet MariaDB Server 10.1 London MySQL meetup December 2015Colin Charles
 
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.pdfAlkin Tezuysal
 

Ähnlich wie MariaDB 10.0: What's New and Backported Features (20)

MariaDB - Fast, Easy & Strong - Get Started Tutorial
MariaDB - Fast, Easy & Strong - Get Started TutorialMariaDB - Fast, Easy & Strong - Get Started Tutorial
MariaDB - Fast, Easy & Strong - Get Started Tutorial
 
Introduction of MariaDB 2017 09
Introduction of MariaDB 2017 09Introduction of MariaDB 2017 09
Introduction of MariaDB 2017 09
 
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)
 
MariaDB: in-depth (hands on training in Seoul)
MariaDB: in-depth (hands on training in Seoul)MariaDB: in-depth (hands on training in Seoul)
MariaDB: in-depth (hands on training in Seoul)
 
MariaDB - the "new" MySQL is 5 years old and everywhere (LinuxCon Europe 2015)
MariaDB - the "new" MySQL is 5 years old and everywhere (LinuxCon Europe 2015)MariaDB - the "new" MySQL is 5 years old and everywhere (LinuxCon Europe 2015)
MariaDB - the "new" MySQL is 5 years old and everywhere (LinuxCon Europe 2015)
 
The Complete MariaDB Server Tutorial - Percona Live 2015
The Complete MariaDB Server Tutorial - Percona Live 2015The Complete MariaDB Server Tutorial - Percona Live 2015
The Complete MariaDB Server Tutorial - Percona Live 2015
 
[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 ...
 
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
 
MariaDB 初学者指南
MariaDB 初学者指南MariaDB 初学者指南
MariaDB 初学者指南
 
Maria DBMS
Maria DBMSMaria DBMS
Maria DBMS
 
MySQL in the Cloud
MySQL in the CloudMySQL in the Cloud
MySQL in the Cloud
 
MySQL overview
MySQL overviewMySQL overview
MySQL overview
 
The MySQL ecosystem - understanding it, not running away from it!
The MySQL ecosystem - understanding it, not running away from it! The MySQL ecosystem - understanding it, not running away from it!
The MySQL ecosystem - understanding it, not running away from it!
 
ScaleDB Technical Presentation
ScaleDB Technical PresentationScaleDB Technical Presentation
ScaleDB Technical Presentation
 
The MySQL Server ecosystem in 2016
The MySQL Server ecosystem in 2016The MySQL Server ecosystem in 2016
The MySQL Server ecosystem in 2016
 
MySQL Ecosystem in 2020
MySQL Ecosystem in 2020MySQL Ecosystem in 2020
MySQL Ecosystem in 2020
 
Choosing between Codership's MySQL Galera, MariaDB Galera Cluster and Percona...
Choosing between Codership's MySQL Galera, MariaDB Galera Cluster and Percona...Choosing between Codership's MySQL Galera, MariaDB Galera Cluster and Percona...
Choosing between Codership's MySQL Galera, MariaDB Galera Cluster and Percona...
 
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
 
Meet MariaDB Server 10.1 London MySQL meetup December 2015
Meet MariaDB Server 10.1 London MySQL meetup December 2015Meet MariaDB Server 10.1 London MySQL meetup December 2015
Meet MariaDB Server 10.1 London MySQL meetup December 2015
 
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
 

Mehr von YUCHENG HU

Confluencewiki 使用空间
Confluencewiki 使用空间Confluencewiki 使用空间
Confluencewiki 使用空间YUCHENG HU
 
Presta shop 1.6 如何安装简体中文语言文件
Presta shop 1.6 如何安装简体中文语言文件Presta shop 1.6 如何安装简体中文语言文件
Presta shop 1.6 如何安装简体中文语言文件YUCHENG HU
 
Logback 介绍
Logback 介绍Logback 介绍
Logback 介绍YUCHENG HU
 
Presta shop 1.6 详细安装指南
Presta shop 1.6 详细安装指南Presta shop 1.6 详细安装指南
Presta shop 1.6 详细安装指南YUCHENG HU
 
Presta shop 1.6 的安装环境
Presta shop 1.6 的安装环境Presta shop 1.6 的安装环境
Presta shop 1.6 的安装环境YUCHENG HU
 
Presta shop 1.6 如何安装简体中文语言文件
Presta shop 1.6 如何安装简体中文语言文件Presta shop 1.6 如何安装简体中文语言文件
Presta shop 1.6 如何安装简体中文语言文件YUCHENG HU
 
Presta shop 1.6 图文安装教程
Presta shop 1.6 图文安装教程Presta shop 1.6 图文安装教程
Presta shop 1.6 图文安装教程YUCHENG HU
 
V tiger 5.4.0 图文安装教程
V tiger 5.4.0 图文安装教程V tiger 5.4.0 图文安装教程
V tiger 5.4.0 图文安装教程YUCHENG HU
 
Confluence 回顾(retrospectives) 蓝图 cwikiossez
Confluence 回顾(retrospectives) 蓝图   cwikiossezConfluence 回顾(retrospectives) 蓝图   cwikiossez
Confluence 回顾(retrospectives) 蓝图 cwikiossezYUCHENG HU
 
Confluence 会议记录(meeting notes)蓝图 cwikiossez
Confluence 会议记录(meeting notes)蓝图   cwikiossezConfluence 会议记录(meeting notes)蓝图   cwikiossez
Confluence 会议记录(meeting notes)蓝图 cwikiossezYUCHENG HU
 
VTIGER - 销售机会 - CWIKIOSSEZ
VTIGER - 销售机会 - CWIKIOSSEZ VTIGER - 销售机会 - CWIKIOSSEZ
VTIGER - 销售机会 - CWIKIOSSEZ YUCHENG HU
 
Confluence 使用一个模板新建一个页面 cwikiossez
Confluence 使用一个模板新建一个页面     cwikiossezConfluence 使用一个模板新建一个页面     cwikiossez
Confluence 使用一个模板新建一个页面 cwikiossezYUCHENG HU
 
Confluence 使用模板
Confluence 使用模板Confluence 使用模板
Confluence 使用模板YUCHENG HU
 
Cwikiossez confluence 订阅页面更新邮件通知
Cwikiossez confluence 订阅页面更新邮件通知Cwikiossez confluence 订阅页面更新邮件通知
Cwikiossez confluence 订阅页面更新邮件通知YUCHENG HU
 
Cwikiossez confluence 关注页面 博客页面和空间
Cwikiossez confluence 关注页面 博客页面和空间Cwikiossez confluence 关注页面 博客页面和空间
Cwikiossez confluence 关注页面 博客页面和空间YUCHENG HU
 
My sql università di enna a.a. 2005-06
My sql   università di enna a.a. 2005-06My sql   università di enna a.a. 2005-06
My sql università di enna a.a. 2005-06YUCHENG HU
 
My sql would you like transactions
My sql would you like transactionsMy sql would you like transactions
My sql would you like transactionsYUCHENG HU
 
MySQL 简要介绍
MySQL 简要介绍MySQL 简要介绍
MySQL 简要介绍YUCHENG HU
 

Mehr von YUCHENG HU (20)

Confluencewiki 使用空间
Confluencewiki 使用空间Confluencewiki 使用空间
Confluencewiki 使用空间
 
Git
GitGit
Git
 
Presta shop 1.6 如何安装简体中文语言文件
Presta shop 1.6 如何安装简体中文语言文件Presta shop 1.6 如何安装简体中文语言文件
Presta shop 1.6 如何安装简体中文语言文件
 
Logback 介绍
Logback 介绍Logback 介绍
Logback 介绍
 
Presta shop 1.6 详细安装指南
Presta shop 1.6 详细安装指南Presta shop 1.6 详细安装指南
Presta shop 1.6 详细安装指南
 
Presta shop 1.6 的安装环境
Presta shop 1.6 的安装环境Presta shop 1.6 的安装环境
Presta shop 1.6 的安装环境
 
Presta shop 1.6 如何安装简体中文语言文件
Presta shop 1.6 如何安装简体中文语言文件Presta shop 1.6 如何安装简体中文语言文件
Presta shop 1.6 如何安装简体中文语言文件
 
Presta shop 1.6 图文安装教程
Presta shop 1.6 图文安装教程Presta shop 1.6 图文安装教程
Presta shop 1.6 图文安装教程
 
V tiger 5.4.0 图文安装教程
V tiger 5.4.0 图文安装教程V tiger 5.4.0 图文安装教程
V tiger 5.4.0 图文安装教程
 
Confluence 回顾(retrospectives) 蓝图 cwikiossez
Confluence 回顾(retrospectives) 蓝图   cwikiossezConfluence 回顾(retrospectives) 蓝图   cwikiossez
Confluence 回顾(retrospectives) 蓝图 cwikiossez
 
Confluence 会议记录(meeting notes)蓝图 cwikiossez
Confluence 会议记录(meeting notes)蓝图   cwikiossezConfluence 会议记录(meeting notes)蓝图   cwikiossez
Confluence 会议记录(meeting notes)蓝图 cwikiossez
 
VTIGER - 销售机会 - CWIKIOSSEZ
VTIGER - 销售机会 - CWIKIOSSEZ VTIGER - 销售机会 - CWIKIOSSEZ
VTIGER - 销售机会 - CWIKIOSSEZ
 
Confluence 使用一个模板新建一个页面 cwikiossez
Confluence 使用一个模板新建一个页面     cwikiossezConfluence 使用一个模板新建一个页面     cwikiossez
Confluence 使用一个模板新建一个页面 cwikiossez
 
Confluence 使用模板
Confluence 使用模板Confluence 使用模板
Confluence 使用模板
 
Cwikiossez confluence 订阅页面更新邮件通知
Cwikiossez confluence 订阅页面更新邮件通知Cwikiossez confluence 订阅页面更新邮件通知
Cwikiossez confluence 订阅页面更新邮件通知
 
Cwikiossez confluence 关注页面 博客页面和空间
Cwikiossez confluence 关注页面 博客页面和空间Cwikiossez confluence 关注页面 博客页面和空间
Cwikiossez confluence 关注页面 博客页面和空间
 
My sql università di enna a.a. 2005-06
My sql   università di enna a.a. 2005-06My sql   università di enna a.a. 2005-06
My sql università di enna a.a. 2005-06
 
My sql would you like transactions
My sql would you like transactionsMy sql would you like transactions
My sql would you like transactions
 
MySQL 指南
MySQL 指南MySQL 指南
MySQL 指南
 
MySQL 简要介绍
MySQL 简要介绍MySQL 简要介绍
MySQL 简要介绍
 

Kürzlich hochgeladen

TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Manik S Magar
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 

Kürzlich hochgeladen (20)

TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!Anypoint Exchange: It’s Not Just a Repo!
Anypoint Exchange: It’s Not Just a Repo!
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 

MariaDB 10.0: What's New and Backported Features

  • 1. MariaDB 10.0 & What’s New with The Project Michael “Monty” Widenius Colin Charles
  • 2. Who are we • Michael “Monty” Widenius – Creator of MySQL – Project leader at MariaDB, founder of Monty Program Ab – CTO, MariaDB Foundation – monty@mariadb.org | twitter: @montywi • Colin Charles – Chief Evangelist, MariaDB @ Monty Program Ab (soon SkySQL) – Formerly of MySQL – colin@mariadb.org | twitter: @bytebot 2
  • 3. Agenda • MariaDB 10.0 series introduction • Where we stand towards MySQL 5.6 • Features, including MariaDB Galera Cluster 3
  • 4. What’s MariaDB? • 38 months: major releases (5.1, 5.2, 5.3, 5.5, Galera Cluster) and 10.0 series • Still community developed, feature enhanced & backward compatible • maria-captains: 50% MP, 50% community including Sphinxsearch, SkySQL, Taobao, Percona, Codership, Facebook, & more... • GPLv2 server 4
  • 5. Goal hasn’t changed • uninstall mysql-server • install mariadb-server • it should “just work!” (& be compatible) • (or more recently, you just apt-get/yum install mariadb, and it removes mysql) • MySQL compatible: – data on disk & on the wire is same – same file names, sockets, port 5
  • 6. Why MariaDB 10.0? • The 5.5 merge took about a year (!) • In MariaDB 5.5, we have over 1.5 million lines of extra code ~61MB diff • MySQL 5.6 refactored with huge losses in commit history • We’re not a patch set against MySQL – MariaDB clearly does not depend on MySQL for future development 6
  • 7. MariaDB 10.0: In a nutshell... • Built on MariaDB 5.5 • Backported features from MySQL 5.6 • Multiple new features 7
  • 8. First, let’s start with some history • MariaDB 5.1 (MySQL-5.1 base) – Table elimination, new storage engines, cleanup, better tests, pool of threads • MariaDB 5.2 (MariaDB-5.1 base) – Virtual columns, extended user statistics, segmented MyISAM keycache • MariaDB 5.3 (MariaDB-5.2 base) – Biggest changes to optimizer (faster subqueries, joins, etc.) – Microsecond precision, faster HANDLER (HANDLER RED 50% faster w/530,000 qps), dynamic columns – Better replication (group commit, etc.) – HandlerSocket 8
  • 9. MariaDB 5.5 (MariaDB 5.3 + MySQL 5.5) • Opensource, more efficient threadpool • Non-blocking client library • New LIMIT ROWS EXAMINED option • Extended keys for XtraDB/InnoDB • New SphinxSE • Lots of security fixes, new status variables, etc. 9
  • 10. MariaDB 10.0 10 Date Version Status 12 Nov 2012 10.0.0 Alpha 6 Feb 2013 10.0.1 Alpha 24 Apr 2013 10.0.2 Alpha 10.0.3 Beta
  • 11. Backported features • InnoDB including TRANSACTION READ ONLY • PERFORMANCE_SCHEMA • Online ALTER TABLE (in-progress) • Optimizer – ORDER BY...LIMIT optimization (shows only few rows of a result set) • Re-implemented: – Error messages (w/system error string) – CURRENT_TIMESTAMP as DEFAULT for DATETIME columns – Global Transaction ID (10.0.2 - MDEV-26) – Parallel replication • New (optimizer) – EXISTS-TO-IN optimization 11
  • 12. Only in MariaDB 10.0: Multi-source replication • Work from Taobao • Many users partition data across many masters... now you can replicate many masters to a single slave • Great for analytical queries, complete backups, etc. 12
  • 13. Only in MariaDB 10.0: • SHOW EXPLAIN for <thread_id> gets the query plan for a running statement • Faster ALTER TABLE with unique keys for Aria & MyISAM • Per-thread memory usage (Taobao) – INFORMATION_SCHEMA.PROCESSLIST has MEMORY_USAGE & EXAMINED_ROWS now – SHOW STATUS has memory usage too 13
  • 14. Only in MariaDB 10.0: CassandraSE, LevelDB support • MariaDB as a “data platform” • Integration with NoSQL/Big Data DB, Apache Cassandra cluster, seen as a storage engine to MariaDB • Combine (join) data between Cassandra & MariaDB & Oracle (via CONNECT) • Write to Cassandra from SQL (SELECT, INSERT, UPDATE, DELETE) • LevelDB (in-progress) 14
  • 15. Only in MariaDB 10.0: Engine independent persistent statistics • InnoDB has persistent statistics in MySQL 5.6; we have an engine-independent version • These statistics aren’t limited by the SE API, and are used by query optimizer to choose best execution plan for each statement • Statistics collected for non-indexed columns too (unlike InnoDB’s) 15
  • 16. Dynamic columns • Store a different set of columns for every row in the table (kinda NoSQL- like) • Database interoperability is now a major feature; CassandraSE makes uses of this • Can now request a row in JSON format • And yes, you can name columns finally ;) 16
  • 17. Segmented MyISAM keycache • Solves major read bottlenecks for MyISAM • MyISAM usage with many readers 17
  • 18. BKA speedups select max(l_extendedprice) from orders, lineitem where o_orderdate between $DATE1 and $DATE2 and l_orderkey=o_orderkey 18
  • 19. Group commit in the binary log 19 Source: Mark Callaghan, https:// www.facebook.com/note.php? note_id=10150261692455933
  • 20. Group commit even faster in 10.0 • Slow fsync (removing checkpoint per commit saving 1-in-3 fsyncs) • Fast fsync (reduced stall on LOCK_log gives speedup) 20
  • 21. Group commit benchmark against 5.6 • MySQL 5.6 removes checkpoint per commit • More complex thread scheduling, less grouping of commits • Does not remove stall on LOCK_log, less grouping of commits 21
  • 23. MariaDB 10.0.2 • Support for atomic writes on FusionIO DirectFS • Optimizer collects & can use histogram- based statistics for non-indexed columns • Better table discovery, so FederatedX has assisted discovery, Sequence engine (creates ascending/descending sequences, useful in joins) 23
  • 24. Roadmap • MariaDB is already a superset of features in MySQL • Merge is in 2 steps – 10.0.x – 10.1.x • Plan is to have all important features of MySQL 5.6 by the time MariaDB 10.1.x is released as stable – For all practical purposes MariaDB 10.1.x will be a drop in replacement to MySQL 5.6 24
  • 25. LGPL client libraries • LGPL client libraries for C & Java • Works with MariaDB/MySQL/Percona Server • Developed by Monty Program Ab & SkySQL Ab, released as LGPL 29 Nov 2012 • ODBC is in the works, sponsors are welcome! 25
  • 26. MariaDB Galera Cluster • MariaDB Galera Cluster is made for today’s cloud based environments. It is fully read-write scalable, comes with synchronous replication, allows multi- master topologies, and guarantees no lag or lost transactions. • Currently 5.5-based, we see this as important for 10.0 as well (merges will happen closer to GA) 26
  • 27. TokuDB • It’s now opensource • Official MariaDB binaries out within days that includes TokuDB • Tests & builds of TokuDB on multiple platforms (think greater distribution) 27
  • 28. CONNECT storage engine • Made by Olivier Bertrand • Read, write & update files in different storage formats: – .DBF (dBASE format) – .CSV – .INI – XML – ODBC 28
  • 29. Benchmarks • “Lies, damned lies, and statistics” - Mark Twain – http://blog.mariadb.org/sysbench-oltp- mysql-5-6-vs-mariadb-10-0/ – http://dimitrik.free.fr/blog/archives/ 2013/02/mysql-performance-mysql-56- vs-mysql-55-vs-mariadb-55.html • Yes, we’ve gotten Oracle to notice MariaDB :-) 29
  • 30. Continued commitments • Security – Since about a year now, we’re the go-to people for security - good track record • We don’t like regressions – http://www.skysql.com/blogs/hartmut/nasty-innodb- regression-mysql-5525 – http://www.skysql.com/blogs/kolbe/heads-no-more- query-cache-partitioned-tables-mysql-5523 • We care about backward compatibility & introduce features carefully • XtraDB innodb_adaptive_checkpoint=none|reflex| estimate|keep_average (no more reflex...) 30
  • 31. Community involvement • Many features since MariaDB 5.2 have come from the community or are sponsored features (5.3, 5.5) • Knowledgebase has 2,600+ articles in English • Yearly downloads of half a million (more users from mirrors + distributions) • Active mailing lists (stats on KB) • Google Summer of Code 2013 • MariaDB User Groups 31
  • 32. MariaDB is gaining popularity • Wikipedia (English, German), Wikidata running MariaDB 5.5 • Fedora, OpenSUSE shipping MariaDB as a default • Slackware, Chakra Linux, ArchLinux have followed suit • Many success stories at KB: Limelight Networks, Nimbuzz, Paybox, FictionPress, OLX, SlashGear, Web of Trust, SpamExperts, etc. 32
  • 33. Monty Program Ab + SkySQL Ab join forces • Monty Program Ab & SkySQL Ab have entered into a merger agreement • Resulting company has best available development & support people in the MySQL ecosystem • MariaDB Foundation ensures that there never has to be a new fork 33
  • 34. MariaDB Foundation • Foundation is driver of MariaDB project • Custodian of code, guardian of community • Foundation can never be controlled by single entity or person • Designed to be self-sustaining 34
  • 35. MariaDB Foundation Goals • Increase adoption of MariaDB • Ensure sustainable high-quality efforts to build, test and distribute MariaDB • Ensure that community patches are reviewed and adopted • Guarantee a community voice • Keep MariaDB compatible with MySQL • Maintain mariadb.org 35
  • 36. MariaDB Foundation • More founders & sponsors are welcome • Michael Widenius, CTO: monty@mariadb.org • Andrew Katz, Legal Counsel: andrew@mariadb.org • Simon Phipps, CEO: simon@mariadb.org • Jeremy Zawodny (Craigslist), Mike Milinkovich (Eclipse Foundation) on Board 36
  • 37. Coming up next • Merge SPIDER storage engine • Column level encryption via MyDiamo from Penta Security • New optimizations for Fusion-IO • You can shape the roadmap 37
  • 38. Well supported • Everyone supports MariaDB from a support standpoint with the exception of Oracle • Visit the Expo Hall: SkySQL, Percona, AccelerationDB, etc. • Jelastic has it as PaaS too 38
  • 39. FAQ • Can I replicate from MySQL 5.6 to MariaDB 10.x? – Yes • Can I replicate from MariaDB 10.x to MariaDB 5.5? – Yes • Can I replicate from MariaDB 10.x to MySQL 5.5/5.6? – No 39
  • 40. FAQ on tools • SELECT VERSION() returns 10.0.1- MariaDB • Version string in handshake packet will be 5.5.30-mysql-10.0.2-MariaDB (mysql#68187, MDEV-4088) • Tools should start recognising MariaDB for additional feature-set (mytop, HeidiSQL, etc.) 40
  • 41. Conclusion • MariaDB has 30 man years more of development on-top of MySQL 5.5 with many different features • MariaDB is maintained by the people that created original MySQL code • We have 1 million man years of QA (by using the community for QA) • MariaDB is binary compatible with MySQL • MariaDB is opensource, has more features, and have no commercial extensions 41
  • 42. Resources • bugs: mariadb.org/jira • maria-discuss@lists.launchpad.net • maria-developers@lists.launchpad.net • fb.com/MariaDB.dbms • twitter: @mariadb • google plus: +MariaDB • #maria on irc.freenode.net • http://kb.askmonty.org/ 42
  • 43. Q&A? Thanks Michael “Monty” Widenius monty@mariadb.org | @montywi Colin Charles colin@mariadb.org | @bytebot