SlideShare a Scribd company logo
1 of 46
MariaDB: The New
         MySQL?
         Colin Charles, Monty Program Ab
colin@montyprogram.com | colin@mariadb.org
 http://montyprogram.com/ | http://mariadb.org/
  http://bytebot.net/blog/ | @bytebot on Twitter
          HighLoad++, Moscow, Russia
                 23 October 2012
whoami


MariaDB guy at Monty Program Ab

Formerly MySQL AB/Sun Microsystems

Past lives included Fedora Project (FESCO),
OpenOffice.org
Aims


32 months, four major releases
(5.1,5.2,5.3,5.5) & more (Galera Cluster, 10.0)

Discuss the broader MySQL ecosystem

The future of MariaDB
First up...


Thank you Oracle & Percona and the larger
MySQL community for continuing to do work
that is great
MariaDB is... (currently)

 Community developed

 Feature enhanced

   a better MySQL

 Fully compatible with MySQL

   not a fork

   feature complete
Ownership

MySQL (database) owned by MySQL AB
(company) -> Sun -> Oracle

Monty Program is a (major) sponsor of
MariaDB

maria-captains: 50% MP, 50% community
including Sphinxsearch, Twitter, SkySQL,
Taobao, Facebook, Percona, Codership, &
more
Aims of MariaDB

100% compatible, drop-in replacement to MySQL

  i.e. no changes in connectors, app doesn’t
  care its MariaDB unless using new features,
  easy upgrade (uninstall mysql, install mariadb,
  magic!)

Stable (bug-free) releases with no regressions

GPLv2
Compatibility with
        MySQL
NDB cluster included, but not enabled by default

Client libraries, client server protocol, SQL dialect,
master-slave replication all same

Data files supported as long as same versions

XtraDB enabled by default now. InnoDB included too &
may change to default

MariaDB Galera Cluster is a separate download

http://kb.askmonty.org/v/mariadb-versus-mysql-
compatibility
XtraDB
ENGINE=InnoDB uses XtraDB by default

Less checkpointing (smoother), less flushing to disk,
stable performance
MariaDB 5.5

GA April 2012

https://kb.askmonty.org/en/what-is-mariadb-55/

Current release: MariaDB 5.5.27

By far the most popular release of MariaDB
downloaded, in use, today
MariaDB 5.5: an
opensource threadpool
Modified from 5.1 (libevent based), great for CPU bound
loads and short running queries

Windows (threadpool), Linux (epoll), Solaris (event ports),
FreeBSD/OSX (kevents)

No minimization of concurrent transactions with dynamic
pool size
MariaDB 5.5: Better for
       DBAs
non-blocking client library

    start operation, do work in thread, operation processed, result
    travels back

    use cases: multiple queries against single server (utilize more
    CPUs); queries against multiple servers (SHOW STATUS on
    many machines)

    fast node.js driver available: mariasql

SELECT now has LIMIT ROWS EXAMINED to consume less
resources

    SELECT * from t1, t2 LIMIT 10 ROWS EXAMINED 1000;
That’s it?
From December 2010 to April 2012, 3 features for
          a 16 month delay?!?
MariaDB 5.3

Biggest change in the optimizer since it was
written - more complete than MySQL 5.6RC!!!

Replication improvements

Released February 2012

Based on the MySQL 5.1 codebase
Better replication

Original statements logged with row based
replication (RBR) events

Checksum for binlog events

RBR works for tables with no primary key

Consistent snapshot between storage engines
Group commit in the
     binary log
sync_binlog=1, innodb_flush_log_at_trx_commit=1

https://www.facebook.com/note.php?note_id=10150261692455933

http://kb.askmonty.org/en/group-commit-for-the-binary-log
MariaDB 5.3: GIS
       support!

MySQL has OpenGIS SFS (Simple feature
access, SQL access method)

Now, SQL with full geometry types

ST_ prefix

http://kb.askmonty.org/en/gis-features-in-533
Optimizer enhancements

 Join additions

    block nested loop joins for outer-joins, block hash joins,
    Batched Key Access (BKA)

 Optimization for derived tables & views

    mergeable derived tables processed like VIEWs + optimizer
    creates indexes over materialized derived tables

 Disk access optimization

    Index Condition Pushdown (ICP), Multi-Range Read (MRR)
Subquery optimizations
 Semi-join optimization, materialization for non-
 correlated IN queries, subquery cache



 Goodbye rewriting as JOINs or separate queries




                                   DBT-3, 60M rows, 29GB XtraDB
Welcome MySQL 5.6
Instant EXPLAIN

https://kb.askmonty.org/en/optimizer-feature-comparison-matrix/
Progress reporting
    For ALTER TABLE or LOAD DATA INFILE

MariaDB [mail]> alter table mail engine = maria;

Stage: 1 of 2 'copy to tmp table' 17.55% of stage done
MariaDB [mail]> select id, user, db, command, state,
-> time_ms, progress from information_schema.processlist;
+---------+-------------------+-----------+----------+
| command | state               | time_ms | progress |
+---------+-------------------+-----------+----------+
| Query | copy to tmp table | 23407.131 | 17.551 |
+---------+-------------------+-----------+----------+
1 row in set (0.47 sec)
NoSQL access methods

 Comes with HandlerSocket

   direct access to XtraDB/InnoDB for CRUD
   operations

 Dynamic columns

   create columns with dynamic content

   basically a blob with handling functions
MariaDB 5.2

Released November 2011

Pluggable authentication w/PAM plugin

User statistics: CLIENT_STATISTICS,
USER_STATISTICS, INDEX_STATISTICS,
TABLE_STATISTICS (userstats=1)

Virtual columns - PERSISTENT or VIRTUAL
Still using MyISAM?
Mitigates thread contention for key cache lock,
with notable performance improvements

Key caches divided into different segments,
allowing for better key cache concurrency

1-64 segments
SphinxSE
CREATE TABLE t1 (..) ENGINE=SPHINX
CONNECTION=”sphinx://localhost:9312/test”;

Engine connects to Sphinx searchd

Let indexing, searching, sorting, filtering be performed by
Sphinx

   instead of WHERE, ORDER BY, LIMIT

   Sphinx is optimized/fast for these tasks

Most of the Sphinx API is exposed to engine

JOIN search table with other MySQL tables
MariaDB 5.1

Arrived February 2010

Storage engines: XtraDB, FederatedX, PBXT*,
OQGRAPH*, Aria, etc.

microslow patch, processlist w/microsecond
precision

table elimination
What is Aria?


Still just a crash-safe MyISAM

used for temporary tables internally

group commit added in 5.2 to speed up multi-
user inserts
How do we support all
          this?
                 Support      Latest
Version Released                       MySQL
                   till      release
5.1.42   Feb 2010 Feb 2015   5.1.62    5.1.63

 5.2.3   Nov 2010 Nov 2015   5.2.12    5.1.63

 5.3.5   Feb 2012 Feb 2017    5.3.8    5.1.65

5.5.23   Apr 2012 Apr 2017   5.5.28    5.5.28
Oh, and we’re fast
 Oracle loves MySQL performance on
 Microsoft Windows. So do we




OLTP read-only         OLTP write-only
How open is MariaDB?
Mailing lists: Launchpad

   maria-developers@lists.launchpad.net

   maria-discuss@lists.launchpad.net

Code hosting: Launchpad

   http://launchpad.net/maria/

Bugs database/feature worklog: Jira

   http://mariadb.atlassian.net/

#maria on freenode
Knowledgebase
Deployments!
happy users: pap.fr, wabtec, Paybox Services,
OLX, Jelastic, Web of Trust, SaltOS, ERP5, etc.     “We made the switch on Saturday
                                                        -- and we’re seeing benefits
“MariaDB had these same bugs that we ran into        already -- our daily optimization
with MySQL. However the big difference was that      time is down from 24 minutes to
when we reported these bugs, they were quickly         just 4 minutes” -- Ali Watters,
resolved within 48 hours!” -- Dreas van Donselaar,          CEO, travelblog.org
Chief Technology Officer, SpamExperts
B.V. after migrating over 300 servers from MySQL
5.0 to MariaDB 5.1.
                                 “Migrating from MySQL 5.1 to MariaDB 5.2 was as
                                 simple as removing MySQL RPMs and installing the
                                 MariaDB packages, then running mysql_upgrade.” -
                                 Panayot Belchev, proprietor, Host Bulgaria on
                                 providing
                                 MariaDB to over 7,000 of their web hosting
                                 customers.
Getting MariaDB

http://mariadb.org/ has repositories
(APT,YUM) & regular downloads

OpenSUSE build service

Gentoo, FreeBSD, Homebrew, Mageia, many
distributions

http://kb.askmonty.org/v/distributions-which-include-m
We have a book
Other branches

              MariaD       Percon
MySQL Percona        MySQL          MariaDB
                B            a

5.5.20   7.7M   61M   5.5.20 222299 1587843


5.5.22   16M    60M   5.5.22 438567 1540932
What are we missing
from Percona Server?

percona_innodb_buffer_pool_shm - requires
big shmax not default on many systems

percona_log_slow_query_log-
log_slow_verbosity - InnoDB filtering
information not fully in MariaDB

Disabled test suite is resource
Faster even?
             read only? InnoDB/XtraDB is fine
InnoDB has higher throughput, but stalls & checkpoints w/high
                         write load
Track record

We found the latest MySQL security bug and MariaDB was first to be
patched (sql/password.c & memcmp())

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

We care about backward compatibility & introduce features carefully

    XtraDB innodb_adaptive_checkpoint=none|reflex|estimate|
    keep_average (no more reflex...)
We care about quality

Automated test suite run upon every push

Better QA & code coverage

MySQL test cases: 1,765

Percona Server test cases: 1,837

MariaDB test cases: 2,180
User stats plugin
     Disabled by default, consider enabling it to show
     use! http://mariadb.org/feedback_plugin/




data from over 85
    countries!
We love the community

 Tokutek’s TokuDB ships with MariaDB too

 groonga/spider may be merged next

 Multiple software packages talk about us (as
 an alternative to MySQL): Drupal, MediaWiki,
 Plone, phpMyAdmin, WordPress, etc.
Future
MySQL 5.6 just RC, we have most features in 5.5

MariaDB 10.0

   new InnoDB inside MariaDB (done)

   Global transaction ID support

   Multi-source replication (done)

   Enhanced semisync replication

   Persistent InnoDB statistics (done)

   Cassandra Storage Engine (done), HBase Storage Engine

       virtual machine for Cassandra made by community!
MariaDB Galera Cluster
    http://kb.askmonty.org/en/galera/



    Scale your read & write     Now in ALPHA!
workloads, automatically, without
   the need for NDB Cluster!
Support

mariadb.org/service-providers/

SkySQL, Percona, PalominoDB, etc.

Monty Program does developer support &
NRE

  http://montyprogram.com/developer-support/
We’re incredibly social


facebook: fb.com/MariaDB.dbms

twitter: @mariadb

google plus: gplus.to/mariadb

we also have a LinkedIn group
Q&A
colin@montyprogram.com | colin@mariadb.org
 http://montyprogram.com/ | http://mariadb.org/
  twitter: @bytebot | url: http://bytebot.net/blog/

More Related Content

What's hot

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
 
High Performance Drupal with MariaDB
High Performance Drupal with MariaDBHigh Performance Drupal with MariaDB
High Performance Drupal with MariaDBMariaDB Corporation
 
MySQL features missing in MariaDB Server
MySQL features missing in MariaDB ServerMySQL features missing in MariaDB Server
MySQL features missing in MariaDB ServerColin Charles
 
MariaDB - a MySQL Replacement #SELF2014
MariaDB - a MySQL Replacement #SELF2014MariaDB - a MySQL Replacement #SELF2014
MariaDB - a MySQL Replacement #SELF2014Colin 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 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
 
Introduction to MariaDB
Introduction to MariaDBIntroduction to MariaDB
Introduction to MariaDBJongJin Lee
 
Lessons from database failures
Lessons from database failuresLessons from database failures
Lessons from database failuresColin Charles
 
MariaDB Server Compatibility with MySQL
MariaDB Server Compatibility with MySQLMariaDB Server Compatibility with MySQL
MariaDB Server Compatibility with MySQLColin 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
 
MariaDB 10 and what's new with the project
MariaDB 10 and what's new with the projectMariaDB 10 and what's new with the project
MariaDB 10 and what's new with the projectColin Charles
 
MariaDB: The 2012 Edition
MariaDB: The 2012 EditionMariaDB: The 2012 Edition
MariaDB: The 2012 EditionColin 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
 
The MySQL Server ecosystem in 2016
The MySQL Server ecosystem in 2016The MySQL Server ecosystem in 2016
The MySQL Server ecosystem in 2016Colin Charles
 
A beginners guide to MariaDB
A beginners guide to MariaDBA beginners guide to MariaDB
A beginners guide to MariaDBColin 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
 
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
 
MariaDB Server & MySQL Security Essentials 2016
MariaDB Server & MySQL Security Essentials 2016MariaDB Server & MySQL Security Essentials 2016
MariaDB Server & MySQL Security Essentials 2016Colin Charles
 

What's hot (19)

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)
 
Why MariaDB?
Why MariaDB?Why MariaDB?
Why MariaDB?
 
High Performance Drupal with MariaDB
High Performance Drupal with MariaDBHigh Performance Drupal with MariaDB
High Performance Drupal with MariaDB
 
MySQL features missing in MariaDB Server
MySQL features missing in MariaDB ServerMySQL features missing in MariaDB Server
MySQL features missing in MariaDB Server
 
MariaDB - a MySQL Replacement #SELF2014
MariaDB - a MySQL Replacement #SELF2014MariaDB - a MySQL Replacement #SELF2014
MariaDB - a MySQL Replacement #SELF2014
 
MariaDB 10.0 - SkySQL Paris Meetup
MariaDB 10.0 - SkySQL Paris MeetupMariaDB 10.0 - SkySQL Paris Meetup
MariaDB 10.0 - SkySQL Paris Meetup
 
MariaDB 10: A MySQL Replacement - HKOSC
MariaDB 10: A MySQL Replacement - HKOSC MariaDB 10: A MySQL Replacement - HKOSC
MariaDB 10: A MySQL Replacement - HKOSC
 
Introduction to MariaDB
Introduction to MariaDBIntroduction to MariaDB
Introduction to MariaDB
 
Lessons from database failures
Lessons from database failuresLessons from database failures
Lessons from database failures
 
MariaDB Server Compatibility with MySQL
MariaDB Server Compatibility with MySQLMariaDB Server Compatibility with MySQL
MariaDB Server Compatibility with MySQL
 
Securing your MySQL / MariaDB Server data
Securing your MySQL / MariaDB Server dataSecuring your MySQL / MariaDB Server data
Securing your MySQL / MariaDB Server data
 
MariaDB 10 and what's new with the project
MariaDB 10 and what's new with the projectMariaDB 10 and what's new with the project
MariaDB 10 and what's new with the project
 
MariaDB: The 2012 Edition
MariaDB: The 2012 EditionMariaDB: The 2012 Edition
MariaDB: The 2012 Edition
 
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
 
The MySQL Server ecosystem in 2016
The MySQL Server ecosystem in 2016The MySQL Server ecosystem in 2016
The MySQL Server ecosystem in 2016
 
A beginners guide to MariaDB
A beginners guide to MariaDBA beginners guide to MariaDB
A beginners guide to MariaDB
 
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
 
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!
 
MariaDB Server & MySQL Security Essentials 2016
MariaDB Server & MySQL Security Essentials 2016MariaDB Server & MySQL Security Essentials 2016
MariaDB Server & MySQL Security Essentials 2016
 

Viewers also liked

MySQL Storage Engines Landscape
MySQL Storage Engines LandscapeMySQL Storage Engines Landscape
MySQL Storage Engines LandscapeColin Charles
 
SQL vs. NoSQL Databases
SQL vs. NoSQL DatabasesSQL vs. NoSQL Databases
SQL vs. NoSQL DatabasesOsama Jomaa
 
Learn PHP MySQL with Project
Learn PHP MySQL with ProjectLearn PHP MySQL with Project
Learn PHP MySQL with Projectayman diab
 
Rafeeq Rehman - Breaking the Phishing Attack Chain
Rafeeq Rehman - Breaking the Phishing Attack ChainRafeeq Rehman - Breaking the Phishing Attack Chain
Rafeeq Rehman - Breaking the Phishing Attack Chaincentralohioissa
 
CYBER CRIME PRESENTATION PART 2 BY KRISHNAKNT ARUNKUMAR MISHRA
CYBER CRIME PRESENTATION PART 2 BY KRISHNAKNT ARUNKUMAR MISHRACYBER CRIME PRESENTATION PART 2 BY KRISHNAKNT ARUNKUMAR MISHRA
CYBER CRIME PRESENTATION PART 2 BY KRISHNAKNT ARUNKUMAR MISHRAKrishnakant Mishra
 
CFMA Cyber Crime Presentation
CFMA Cyber Crime PresentationCFMA Cyber Crime Presentation
CFMA Cyber Crime PresentationSteve Machesney
 
Spear phishing attacks-by-hari_krishna
Spear phishing attacks-by-hari_krishnaSpear phishing attacks-by-hari_krishna
Spear phishing attacks-by-hari_krishnaRaghunath G
 
Introduction to xampp
Introduction to xamppIntroduction to xampp
Introduction to xamppJin Castor
 
NoSQL databases pros and cons
NoSQL databases pros and consNoSQL databases pros and cons
NoSQL databases pros and consFabio Fumarola
 
Sql vs NoSQL
Sql vs NoSQLSql vs NoSQL
Sql vs NoSQLRTigger
 
NoSQL Databases: Why, what and when
NoSQL Databases: Why, what and whenNoSQL Databases: Why, what and when
NoSQL Databases: Why, what and whenLorenzo Alberton
 
Introduction to NoSQL Databases
Introduction to NoSQL DatabasesIntroduction to NoSQL Databases
Introduction to NoSQL DatabasesDerek Stainer
 
Cybercrime.ppt
Cybercrime.pptCybercrime.ppt
Cybercrime.pptAeman Khan
 

Viewers also liked (20)

MySQL Storage Engines Landscape
MySQL Storage Engines LandscapeMySQL Storage Engines Landscape
MySQL Storage Engines Landscape
 
RDBMS vs NoSQL
RDBMS vs NoSQLRDBMS vs NoSQL
RDBMS vs NoSQL
 
SQL vs. NoSQL Databases
SQL vs. NoSQL DatabasesSQL vs. NoSQL Databases
SQL vs. NoSQL Databases
 
Apache
ApacheApache
Apache
 
Learn PHP MySQL with Project
Learn PHP MySQL with ProjectLearn PHP MySQL with Project
Learn PHP MySQL with Project
 
Mysql
MysqlMysql
Mysql
 
Rafeeq Rehman - Breaking the Phishing Attack Chain
Rafeeq Rehman - Breaking the Phishing Attack ChainRafeeq Rehman - Breaking the Phishing Attack Chain
Rafeeq Rehman - Breaking the Phishing Attack Chain
 
CYBER CRIME PRESENTATION PART 2 BY KRISHNAKNT ARUNKUMAR MISHRA
CYBER CRIME PRESENTATION PART 2 BY KRISHNAKNT ARUNKUMAR MISHRACYBER CRIME PRESENTATION PART 2 BY KRISHNAKNT ARUNKUMAR MISHRA
CYBER CRIME PRESENTATION PART 2 BY KRISHNAKNT ARUNKUMAR MISHRA
 
CFMA Cyber Crime Presentation
CFMA Cyber Crime PresentationCFMA Cyber Crime Presentation
CFMA Cyber Crime Presentation
 
MySQL Backup & Recovery
MySQL Backup & RecoveryMySQL Backup & Recovery
MySQL Backup & Recovery
 
FBI Cybercrime Presentation
FBI Cybercrime PresentationFBI Cybercrime Presentation
FBI Cybercrime Presentation
 
Xampp Ppt
Xampp PptXampp Ppt
Xampp Ppt
 
SQL vs. NoSQL
SQL vs. NoSQLSQL vs. NoSQL
SQL vs. NoSQL
 
Spear phishing attacks-by-hari_krishna
Spear phishing attacks-by-hari_krishnaSpear phishing attacks-by-hari_krishna
Spear phishing attacks-by-hari_krishna
 
Introduction to xampp
Introduction to xamppIntroduction to xampp
Introduction to xampp
 
NoSQL databases pros and cons
NoSQL databases pros and consNoSQL databases pros and cons
NoSQL databases pros and cons
 
Sql vs NoSQL
Sql vs NoSQLSql vs NoSQL
Sql vs NoSQL
 
NoSQL Databases: Why, what and when
NoSQL Databases: Why, what and whenNoSQL Databases: Why, what and when
NoSQL Databases: Why, what and when
 
Introduction to NoSQL Databases
Introduction to NoSQL DatabasesIntroduction to NoSQL Databases
Introduction to NoSQL Databases
 
Cybercrime.ppt
Cybercrime.pptCybercrime.ppt
Cybercrime.ppt
 

Similar to Maria db the new mysql (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 CharlesInsight Technology, Inc.
 
MariaDB 5.5 and what comes next - Percona Live NYC 2012
MariaDB 5.5 and what comes next - Percona Live NYC 2012MariaDB 5.5 and what comes next - Percona Live NYC 2012
MariaDB 5.5 and what comes next - Percona Live NYC 2012Colin Charles
 
MariaDB 10.2 & MariaDB 10.1 by Michael Monty Widenius at Database Camp 2016 @ UN
MariaDB 10.2 & MariaDB 10.1 by Michael Monty Widenius at Database Camp 2016 @ UNMariaDB 10.2 & MariaDB 10.1 by Michael Monty Widenius at Database Camp 2016 @ UN
MariaDB 10.2 & MariaDB 10.1 by Michael Monty Widenius at Database Camp 2016 @ UN✔ Eric David Benari, PMP
 
Introduction of MariaDB 2017 09
Introduction of MariaDB 2017 09Introduction of MariaDB 2017 09
Introduction of MariaDB 2017 09GOTO Satoru
 
Customer Experience: InnoDB Cluster Implementation by PR Karthik
Customer Experience: InnoDB Cluster Implementation by PR KarthikCustomer Experience: InnoDB Cluster Implementation by PR Karthik
Customer Experience: InnoDB Cluster Implementation by PR KarthikMysql User Camp
 
InnoDB Cluster Experience (MySQL User Camp)
InnoDB Cluster Experience (MySQL User Camp)InnoDB Cluster Experience (MySQL User Camp)
InnoDB Cluster Experience (MySQL User Camp)Mydbops
 
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
 
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 TkachenkoData Con LA
 
Mariadb10 和新项目中有什么
Mariadb10 和新项目中有什么Mariadb10 和新项目中有什么
Mariadb10 和新项目中有什么YUCHENG HU
 
MariaDB und mehr - MariaDB Roadshow Summer 2014 Hamburg Berlin Frankfurt
MariaDB und mehr - MariaDB Roadshow Summer 2014 Hamburg Berlin FrankfurtMariaDB und mehr - MariaDB Roadshow Summer 2014 Hamburg Berlin Frankfurt
MariaDB und mehr - MariaDB Roadshow Summer 2014 Hamburg Berlin FrankfurtMariaDB Corporation
 
MySQL Scalability and Reliability for Replicated Environment
MySQL Scalability and Reliability for Replicated EnvironmentMySQL Scalability and Reliability for Replicated Environment
MySQL Scalability and Reliability for Replicated EnvironmentJean-François Gagné
 
SkySQL MariaDB 云数据组件
SkySQL MariaDB 云数据组件SkySQL MariaDB 云数据组件
SkySQL MariaDB 云数据组件YUCHENG HU
 
MySQL Ecosystem in 2020
MySQL Ecosystem in 2020MySQL Ecosystem in 2020
MySQL Ecosystem in 2020Alkin Tezuysal
 
MariaDB Enterprise & MariaDB Enterprise Cluster - MariaDB Webinar July 2014
MariaDB Enterprise & MariaDB Enterprise Cluster - MariaDB Webinar July 2014MariaDB Enterprise & MariaDB Enterprise Cluster - MariaDB Webinar July 2014
MariaDB Enterprise & MariaDB Enterprise Cluster - MariaDB Webinar July 2014MariaDB Corporation
 
The New MariaDB Offering - MariaDB 10, MaxScale and more
The New MariaDB Offering - MariaDB 10, MaxScale and moreThe New MariaDB Offering - MariaDB 10, MaxScale and more
The New MariaDB Offering - MariaDB 10, MaxScale and moreMariaDB Corporation
 
My sql 56_roadmap_april2012
My sql 56_roadmap_april2012My sql 56_roadmap_april2012
My sql 56_roadmap_april2012sqlhjalp
 
MariaDB 初学者指南
MariaDB 初学者指南MariaDB 初学者指南
MariaDB 初学者指南YUCHENG HU
 
Exploring mysql cluster 7.4
Exploring mysql cluster 7.4Exploring mysql cluster 7.4
Exploring mysql cluster 7.4Ivan Ma
 
The New MariaDB Offering: MariaDB 10, MaxScale and More
The New MariaDB Offering: MariaDB 10, MaxScale and MoreThe New MariaDB Offering: MariaDB 10, MaxScale and More
The New MariaDB Offering: MariaDB 10, MaxScale and MoreMariaDB Corporation
 

Similar to Maria db the new mysql (Colin Charles) (20)

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 5.5 and what comes next - Percona Live NYC 2012
MariaDB 5.5 and what comes next - Percona Live NYC 2012MariaDB 5.5 and what comes next - Percona Live NYC 2012
MariaDB 5.5 and what comes next - Percona Live NYC 2012
 
MariaDB 10.2 & MariaDB 10.1 by Michael Monty Widenius at Database Camp 2016 @ UN
MariaDB 10.2 & MariaDB 10.1 by Michael Monty Widenius at Database Camp 2016 @ UNMariaDB 10.2 & MariaDB 10.1 by Michael Monty Widenius at Database Camp 2016 @ UN
MariaDB 10.2 & MariaDB 10.1 by Michael Monty Widenius at Database Camp 2016 @ UN
 
Introduction of MariaDB 2017 09
Introduction of MariaDB 2017 09Introduction of MariaDB 2017 09
Introduction of MariaDB 2017 09
 
Customer Experience: InnoDB Cluster Implementation by PR Karthik
Customer Experience: InnoDB Cluster Implementation by PR KarthikCustomer Experience: InnoDB Cluster Implementation by PR Karthik
Customer Experience: InnoDB Cluster Implementation by PR Karthik
 
InnoDB Cluster Experience (MySQL User Camp)
InnoDB Cluster Experience (MySQL User Camp)InnoDB Cluster Experience (MySQL User Camp)
InnoDB Cluster Experience (MySQL User Camp)
 
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
 
MariaDB 10 and Beyond
MariaDB 10 and BeyondMariaDB 10 and Beyond
MariaDB 10 and Beyond
 
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
 
Mariadb10 和新项目中有什么
Mariadb10 和新项目中有什么Mariadb10 和新项目中有什么
Mariadb10 和新项目中有什么
 
MariaDB und mehr - MariaDB Roadshow Summer 2014 Hamburg Berlin Frankfurt
MariaDB und mehr - MariaDB Roadshow Summer 2014 Hamburg Berlin FrankfurtMariaDB und mehr - MariaDB Roadshow Summer 2014 Hamburg Berlin Frankfurt
MariaDB und mehr - MariaDB Roadshow Summer 2014 Hamburg Berlin Frankfurt
 
MySQL Scalability and Reliability for Replicated Environment
MySQL Scalability and Reliability for Replicated EnvironmentMySQL Scalability and Reliability for Replicated Environment
MySQL Scalability and Reliability for Replicated Environment
 
SkySQL MariaDB 云数据组件
SkySQL MariaDB 云数据组件SkySQL MariaDB 云数据组件
SkySQL MariaDB 云数据组件
 
MySQL Ecosystem in 2020
MySQL Ecosystem in 2020MySQL Ecosystem in 2020
MySQL Ecosystem in 2020
 
MariaDB Enterprise & MariaDB Enterprise Cluster - MariaDB Webinar July 2014
MariaDB Enterprise & MariaDB Enterprise Cluster - MariaDB Webinar July 2014MariaDB Enterprise & MariaDB Enterprise Cluster - MariaDB Webinar July 2014
MariaDB Enterprise & MariaDB Enterprise Cluster - MariaDB Webinar July 2014
 
The New MariaDB Offering - MariaDB 10, MaxScale and more
The New MariaDB Offering - MariaDB 10, MaxScale and moreThe New MariaDB Offering - MariaDB 10, MaxScale and more
The New MariaDB Offering - MariaDB 10, MaxScale and more
 
My sql 56_roadmap_april2012
My sql 56_roadmap_april2012My sql 56_roadmap_april2012
My sql 56_roadmap_april2012
 
MariaDB 初学者指南
MariaDB 初学者指南MariaDB 初学者指南
MariaDB 初学者指南
 
Exploring mysql cluster 7.4
Exploring mysql cluster 7.4Exploring mysql cluster 7.4
Exploring mysql cluster 7.4
 
The New MariaDB Offering: MariaDB 10, MaxScale and More
The New MariaDB Offering: MariaDB 10, MaxScale and MoreThe New MariaDB Offering: MariaDB 10, MaxScale and More
The New MariaDB Offering: MariaDB 10, MaxScale and More
 

More from Ontico

One-cloud — система управления дата-центром в Одноклассниках / Олег Анастасье...
One-cloud — система управления дата-центром в Одноклассниках / Олег Анастасье...One-cloud — система управления дата-центром в Одноклассниках / Олег Анастасье...
One-cloud — система управления дата-центром в Одноклассниках / Олег Анастасье...Ontico
 
Масштабируя DNS / Артем Гавриченков (Qrator Labs)
Масштабируя DNS / Артем Гавриченков (Qrator Labs)Масштабируя DNS / Артем Гавриченков (Qrator Labs)
Масштабируя DNS / Артем Гавриченков (Qrator Labs)Ontico
 
Создание BigData-платформы для ФГУП Почта России / Андрей Бащенко (Luxoft)
Создание BigData-платформы для ФГУП Почта России / Андрей Бащенко (Luxoft)Создание BigData-платформы для ФГУП Почта России / Андрей Бащенко (Luxoft)
Создание BigData-платформы для ФГУП Почта России / Андрей Бащенко (Luxoft)Ontico
 
Готовим тестовое окружение, или сколько тестовых инстансов вам нужно / Алекса...
Готовим тестовое окружение, или сколько тестовых инстансов вам нужно / Алекса...Готовим тестовое окружение, или сколько тестовых инстансов вам нужно / Алекса...
Готовим тестовое окружение, или сколько тестовых инстансов вам нужно / Алекса...Ontico
 
Новые технологии репликации данных в PostgreSQL / Александр Алексеев (Postgre...
Новые технологии репликации данных в PostgreSQL / Александр Алексеев (Postgre...Новые технологии репликации данных в PostgreSQL / Александр Алексеев (Postgre...
Новые технологии репликации данных в PostgreSQL / Александр Алексеев (Postgre...Ontico
 
PostgreSQL Configuration for Humans / Alvaro Hernandez (OnGres)
PostgreSQL Configuration for Humans / Alvaro Hernandez (OnGres)PostgreSQL Configuration for Humans / Alvaro Hernandez (OnGres)
PostgreSQL Configuration for Humans / Alvaro Hernandez (OnGres)Ontico
 
Inexpensive Datamasking for MySQL with ProxySQL — Data Anonymization for Deve...
Inexpensive Datamasking for MySQL with ProxySQL — Data Anonymization for Deve...Inexpensive Datamasking for MySQL with ProxySQL — Data Anonymization for Deve...
Inexpensive Datamasking for MySQL with ProxySQL — Data Anonymization for Deve...Ontico
 
Опыт разработки модуля межсетевого экранирования для MySQL / Олег Брославский...
Опыт разработки модуля межсетевого экранирования для MySQL / Олег Брославский...Опыт разработки модуля межсетевого экранирования для MySQL / Олег Брославский...
Опыт разработки модуля межсетевого экранирования для MySQL / Олег Брославский...Ontico
 
ProxySQL Use Case Scenarios / Alkin Tezuysal (Percona)
ProxySQL Use Case Scenarios / Alkin Tezuysal (Percona)ProxySQL Use Case Scenarios / Alkin Tezuysal (Percona)
ProxySQL Use Case Scenarios / Alkin Tezuysal (Percona)Ontico
 
MySQL Replication — Advanced Features / Петр Зайцев (Percona)
MySQL Replication — Advanced Features / Петр Зайцев (Percona)MySQL Replication — Advanced Features / Петр Зайцев (Percona)
MySQL Replication — Advanced Features / Петр Зайцев (Percona)Ontico
 
Внутренний open-source. Как разрабатывать мобильное приложение большим количе...
Внутренний open-source. Как разрабатывать мобильное приложение большим количе...Внутренний open-source. Как разрабатывать мобильное приложение большим количе...
Внутренний open-source. Как разрабатывать мобильное приложение большим количе...Ontico
 
Подробно о том, как Causal Consistency реализовано в MongoDB / Михаил Тюленев...
Подробно о том, как Causal Consistency реализовано в MongoDB / Михаил Тюленев...Подробно о том, как Causal Consistency реализовано в MongoDB / Михаил Тюленев...
Подробно о том, как Causal Consistency реализовано в MongoDB / Михаил Тюленев...Ontico
 
Балансировка на скорости проводов. Без ASIC, без ограничений. Решения NFWare ...
Балансировка на скорости проводов. Без ASIC, без ограничений. Решения NFWare ...Балансировка на скорости проводов. Без ASIC, без ограничений. Решения NFWare ...
Балансировка на скорости проводов. Без ASIC, без ограничений. Решения NFWare ...Ontico
 
Перехват трафика — мифы и реальность / Евгений Усков (Qrator Labs)
Перехват трафика — мифы и реальность / Евгений Усков (Qrator Labs)Перехват трафика — мифы и реальность / Евгений Усков (Qrator Labs)
Перехват трафика — мифы и реальность / Евгений Усков (Qrator Labs)Ontico
 
И тогда наверняка вдруг запляшут облака! / Алексей Сушков (ПЕТЕР-СЕРВИС)
И тогда наверняка вдруг запляшут облака! / Алексей Сушков (ПЕТЕР-СЕРВИС)И тогда наверняка вдруг запляшут облака! / Алексей Сушков (ПЕТЕР-СЕРВИС)
И тогда наверняка вдруг запляшут облака! / Алексей Сушков (ПЕТЕР-СЕРВИС)Ontico
 
Как мы заставили Druid работать в Одноклассниках / Юрий Невиницин (OK.RU)
Как мы заставили Druid работать в Одноклассниках / Юрий Невиницин (OK.RU)Как мы заставили Druid работать в Одноклассниках / Юрий Невиницин (OK.RU)
Как мы заставили Druid работать в Одноклассниках / Юрий Невиницин (OK.RU)Ontico
 
Разгоняем ASP.NET Core / Илья Вербицкий (WebStoating s.r.o.)
Разгоняем ASP.NET Core / Илья Вербицкий (WebStoating s.r.o.)Разгоняем ASP.NET Core / Илья Вербицкий (WebStoating s.r.o.)
Разгоняем ASP.NET Core / Илья Вербицкий (WebStoating s.r.o.)Ontico
 
100500 способов кэширования в Oracle Database или как достичь максимальной ск...
100500 способов кэширования в Oracle Database или как достичь максимальной ск...100500 способов кэширования в Oracle Database или как достичь максимальной ск...
100500 способов кэширования в Oracle Database или как достичь максимальной ск...Ontico
 
Apache Ignite Persistence: зачем Persistence для In-Memory, и как он работает...
Apache Ignite Persistence: зачем Persistence для In-Memory, и как он работает...Apache Ignite Persistence: зачем Persistence для In-Memory, и как он работает...
Apache Ignite Persistence: зачем Persistence для In-Memory, и как он работает...Ontico
 
Механизмы мониторинга баз данных: взгляд изнутри / Дмитрий Еманов (Firebird P...
Механизмы мониторинга баз данных: взгляд изнутри / Дмитрий Еманов (Firebird P...Механизмы мониторинга баз данных: взгляд изнутри / Дмитрий Еманов (Firebird P...
Механизмы мониторинга баз данных: взгляд изнутри / Дмитрий Еманов (Firebird P...Ontico
 

More from Ontico (20)

One-cloud — система управления дата-центром в Одноклассниках / Олег Анастасье...
One-cloud — система управления дата-центром в Одноклассниках / Олег Анастасье...One-cloud — система управления дата-центром в Одноклассниках / Олег Анастасье...
One-cloud — система управления дата-центром в Одноклассниках / Олег Анастасье...
 
Масштабируя DNS / Артем Гавриченков (Qrator Labs)
Масштабируя DNS / Артем Гавриченков (Qrator Labs)Масштабируя DNS / Артем Гавриченков (Qrator Labs)
Масштабируя DNS / Артем Гавриченков (Qrator Labs)
 
Создание BigData-платформы для ФГУП Почта России / Андрей Бащенко (Luxoft)
Создание BigData-платформы для ФГУП Почта России / Андрей Бащенко (Luxoft)Создание BigData-платформы для ФГУП Почта России / Андрей Бащенко (Luxoft)
Создание BigData-платформы для ФГУП Почта России / Андрей Бащенко (Luxoft)
 
Готовим тестовое окружение, или сколько тестовых инстансов вам нужно / Алекса...
Готовим тестовое окружение, или сколько тестовых инстансов вам нужно / Алекса...Готовим тестовое окружение, или сколько тестовых инстансов вам нужно / Алекса...
Готовим тестовое окружение, или сколько тестовых инстансов вам нужно / Алекса...
 
Новые технологии репликации данных в PostgreSQL / Александр Алексеев (Postgre...
Новые технологии репликации данных в PostgreSQL / Александр Алексеев (Postgre...Новые технологии репликации данных в PostgreSQL / Александр Алексеев (Postgre...
Новые технологии репликации данных в PostgreSQL / Александр Алексеев (Postgre...
 
PostgreSQL Configuration for Humans / Alvaro Hernandez (OnGres)
PostgreSQL Configuration for Humans / Alvaro Hernandez (OnGres)PostgreSQL Configuration for Humans / Alvaro Hernandez (OnGres)
PostgreSQL Configuration for Humans / Alvaro Hernandez (OnGres)
 
Inexpensive Datamasking for MySQL with ProxySQL — Data Anonymization for Deve...
Inexpensive Datamasking for MySQL with ProxySQL — Data Anonymization for Deve...Inexpensive Datamasking for MySQL with ProxySQL — Data Anonymization for Deve...
Inexpensive Datamasking for MySQL with ProxySQL — Data Anonymization for Deve...
 
Опыт разработки модуля межсетевого экранирования для MySQL / Олег Брославский...
Опыт разработки модуля межсетевого экранирования для MySQL / Олег Брославский...Опыт разработки модуля межсетевого экранирования для MySQL / Олег Брославский...
Опыт разработки модуля межсетевого экранирования для MySQL / Олег Брославский...
 
ProxySQL Use Case Scenarios / Alkin Tezuysal (Percona)
ProxySQL Use Case Scenarios / Alkin Tezuysal (Percona)ProxySQL Use Case Scenarios / Alkin Tezuysal (Percona)
ProxySQL Use Case Scenarios / Alkin Tezuysal (Percona)
 
MySQL Replication — Advanced Features / Петр Зайцев (Percona)
MySQL Replication — Advanced Features / Петр Зайцев (Percona)MySQL Replication — Advanced Features / Петр Зайцев (Percona)
MySQL Replication — Advanced Features / Петр Зайцев (Percona)
 
Внутренний open-source. Как разрабатывать мобильное приложение большим количе...
Внутренний open-source. Как разрабатывать мобильное приложение большим количе...Внутренний open-source. Как разрабатывать мобильное приложение большим количе...
Внутренний open-source. Как разрабатывать мобильное приложение большим количе...
 
Подробно о том, как Causal Consistency реализовано в MongoDB / Михаил Тюленев...
Подробно о том, как Causal Consistency реализовано в MongoDB / Михаил Тюленев...Подробно о том, как Causal Consistency реализовано в MongoDB / Михаил Тюленев...
Подробно о том, как Causal Consistency реализовано в MongoDB / Михаил Тюленев...
 
Балансировка на скорости проводов. Без ASIC, без ограничений. Решения NFWare ...
Балансировка на скорости проводов. Без ASIC, без ограничений. Решения NFWare ...Балансировка на скорости проводов. Без ASIC, без ограничений. Решения NFWare ...
Балансировка на скорости проводов. Без ASIC, без ограничений. Решения NFWare ...
 
Перехват трафика — мифы и реальность / Евгений Усков (Qrator Labs)
Перехват трафика — мифы и реальность / Евгений Усков (Qrator Labs)Перехват трафика — мифы и реальность / Евгений Усков (Qrator Labs)
Перехват трафика — мифы и реальность / Евгений Усков (Qrator Labs)
 
И тогда наверняка вдруг запляшут облака! / Алексей Сушков (ПЕТЕР-СЕРВИС)
И тогда наверняка вдруг запляшут облака! / Алексей Сушков (ПЕТЕР-СЕРВИС)И тогда наверняка вдруг запляшут облака! / Алексей Сушков (ПЕТЕР-СЕРВИС)
И тогда наверняка вдруг запляшут облака! / Алексей Сушков (ПЕТЕР-СЕРВИС)
 
Как мы заставили Druid работать в Одноклассниках / Юрий Невиницин (OK.RU)
Как мы заставили Druid работать в Одноклассниках / Юрий Невиницин (OK.RU)Как мы заставили Druid работать в Одноклассниках / Юрий Невиницин (OK.RU)
Как мы заставили Druid работать в Одноклассниках / Юрий Невиницин (OK.RU)
 
Разгоняем ASP.NET Core / Илья Вербицкий (WebStoating s.r.o.)
Разгоняем ASP.NET Core / Илья Вербицкий (WebStoating s.r.o.)Разгоняем ASP.NET Core / Илья Вербицкий (WebStoating s.r.o.)
Разгоняем ASP.NET Core / Илья Вербицкий (WebStoating s.r.o.)
 
100500 способов кэширования в Oracle Database или как достичь максимальной ск...
100500 способов кэширования в Oracle Database или как достичь максимальной ск...100500 способов кэширования в Oracle Database или как достичь максимальной ск...
100500 способов кэширования в Oracle Database или как достичь максимальной ск...
 
Apache Ignite Persistence: зачем Persistence для In-Memory, и как он работает...
Apache Ignite Persistence: зачем Persistence для In-Memory, и как он работает...Apache Ignite Persistence: зачем Persistence для In-Memory, и как он работает...
Apache Ignite Persistence: зачем Persistence для In-Memory, и как он работает...
 
Механизмы мониторинга баз данных: взгляд изнутри / Дмитрий Еманов (Firebird P...
Механизмы мониторинга баз данных: взгляд изнутри / Дмитрий Еманов (Firebird P...Механизмы мониторинга баз данных: взгляд изнутри / Дмитрий Еманов (Firebird P...
Механизмы мониторинга баз данных: взгляд изнутри / Дмитрий Еманов (Firebird P...
 

Maria db the new mysql (Colin Charles)

  • 1. MariaDB: The New MySQL? Colin Charles, Monty Program Ab colin@montyprogram.com | colin@mariadb.org http://montyprogram.com/ | http://mariadb.org/ http://bytebot.net/blog/ | @bytebot on Twitter HighLoad++, Moscow, Russia 23 October 2012
  • 2. whoami MariaDB guy at Monty Program Ab Formerly MySQL AB/Sun Microsystems Past lives included Fedora Project (FESCO), OpenOffice.org
  • 3. Aims 32 months, four major releases (5.1,5.2,5.3,5.5) & more (Galera Cluster, 10.0) Discuss the broader MySQL ecosystem The future of MariaDB
  • 4. First up... Thank you Oracle & Percona and the larger MySQL community for continuing to do work that is great
  • 5. MariaDB is... (currently) Community developed Feature enhanced a better MySQL Fully compatible with MySQL not a fork feature complete
  • 6. Ownership MySQL (database) owned by MySQL AB (company) -> Sun -> Oracle Monty Program is a (major) sponsor of MariaDB maria-captains: 50% MP, 50% community including Sphinxsearch, Twitter, SkySQL, Taobao, Facebook, Percona, Codership, & more
  • 7. Aims of MariaDB 100% compatible, drop-in replacement to MySQL i.e. no changes in connectors, app doesn’t care its MariaDB unless using new features, easy upgrade (uninstall mysql, install mariadb, magic!) Stable (bug-free) releases with no regressions GPLv2
  • 8. Compatibility with MySQL NDB cluster included, but not enabled by default Client libraries, client server protocol, SQL dialect, master-slave replication all same Data files supported as long as same versions XtraDB enabled by default now. InnoDB included too & may change to default MariaDB Galera Cluster is a separate download http://kb.askmonty.org/v/mariadb-versus-mysql- compatibility
  • 9. XtraDB ENGINE=InnoDB uses XtraDB by default Less checkpointing (smoother), less flushing to disk, stable performance
  • 10. MariaDB 5.5 GA April 2012 https://kb.askmonty.org/en/what-is-mariadb-55/ Current release: MariaDB 5.5.27 By far the most popular release of MariaDB downloaded, in use, today
  • 11. MariaDB 5.5: an opensource threadpool Modified from 5.1 (libevent based), great for CPU bound loads and short running queries Windows (threadpool), Linux (epoll), Solaris (event ports), FreeBSD/OSX (kevents) No minimization of concurrent transactions with dynamic pool size
  • 12. MariaDB 5.5: Better for DBAs non-blocking client library start operation, do work in thread, operation processed, result travels back use cases: multiple queries against single server (utilize more CPUs); queries against multiple servers (SHOW STATUS on many machines) fast node.js driver available: mariasql SELECT now has LIMIT ROWS EXAMINED to consume less resources SELECT * from t1, t2 LIMIT 10 ROWS EXAMINED 1000;
  • 13. That’s it? From December 2010 to April 2012, 3 features for a 16 month delay?!?
  • 14. MariaDB 5.3 Biggest change in the optimizer since it was written - more complete than MySQL 5.6RC!!! Replication improvements Released February 2012 Based on the MySQL 5.1 codebase
  • 15. Better replication Original statements logged with row based replication (RBR) events Checksum for binlog events RBR works for tables with no primary key Consistent snapshot between storage engines
  • 16. Group commit in the binary log sync_binlog=1, innodb_flush_log_at_trx_commit=1 https://www.facebook.com/note.php?note_id=10150261692455933 http://kb.askmonty.org/en/group-commit-for-the-binary-log
  • 17. MariaDB 5.3: GIS support! MySQL has OpenGIS SFS (Simple feature access, SQL access method) Now, SQL with full geometry types ST_ prefix http://kb.askmonty.org/en/gis-features-in-533
  • 18. Optimizer enhancements Join additions block nested loop joins for outer-joins, block hash joins, Batched Key Access (BKA) Optimization for derived tables & views mergeable derived tables processed like VIEWs + optimizer creates indexes over materialized derived tables Disk access optimization Index Condition Pushdown (ICP), Multi-Range Read (MRR)
  • 19. Subquery optimizations Semi-join optimization, materialization for non- correlated IN queries, subquery cache Goodbye rewriting as JOINs or separate queries DBT-3, 60M rows, 29GB XtraDB
  • 20. Welcome MySQL 5.6 Instant EXPLAIN https://kb.askmonty.org/en/optimizer-feature-comparison-matrix/
  • 21. Progress reporting For ALTER TABLE or LOAD DATA INFILE MariaDB [mail]> alter table mail engine = maria; Stage: 1 of 2 'copy to tmp table' 17.55% of stage done MariaDB [mail]> select id, user, db, command, state, -> time_ms, progress from information_schema.processlist; +---------+-------------------+-----------+----------+ | command | state | time_ms | progress | +---------+-------------------+-----------+----------+ | Query | copy to tmp table | 23407.131 | 17.551 | +---------+-------------------+-----------+----------+ 1 row in set (0.47 sec)
  • 22. NoSQL access methods Comes with HandlerSocket direct access to XtraDB/InnoDB for CRUD operations Dynamic columns create columns with dynamic content basically a blob with handling functions
  • 23. MariaDB 5.2 Released November 2011 Pluggable authentication w/PAM plugin User statistics: CLIENT_STATISTICS, USER_STATISTICS, INDEX_STATISTICS, TABLE_STATISTICS (userstats=1) Virtual columns - PERSISTENT or VIRTUAL
  • 24. Still using MyISAM? Mitigates thread contention for key cache lock, with notable performance improvements Key caches divided into different segments, allowing for better key cache concurrency 1-64 segments
  • 25. SphinxSE CREATE TABLE t1 (..) ENGINE=SPHINX CONNECTION=”sphinx://localhost:9312/test”; Engine connects to Sphinx searchd Let indexing, searching, sorting, filtering be performed by Sphinx instead of WHERE, ORDER BY, LIMIT Sphinx is optimized/fast for these tasks Most of the Sphinx API is exposed to engine JOIN search table with other MySQL tables
  • 26. MariaDB 5.1 Arrived February 2010 Storage engines: XtraDB, FederatedX, PBXT*, OQGRAPH*, Aria, etc. microslow patch, processlist w/microsecond precision table elimination
  • 27. What is Aria? Still just a crash-safe MyISAM used for temporary tables internally group commit added in 5.2 to speed up multi- user inserts
  • 28. How do we support all this? Support Latest Version Released MySQL till release 5.1.42 Feb 2010 Feb 2015 5.1.62 5.1.63 5.2.3 Nov 2010 Nov 2015 5.2.12 5.1.63 5.3.5 Feb 2012 Feb 2017 5.3.8 5.1.65 5.5.23 Apr 2012 Apr 2017 5.5.28 5.5.28
  • 29. Oh, and we’re fast Oracle loves MySQL performance on Microsoft Windows. So do we OLTP read-only OLTP write-only
  • 30. How open is MariaDB? Mailing lists: Launchpad maria-developers@lists.launchpad.net maria-discuss@lists.launchpad.net Code hosting: Launchpad http://launchpad.net/maria/ Bugs database/feature worklog: Jira http://mariadb.atlassian.net/ #maria on freenode
  • 32. Deployments! happy users: pap.fr, wabtec, Paybox Services, OLX, Jelastic, Web of Trust, SaltOS, ERP5, etc. “We made the switch on Saturday -- and we’re seeing benefits “MariaDB had these same bugs that we ran into already -- our daily optimization with MySQL. However the big difference was that time is down from 24 minutes to when we reported these bugs, they were quickly just 4 minutes” -- Ali Watters, resolved within 48 hours!” -- Dreas van Donselaar, CEO, travelblog.org Chief Technology Officer, SpamExperts B.V. after migrating over 300 servers from MySQL 5.0 to MariaDB 5.1. “Migrating from MySQL 5.1 to MariaDB 5.2 was as simple as removing MySQL RPMs and installing the MariaDB packages, then running mysql_upgrade.” - Panayot Belchev, proprietor, Host Bulgaria on providing MariaDB to over 7,000 of their web hosting customers.
  • 33. Getting MariaDB http://mariadb.org/ has repositories (APT,YUM) & regular downloads OpenSUSE build service Gentoo, FreeBSD, Homebrew, Mageia, many distributions http://kb.askmonty.org/v/distributions-which-include-m
  • 34. We have a book
  • 35. Other branches MariaD Percon MySQL Percona MySQL MariaDB B a 5.5.20 7.7M 61M 5.5.20 222299 1587843 5.5.22 16M 60M 5.5.22 438567 1540932
  • 36. What are we missing from Percona Server? percona_innodb_buffer_pool_shm - requires big shmax not default on many systems percona_log_slow_query_log- log_slow_verbosity - InnoDB filtering information not fully in MariaDB Disabled test suite is resource
  • 37. Faster even? read only? InnoDB/XtraDB is fine InnoDB has higher throughput, but stalls & checkpoints w/high write load
  • 38. Track record We found the latest MySQL security bug and MariaDB was first to be patched (sql/password.c & memcmp()) 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-tabl We care about backward compatibility & introduce features carefully XtraDB innodb_adaptive_checkpoint=none|reflex|estimate| keep_average (no more reflex...)
  • 39. We care about quality Automated test suite run upon every push Better QA & code coverage MySQL test cases: 1,765 Percona Server test cases: 1,837 MariaDB test cases: 2,180
  • 40. User stats plugin Disabled by default, consider enabling it to show use! http://mariadb.org/feedback_plugin/ data from over 85 countries!
  • 41. We love the community Tokutek’s TokuDB ships with MariaDB too groonga/spider may be merged next Multiple software packages talk about us (as an alternative to MySQL): Drupal, MediaWiki, Plone, phpMyAdmin, WordPress, etc.
  • 42. Future MySQL 5.6 just RC, we have most features in 5.5 MariaDB 10.0 new InnoDB inside MariaDB (done) Global transaction ID support Multi-source replication (done) Enhanced semisync replication Persistent InnoDB statistics (done) Cassandra Storage Engine (done), HBase Storage Engine virtual machine for Cassandra made by community!
  • 43. MariaDB Galera Cluster http://kb.askmonty.org/en/galera/ Scale your read & write Now in ALPHA! workloads, automatically, without the need for NDB Cluster!
  • 44. Support mariadb.org/service-providers/ SkySQL, Percona, PalominoDB, etc. Monty Program does developer support & NRE http://montyprogram.com/developer-support/
  • 45. We’re incredibly social facebook: fb.com/MariaDB.dbms twitter: @mariadb google plus: gplus.to/mariadb we also have a LinkedIn group
  • 46. Q&A colin@montyprogram.com | colin@mariadb.org http://montyprogram.com/ | http://mariadb.org/ twitter: @bytebot | url: http://bytebot.net/blog/