SlideShare a Scribd company logo
1 of 37
MariaDB: The New M
                               in LAMP?
                                  Colin Charles, Monty Program Ab
                                     colin@montyprogram.com
                           http://montyprogram.com / http://mariadb.org/
                           http://bytebot.net/blog / @bytebot on Twitter
                                  SCALE10x, Los Angeles, CA, USA
                                          20 January 2012




Thursday, 26 January 12
whoami

                    • Chief Evangelist, MariaDB
                    • Formerly of MySQL AB/Sun Microsystems
                    • Past lives included FESCO (Fedora
                          Project), OpenOffice.org


                          fb.com/MariaDB.dbms |
                                @mariadb
Thursday, 26 January 12
Aims


                    • Give you an update of what we’ve done
                          with MariaDB
                    • Discuss the broader MySQL ecosystem

                          fb.com/MariaDB.dbms |
                                @mariadb
Thursday, 26 January 12
What is it?

                    • A branch of MySQL with more features?
                    • A branch of MySQL with better features?
                    • A fork?

                          fb.com/MariaDB.dbms |
                                @mariadb
Thursday, 26 January 12
MariaDB is...

                    • Community Developed
                    • Feature Enhanced
                    • Backward Compatible

                          fb.com/MariaDB.dbms |
                                @mariadb
Thursday, 26 January 12
Who’s behind it?

                    • MySQL (database) owned by MySQL AB
                          (company)
                    • Monty Program is just a sponsor of
                          MariaDB
                    • maria-captains: 64% Monty Program, 36%
                          community (+16% MP 3Q/2011)
                          fb.com/MariaDB.dbms |
                                @mariadb
Thursday, 26 January 12
When did this begin?

                    • Sun buys MySQL AB in January 2008
                    • Oracle proposes acquisition of Sun
                          Microsystems in April 2009
                    • Widenius decides that beyond the engine
                          (Febuary 2009), focus on MariaDB, a
                          complete database solution
                          fb.com/MariaDB.dbms |
                                @mariadb
Thursday, 26 January 12
Why MariaDB?


                    • MySQL - an open source product or
                          project?
                    • MariaDB is an open source project

                          fb.com/MariaDB.dbms |
                                @mariadb
Thursday, 26 January 12
Aims of MariaDB

                    • 100% compatible, drop-in replacement to
                          MySQL
                    • Stable (bug-free) releases
                    • GPLv2
                          fb.com/MariaDB.dbms |
                                @mariadb
Thursday, 26 January 12
Compatibility with
                               MySQL
                    •     There is no NDB cluster     •   Tools are similar (some
                          storage engine                  additional tools for Aria,
                                                          PBXT)
                    •     Client libraries, client-
                          server protocol, SQL        •   XtraDB enabled by
                          dialect, replication            default; InnoDB
                          master-slave all similar        included, but not
                                                          enabled by default
                    •     Data files are supported
                          as long as its similar      •   http://kb.askmonty.org/v/
                          between versions                mariadb-versus-mysql-
                                                          compatibility
                          fb.com/MariaDB.dbms |
                                @mariadb
Thursday, 26 January 12
What’s in MariaDB 5.1
                    •     Released February 2010    •   Croatian collations

                    •     Create external           •   Numerous bug fixes
                          buildsystem using
                          Buildbot + VMs for test   •   Test cases and coverage
                          +builds                       improvements

                    •     Release filled with        •   Removal of mutexes
                          storage engines
                                                    •   Compiler warnings gone!
                          •   XtraDB, PBXT,
                              FederatedX, (M)Aria
                          fb.com/MariaDB.dbms |
                                @mariadb
Thursday, 26 January 12
What’s in MariaDB 5.1
                    •     XtraDB                   •   http://
                          (ENGINE=InnoDB)              www.percona.com/docs/
                                                       wiki/percona-
                          •   enhanced InnoDB          xtradb:start
                              designed to better
                              scale on modern
                              hardware; backward
                              compatible, scale
                              better on many
                              cores, use memory
                              more efficiently

                          fb.com/MariaDB.dbms |
                                @mariadb
Thursday, 26 January 12
What’s in MariaDB 5.1
                    •     PrimeBase PBXT                 •   Rollback transactions,
                                                             recovery after restart
                          •   Transactional, foreign         very fast (identifies
                                                             garbage making undo
                              keys, ACID, MVCC (read
                              w/o locking)                   unnecessary)

                          •   Row-level locking during   •   Write once w/log-based
                              (SELECT FOR) UPDATE            storage; write data to
                                                             DB, without first writing
                                                             in transaction log

                                                         •   http://kb.askmonty.org/v/
                                                             about-pbxt
                          fb.com/MariaDB.dbms |
                                @mariadb
Thursday, 26 January 12
What’s in MariaDB 5.1
                    •     Extended statistics for slow   •   PROCESSLIST with
                          query log                          microsecond precision

                          •   based on microslow             •   TIME_MS in
                              from Percona http://               INFORMATION_SCH
                              kb.askmonty.org/v/                 EMA.PROCESSLIST
                              slow-query-log-                    http://kb.askmonty.org/
                              extended-statistics                v/time_ms-column-in-
                                                                 information_schemapr
                                                                 ocesslist



                          fb.com/MariaDB.dbms |
                                @mariadb
Thursday, 26 January 12
What’s in MariaDB 5.1
                    •     Table elimination             •   Pool of threads (MySQL 6
                                                            backport)
                          •   Query highly
                              normalised data, it is        •   Use a limited set of
                              sometimes possible to             threads to handle all
                              resolve a query                   queries vs one-thread-
                              without accessing some            per-connection. Win if
                              tables the query refers           most queries are short
                              to e.g. http://                   running, and there are
                              kb.askmonty.org/v/                few table/row locks.
                              what-is-table-                    http://kb.askmonty.org/
                              elimination                       v/pool-of-threads

                          fb.com/MariaDB.dbms |
                                @mariadb
Thursday, 26 January 12
What’s in MariaDB 5.2
                    •     Released November 2010                         •    Use socket_peercred - if already logged
                                                                              in via Unix credentials, MariaDB will
                    •     MariaDB 5.2.10 (MariaDB 5.1.60 - changes            trust it
                          up to MySQL 5.1.60)
                                                                         •    http://kb.askmonty.org/v/development-
                    •     Pluggable authentication                            pluggable-authentication

                          •   authentication of users handled by         •    Now with a PAM authentication
                              plugins                                         plugin!

                          •   mysql_native_password (20 byte) and            •      http://kb.askmonty.org/en/pam-
                              mysql_old_password (8 byte) included                  authentication-plugin
                              by default
                                                                     •   User Statistics (userstatsv2)
                          •   CREATE USER foo IDENTIFIED VIA
                              mysql_native_password USING ‘pass’;        •    Percona, Google, Weldon Whipple.
                              == CREATE user foo IDENTIFIED BY                Understand server activity better,
                              PASSWORD ‘pass’;                                identify database loads http://
                                                                              kb.askmonty.org/v/user-statistics

                                                                         •    Client, user, index, table statistics
                          fb.com/MariaDB.dbms |
                                @mariadb
Thursday, 26 January 12
What’s in MariaDB 5.2
                    •     Segmented MyISAM
                          keycache

                          •   mitigates thread
                              contention for key
                              cache lock, with
                              notable 250%
                              performance
                              improvements
                              http://
                              kb.askmonty.org/
                              v/segmented-key-
                              cache
                          fb.com/MariaDB.dbms |
                                @mariadb
Thursday, 26 January 12
MariaDB 5.2: SphinxSE
                    •     CREATE TABLE t1 (..)         •   monitor it - SHOW
                          ENGINE=SPHINX                    ENGINE SPHINX
                          CONNECTION=”sphin                STATUS;
                          x://localhost:9312/test”;
                                                       •   can JOIN a SphinxSE
                    •     SELECT * from t1                 search table and tables
                          WHERE query=‘test                using other engines as
                          it;mode=any’;                    well

                          •   matching modes,          •   https://kb.askmonty.org/
                              limits, filters, ranges       v/about-sphinxse
                              supported
                          fb.com/MariaDB.dbms |
                                @mariadb
Thursday, 26 January 12
MariaDB 5.3: NoSQL
                    •     HandlerSocket            •   Dynamic columns

                          •   direct access to         •   different set of
                              InnoDB/XtraDB                “virtual columns” for
                                                           each row in your
                          •   no SQL, simple               table
                              CRUD operations on
                              tables                   •   store different
                                                           attributes for each
                                                           item (see: e-
                                                           commerce shops)

                          fb.com/MariaDB.dbms |
                                @mariadb
Thursday, 26 January 12
MariaDB 5.3: Dynamic
                           Columns




                          fb.com/MariaDB.dbms |
                                @mariadb
Thursday, 26 January 12
MariaDB 5.3: group
                                   commit
                    •     Group commit for the binary log        •   https://www.facebook.com/note.php?
                                                                     note_id=10150261692455933
                          •    sync_binlog=1,
                               innodb_flush_log_at_trx_commit=1   •   http://kb.askmonty.org/en/group-commit-
                                                                     for-the-binary-log




                              fb.com/MariaDB.dbms |
                                    @mariadb
Thursday, 26 January 12
MariaDB 5.3:
                                      replication
                    •     Checksums for binlog             •   mysqldump --single-
                          events (5.6 backport)                transaction --master-
                                                               data => non-blocking
                    •     START TRANSACTION                    backup! (new slave
                                                               provisioning?) Works
                          WITH CONSISTENT
                          SNAPSHOT works w/                    w/XtraDB+PBXT
                          binlog
                                                       •   row-based replication
                          •   obtain binlog pos. w/o       for tables w/no primary
                                                           key
                              blocking other
                              queries

                          fb.com/MariaDB.dbms |
                                @mariadb
Thursday, 26 January 12
MariaDB 5.3
                    •     Progress reporting for     •   disk access: Index
                          ALTER TABLE/LOAD               Condition Pushdown
                          DATA INFILE                    (ICP), Multi-Range
                                                         Read (MRR)

                                                     •   join: Classic Hash
                          •   mytop included             Join, Batched Key
                                                         Access (ordered
                    •     Optimiser changes              retrievals via MRR),
                                                         and many many more
                          •   @@optimizer_switc          optimizations
                              h flags (default=off)
                          fb.com/MariaDB.dbms |
                                @mariadb
Thursday, 26 January 12
MariaDB 5.3:
                            Subqueries finally!
                    •     DBT-3, 60M line item    •   optimizer_switch=‘semij
                          rows, 29GB XtraDB           oin=on’ /
                          database                    materialization=on




                          fb.com/MariaDB.dbms |
                                @mariadb
Thursday, 26 January 12
MariaDB 5.3:
                                 Subqueries
                    • Instant EXPLAIN
                    • http://
                          kb.askmonty.org/
                          en/the-query-
                          optimizer



                          fb.com/MariaDB.dbms |
                                @mariadb
Thursday, 26 January 12
MariaDB 5.3: User
                             Feedback Plugin
                    •     New “phone home”
                          plugin (works with
                          Percona server, MySQL)

                    •     disabled by default --
                          please consider enabling
                          it (feedback=on)

                    •     http://mariadb.org/
                          feedback_plugin/


                          fb.com/MariaDB.dbms |
                                @mariadb
Thursday, 26 January 12
MariaDB 5.3 & 5.5

                    • MariaDB 5.3 - RC now
                     • MariaDB 5.3.3 - 21/12/2011
                    • MariaDB 5.5 - Beta any day now
                     • https://launchpad.net/maria/5.5
                          fb.com/MariaDB.dbms |
                                @mariadb
Thursday, 26 January 12
How open is MariaDB?
                    •     Mailing lists: Launchpad        •   http://launchpad.net/
                                                              maria
                          •   maria-
                              developers@lists.laun   •   Bugs database:
                              chpad.net
                                                          •   https://
                          •   maria-                          bugs.launchpad.net/
                              discuss@lists.launchp           maria/
                              ad.net
                                                      •   #maria on FreeNode
                    •     Code hosting:                   IRC
                          Launchpad
                          fb.com/MariaDB.dbms |
                                @mariadb
Thursday, 26 January 12
Worklog
                    •     Funding (bounties)

                    •     Votes

                    •     http://askmonty.org/
                          worklog/




                          fb.com/MariaDB.dbms |
                                @mariadb
Thursday, 26 January 12
Knowledgebase
                    • http://kb.askmonty.org/




                          fb.com/MariaDB.dbms |
                                @mariadb
Thursday, 26 January 12
Deployments,
                 deployments, deployments
                  happy users: pap.fr, wabtec, Paybox Services, OLX,
                                       Jelastic, etc.                   “We made the switch on Saturday --
                                                                       and we’re seeing benefits already -- our
          “MariaDB had these same bugs that we ran into                 daily optimization time is down from
          with MySQL. However the big difference was that               24 minutes to just 4 minutes” -- Ali
          when we reported these bugs, they were quickly                  Watters, CEO, travelblog.org
          resolved within 48 hours!” -- Dreas van Donselaar,
          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.
                          fb.com/MariaDB.dbms |
                                @mariadb
Thursday, 26 January 12
Getting MariaDB

                    •     http://mariadb.org/ is the site + downloads

                    •     Get it via OpenSUSE build service

                    •     Its in Gentoo, FreeBSD, Homebrew

                    •     http://kb.askmonty.org/v/distributions-which-include-
                          mariadb


                          fb.com/MariaDB.dbms |
                                @mariadb
Thursday, 26 January 12
The future?
                    • GIS features making it into MariaDB 5.3
                    • Merging takes time
                    • Features (different implementations) make
                          it into upstream
                    • Getting into distributions (Fedora/EPEL
                          policies), Ubuntu/Debian, etc ?
                          fb.com/MariaDB.dbms |
                                @mariadb
Thursday, 26 January 12
We have a book




                          fb.com/MariaDB.dbms |
                                @mariadb
Thursday, 26 January 12
Support
                    • Monty Program does NRE/engineering
                          work for MySQL/MariaDB (not L1/L2
                          support)
                    • Support via capable service providers
                     • http://mariadb.org/service-providers/
                     • SkySQL (here), FromDual, Open Query,
                            SoftMethod GmbH, Percona
                          fb.com/MariaDB.dbms |
                                @mariadb
Thursday, 26 January 12
We’re on social media

                    • facebook: fb.com/MariaDB.dbms
                    • twitter: @mariadb
                    • google plus: search for mariadb

                          fb.com/MariaDB.dbms |
                                @mariadb
Thursday, 26 January 12
Q&A?
                                 email: colin@montyprogram.com
                          http://montyprogram.com/ | http://mariadb.org/
                          twitter: @bytebot / url: http://bytebot.net/blog/




Thursday, 26 January 12

More Related Content

What's hot

MariaDB 10.1 what's new and what's coming in 10.2 - Tokyo MariaDB Meetup
MariaDB 10.1   what's new and what's coming in 10.2 - Tokyo MariaDB MeetupMariaDB 10.1   what's new and what's coming in 10.2 - Tokyo MariaDB Meetup
MariaDB 10.1 what's new and what's coming in 10.2 - Tokyo MariaDB MeetupColin 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: 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
 
The Complete MariaDB Server tutorial
The Complete MariaDB Server tutorialThe Complete MariaDB Server tutorial
The Complete MariaDB Server tutorialColin Charles
 
MariaDB 10: The Complete Tutorial
MariaDB 10: The Complete TutorialMariaDB 10: The Complete Tutorial
MariaDB 10: The Complete TutorialColin Charles
 
Databases in the hosted cloud
Databases in the hosted cloudDatabases in the hosted cloud
Databases in the hosted cloudColin 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
 
The MySQL Server ecosystem in 2016
The MySQL Server ecosystem in 2016The MySQL Server ecosystem in 2016
The MySQL Server ecosystem in 2016Colin Charles
 
Introduction to MariaDB
Introduction to MariaDBIntroduction to MariaDB
Introduction to MariaDBJongJin Lee
 
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
 
Differences between MariaDB 10.3 & MySQL 8.0
Differences between MariaDB 10.3 & MySQL 8.0Differences between MariaDB 10.3 & MySQL 8.0
Differences between MariaDB 10.3 & MySQL 8.0Colin Charles
 
Lessons from database failures
Lessons from database failuresLessons from database failures
Lessons from database failuresColin Charles
 
Maria db the new mysql (Colin Charles)
Maria db the new mysql (Colin Charles)Maria db the new mysql (Colin Charles)
Maria db the new mysql (Colin Charles)Ontico
 
Tuning Linux for your database FLOSSUK 2016
Tuning Linux for your database FLOSSUK 2016Tuning Linux for your database FLOSSUK 2016
Tuning Linux for your database FLOSSUK 2016Colin Charles
 
My first moments with MongoDB
My first moments with MongoDBMy first moments with MongoDB
My first moments with MongoDBColin Charles
 
Databases in the hosted cloud
Databases in the hosted cloud Databases in the hosted cloud
Databases in the hosted cloud Colin Charles
 
Bootstrapping Using Free Software
Bootstrapping Using Free SoftwareBootstrapping Using Free Software
Bootstrapping Using Free SoftwareColin Charles
 
Maria db vs mysql
Maria db vs mysqlMaria db vs mysql
Maria db vs mysqlNitin KR
 
MHA: Getting started & moving past quirks percona live santa clara 2013
MHA: Getting started & moving past quirks percona live santa clara 2013MHA: Getting started & moving past quirks percona live santa clara 2013
MHA: Getting started & moving past quirks percona live santa clara 2013Colin Charles
 

What's hot (20)

MariaDB 10.1 what's new and what's coming in 10.2 - Tokyo MariaDB Meetup
MariaDB 10.1   what's new and what's coming in 10.2 - Tokyo MariaDB MeetupMariaDB 10.1   what's new and what's coming in 10.2 - Tokyo MariaDB Meetup
MariaDB 10.1 what's new and what's coming in 10.2 - Tokyo MariaDB Meetup
 
Why MariaDB?
Why MariaDB?Why MariaDB?
Why MariaDB?
 
MariaDB 10.0 - SkySQL Paris Meetup
MariaDB 10.0 - SkySQL Paris MeetupMariaDB 10.0 - SkySQL Paris Meetup
MariaDB 10.0 - SkySQL Paris Meetup
 
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)
 
The Complete MariaDB Server tutorial
The Complete MariaDB Server tutorialThe Complete MariaDB Server tutorial
The Complete MariaDB Server tutorial
 
MariaDB 10: The Complete Tutorial
MariaDB 10: The Complete TutorialMariaDB 10: The Complete Tutorial
MariaDB 10: The Complete Tutorial
 
Databases in the hosted cloud
Databases in the hosted cloudDatabases in the hosted cloud
Databases in the hosted cloud
 
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
 
The MySQL Server ecosystem in 2016
The MySQL Server ecosystem in 2016The MySQL Server ecosystem in 2016
The MySQL Server ecosystem in 2016
 
Introduction to MariaDB
Introduction to MariaDBIntroduction to MariaDB
Introduction 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
 
Differences between MariaDB 10.3 & MySQL 8.0
Differences between MariaDB 10.3 & MySQL 8.0Differences between MariaDB 10.3 & MySQL 8.0
Differences between MariaDB 10.3 & MySQL 8.0
 
Lessons from database failures
Lessons from database failuresLessons from database failures
Lessons from database failures
 
Maria db the new mysql (Colin Charles)
Maria db the new mysql (Colin Charles)Maria db the new mysql (Colin Charles)
Maria db the new mysql (Colin Charles)
 
Tuning Linux for your database FLOSSUK 2016
Tuning Linux for your database FLOSSUK 2016Tuning Linux for your database FLOSSUK 2016
Tuning Linux for your database FLOSSUK 2016
 
My first moments with MongoDB
My first moments with MongoDBMy first moments with MongoDB
My first moments with MongoDB
 
Databases in the hosted cloud
Databases in the hosted cloud Databases in the hosted cloud
Databases in the hosted cloud
 
Bootstrapping Using Free Software
Bootstrapping Using Free SoftwareBootstrapping Using Free Software
Bootstrapping Using Free Software
 
Maria db vs mysql
Maria db vs mysqlMaria db vs mysql
Maria db vs mysql
 
MHA: Getting started & moving past quirks percona live santa clara 2013
MHA: Getting started & moving past quirks percona live santa clara 2013MHA: Getting started & moving past quirks percona live santa clara 2013
MHA: Getting started & moving past quirks percona live santa clara 2013
 

Similar to MariaDB: The New M In LAMP - SCALE10x

Open11 maria db the new m in lamp
Open11 maria db the new m in lampOpen11 maria db the new m in lamp
Open11 maria db the new m in lampColin Charles
 
MariaDB keynote - fossasia 2014
MariaDB keynote - fossasia 2014MariaDB keynote - fossasia 2014
MariaDB keynote - fossasia 2014Colin Charles
 
The MySQL Diaspora
The MySQL DiasporaThe MySQL Diaspora
The MySQL DiasporaYUCHENG HU
 
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
 
MariaDB 初学者指南
MariaDB 初学者指南MariaDB 初学者指南
MariaDB 初学者指南YUCHENG HU
 
Mariadb10 和新项目中有什么
Mariadb10 和新项目中有什么Mariadb10 和新项目中有什么
Mariadb10 和新项目中有什么YUCHENG HU
 
The MySQL Server ecosystem in 2016
The MySQL Server ecosystem in 2016The MySQL Server ecosystem in 2016
The MySQL Server ecosystem in 2016sys army
 
Lessons from database failures
Lessons from database failuresLessons from database failures
Lessons from database failuresColin Charles
 
Lessons from database failures
Lessons from database failures Lessons from database failures
Lessons from database failures Colin Charles
 
High Performance Drupal with MariaDB
High Performance Drupal with MariaDBHigh Performance Drupal with MariaDB
High Performance Drupal with MariaDBMariaDB Corporation
 
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
 
Scaling MySQL Using Fabric
Scaling MySQL Using FabricScaling MySQL Using Fabric
Scaling MySQL Using FabricRemote MySQL DBA
 
Scaling MySQL using Fabric
Scaling MySQL using FabricScaling MySQL using Fabric
Scaling MySQL using FabricKarthik .P.R
 
Introduction of MariaDB 2017 09
Introduction of MariaDB 2017 09Introduction of MariaDB 2017 09
Introduction of MariaDB 2017 09GOTO Satoru
 
MySQL features missing in MariaDB Server
MySQL features missing in MariaDB ServerMySQL features missing in MariaDB Server
MySQL features missing in MariaDB ServerColin Charles
 
Using MySQL Fabric for High Availability and Scaling Out
Using MySQL Fabric for High Availability and Scaling OutUsing MySQL Fabric for High Availability and Scaling Out
Using MySQL Fabric for High Availability and Scaling OutOSSCube
 
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.
 

Similar to MariaDB: The New M In LAMP - SCALE10x (20)

Open11 maria db the new m in lamp
Open11 maria db the new m in lampOpen11 maria db the new m in lamp
Open11 maria db the new m in lamp
 
MariaDB keynote - fossasia 2014
MariaDB keynote - fossasia 2014MariaDB keynote - fossasia 2014
MariaDB keynote - fossasia 2014
 
The MySQL Diaspora
The MySQL DiasporaThe MySQL Diaspora
The MySQL Diaspora
 
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 初学者指南
MariaDB 初学者指南MariaDB 初学者指南
MariaDB 初学者指南
 
Mariadb10 和新项目中有什么
Mariadb10 和新项目中有什么Mariadb10 和新项目中有什么
Mariadb10 和新项目中有什么
 
The MySQL Server ecosystem in 2016
The MySQL Server ecosystem in 2016The MySQL Server ecosystem in 2016
The MySQL Server ecosystem in 2016
 
MyRocks in MariaDB
MyRocks in MariaDBMyRocks in MariaDB
MyRocks in MariaDB
 
Lessons from database failures
Lessons from database failuresLessons from database failures
Lessons from database failures
 
Lessons from database failures
Lessons from database failures Lessons from database failures
Lessons from database failures
 
High Performance Drupal with MariaDB
High Performance Drupal with MariaDBHigh Performance Drupal with MariaDB
High Performance Drupal with MariaDB
 
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
 
Maria DBMS
Maria DBMSMaria DBMS
Maria DBMS
 
Scaling MySQL Using Fabric
Scaling MySQL Using FabricScaling MySQL Using Fabric
Scaling MySQL Using Fabric
 
Scaling MySQL using Fabric
Scaling MySQL using FabricScaling MySQL using Fabric
Scaling MySQL using Fabric
 
Introduction of MariaDB 2017 09
Introduction of MariaDB 2017 09Introduction of MariaDB 2017 09
Introduction of MariaDB 2017 09
 
MySQL features missing in MariaDB Server
MySQL features missing in MariaDB ServerMySQL features missing in MariaDB Server
MySQL features missing in MariaDB Server
 
Using MySQL Fabric for High Availability and Scaling Out
Using MySQL Fabric for High Availability and Scaling OutUsing MySQL Fabric for High Availability and Scaling Out
Using MySQL Fabric for High Availability and Scaling Out
 
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
 
MySQL in the Cloud
MySQL in the CloudMySQL in the Cloud
MySQL in the Cloud
 

More from Colin Charles

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
 
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
 
Databases in the Hosted Cloud
Databases in the Hosted CloudDatabases in the Hosted Cloud
Databases in the Hosted CloudColin Charles
 
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
 
Percona ServerをMySQL 5.6と5.7用に作るエンジニアリング(そしてMongoDBのヒント)
Percona ServerをMySQL 5.6と5.7用に作るエンジニアリング(そしてMongoDBのヒント)Percona ServerをMySQL 5.6と5.7用に作るエンジニアリング(そしてMongoDBのヒント)
Percona ServerをMySQL 5.6と5.7用に作るエンジニアリング(そしてMongoDBのヒント)Colin Charles
 
Capacity planning for your data stores
Capacity planning for your data storesCapacity planning for your data stores
Capacity planning for your data storesColin 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
 
Lessons from {distributed,remote,virtual} communities and companies
Lessons from {distributed,remote,virtual} communities and companiesLessons from {distributed,remote,virtual} communities and companies
Lessons from {distributed,remote,virtual} communities and companiesColin Charles
 
Forking Successfully - or is a branch better?
Forking Successfully - or is a branch better?Forking Successfully - or is a branch better?
Forking Successfully - or is a branch better?Colin 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
 
The MySQL Server Ecosystem in 2016
The MySQL Server Ecosystem in 2016The MySQL Server Ecosystem in 2016
The MySQL Server Ecosystem in 2016Colin Charles
 
Best practices for MySQL/MariaDB Server/Percona Server High Availability
Best practices for MySQL/MariaDB Server/Percona Server High AvailabilityBest practices for MySQL/MariaDB Server/Percona Server High Availability
Best practices for MySQL/MariaDB Server/Percona Server High AvailabilityColin 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
 
Distributions from the view a package
Distributions from the view a packageDistributions from the view a package
Distributions from the view a packageColin 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
 
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
 
Cool MariaDB Plugins
Cool MariaDB Plugins Cool MariaDB Plugins
Cool MariaDB Plugins Colin Charles
 

More from Colin Charles (18)

What is MariaDB Server 10.3?
What is MariaDB Server 10.3?What is MariaDB Server 10.3?
What is MariaDB Server 10.3?
 
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!
 
Databases in the Hosted Cloud
Databases in the Hosted CloudDatabases in the Hosted Cloud
Databases in the Hosted Cloud
 
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
 
Percona ServerをMySQL 5.6と5.7用に作るエンジニアリング(そしてMongoDBのヒント)
Percona ServerをMySQL 5.6と5.7用に作るエンジニアリング(そしてMongoDBのヒント)Percona ServerをMySQL 5.6と5.7用に作るエンジニアリング(そしてMongoDBのヒント)
Percona ServerをMySQL 5.6と5.7用に作るエンジニアリング(そしてMongoDBのヒント)
 
Capacity planning for your data stores
Capacity planning for your data storesCapacity planning for your data stores
Capacity planning for your data stores
 
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
 
Lessons from {distributed,remote,virtual} communities and companies
Lessons from {distributed,remote,virtual} communities and companiesLessons from {distributed,remote,virtual} communities and companies
Lessons from {distributed,remote,virtual} communities and companies
 
Forking Successfully - or is a branch better?
Forking Successfully - or is a branch better?Forking Successfully - or is a branch better?
Forking Successfully - or is a branch better?
 
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
 
The MySQL Server Ecosystem in 2016
The MySQL Server Ecosystem in 2016The MySQL Server Ecosystem in 2016
The MySQL Server Ecosystem in 2016
 
Best practices for MySQL/MariaDB Server/Percona Server High Availability
Best practices for MySQL/MariaDB Server/Percona Server High AvailabilityBest practices for MySQL/MariaDB Server/Percona Server High Availability
Best practices for MySQL/MariaDB Server/Percona Server High Availability
 
MariaDB Server & MySQL Security Essentials 2016
MariaDB Server & MySQL Security Essentials 2016MariaDB Server & MySQL Security Essentials 2016
MariaDB Server & MySQL Security Essentials 2016
 
Distributions from the view a package
Distributions from the view a packageDistributions from the view a package
Distributions from the view a package
 
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
 
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)
 
Cool MariaDB Plugins
Cool MariaDB Plugins Cool MariaDB Plugins
Cool MariaDB Plugins
 

Recently uploaded

"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
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
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
 
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
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
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
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
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
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
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
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 

Recently uploaded (20)

"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
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
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
 
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)
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
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
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
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
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 

MariaDB: The New M In LAMP - SCALE10x

  • 1. MariaDB: The New M in LAMP? Colin Charles, Monty Program Ab colin@montyprogram.com http://montyprogram.com / http://mariadb.org/ http://bytebot.net/blog / @bytebot on Twitter SCALE10x, Los Angeles, CA, USA 20 January 2012 Thursday, 26 January 12
  • 2. whoami • Chief Evangelist, MariaDB • Formerly of MySQL AB/Sun Microsystems • Past lives included FESCO (Fedora Project), OpenOffice.org fb.com/MariaDB.dbms | @mariadb Thursday, 26 January 12
  • 3. Aims • Give you an update of what we’ve done with MariaDB • Discuss the broader MySQL ecosystem fb.com/MariaDB.dbms | @mariadb Thursday, 26 January 12
  • 4. What is it? • A branch of MySQL with more features? • A branch of MySQL with better features? • A fork? fb.com/MariaDB.dbms | @mariadb Thursday, 26 January 12
  • 5. MariaDB is... • Community Developed • Feature Enhanced • Backward Compatible fb.com/MariaDB.dbms | @mariadb Thursday, 26 January 12
  • 6. Who’s behind it? • MySQL (database) owned by MySQL AB (company) • Monty Program is just a sponsor of MariaDB • maria-captains: 64% Monty Program, 36% community (+16% MP 3Q/2011) fb.com/MariaDB.dbms | @mariadb Thursday, 26 January 12
  • 7. When did this begin? • Sun buys MySQL AB in January 2008 • Oracle proposes acquisition of Sun Microsystems in April 2009 • Widenius decides that beyond the engine (Febuary 2009), focus on MariaDB, a complete database solution fb.com/MariaDB.dbms | @mariadb Thursday, 26 January 12
  • 8. Why MariaDB? • MySQL - an open source product or project? • MariaDB is an open source project fb.com/MariaDB.dbms | @mariadb Thursday, 26 January 12
  • 9. Aims of MariaDB • 100% compatible, drop-in replacement to MySQL • Stable (bug-free) releases • GPLv2 fb.com/MariaDB.dbms | @mariadb Thursday, 26 January 12
  • 10. Compatibility with MySQL • There is no NDB cluster • Tools are similar (some storage engine additional tools for Aria, PBXT) • Client libraries, client- server protocol, SQL • XtraDB enabled by dialect, replication default; InnoDB master-slave all similar included, but not enabled by default • Data files are supported as long as its similar • http://kb.askmonty.org/v/ between versions mariadb-versus-mysql- compatibility fb.com/MariaDB.dbms | @mariadb Thursday, 26 January 12
  • 11. What’s in MariaDB 5.1 • Released February 2010 • Croatian collations • Create external • Numerous bug fixes buildsystem using Buildbot + VMs for test • Test cases and coverage +builds improvements • Release filled with • Removal of mutexes storage engines • Compiler warnings gone! • XtraDB, PBXT, FederatedX, (M)Aria fb.com/MariaDB.dbms | @mariadb Thursday, 26 January 12
  • 12. What’s in MariaDB 5.1 • XtraDB • http:// (ENGINE=InnoDB) www.percona.com/docs/ wiki/percona- • enhanced InnoDB xtradb:start designed to better scale on modern hardware; backward compatible, scale better on many cores, use memory more efficiently fb.com/MariaDB.dbms | @mariadb Thursday, 26 January 12
  • 13. What’s in MariaDB 5.1 • PrimeBase PBXT • Rollback transactions, recovery after restart • Transactional, foreign very fast (identifies garbage making undo keys, ACID, MVCC (read w/o locking) unnecessary) • Row-level locking during • Write once w/log-based (SELECT FOR) UPDATE storage; write data to DB, without first writing in transaction log • http://kb.askmonty.org/v/ about-pbxt fb.com/MariaDB.dbms | @mariadb Thursday, 26 January 12
  • 14. What’s in MariaDB 5.1 • Extended statistics for slow • PROCESSLIST with query log microsecond precision • based on microslow • TIME_MS in from Percona http:// INFORMATION_SCH kb.askmonty.org/v/ EMA.PROCESSLIST slow-query-log- http://kb.askmonty.org/ extended-statistics v/time_ms-column-in- information_schemapr ocesslist fb.com/MariaDB.dbms | @mariadb Thursday, 26 January 12
  • 15. What’s in MariaDB 5.1 • Table elimination • Pool of threads (MySQL 6 backport) • Query highly normalised data, it is • Use a limited set of sometimes possible to threads to handle all resolve a query queries vs one-thread- without accessing some per-connection. Win if tables the query refers most queries are short to e.g. http:// running, and there are kb.askmonty.org/v/ few table/row locks. what-is-table- http://kb.askmonty.org/ elimination v/pool-of-threads fb.com/MariaDB.dbms | @mariadb Thursday, 26 January 12
  • 16. What’s in MariaDB 5.2 • Released November 2010 • Use socket_peercred - if already logged in via Unix credentials, MariaDB will • MariaDB 5.2.10 (MariaDB 5.1.60 - changes trust it up to MySQL 5.1.60) • http://kb.askmonty.org/v/development- • Pluggable authentication pluggable-authentication • authentication of users handled by • Now with a PAM authentication plugins plugin! • mysql_native_password (20 byte) and • http://kb.askmonty.org/en/pam- mysql_old_password (8 byte) included authentication-plugin by default • User Statistics (userstatsv2) • CREATE USER foo IDENTIFIED VIA mysql_native_password USING ‘pass’; • Percona, Google, Weldon Whipple. == CREATE user foo IDENTIFIED BY Understand server activity better, PASSWORD ‘pass’; identify database loads http:// kb.askmonty.org/v/user-statistics • Client, user, index, table statistics fb.com/MariaDB.dbms | @mariadb Thursday, 26 January 12
  • 17. What’s in MariaDB 5.2 • Segmented MyISAM keycache • mitigates thread contention for key cache lock, with notable 250% performance improvements http:// kb.askmonty.org/ v/segmented-key- cache fb.com/MariaDB.dbms | @mariadb Thursday, 26 January 12
  • 18. MariaDB 5.2: SphinxSE • CREATE TABLE t1 (..) • monitor it - SHOW ENGINE=SPHINX ENGINE SPHINX CONNECTION=”sphin STATUS; x://localhost:9312/test”; • can JOIN a SphinxSE • SELECT * from t1 search table and tables WHERE query=‘test using other engines as it;mode=any’; well • matching modes, • https://kb.askmonty.org/ limits, filters, ranges v/about-sphinxse supported fb.com/MariaDB.dbms | @mariadb Thursday, 26 January 12
  • 19. MariaDB 5.3: NoSQL • HandlerSocket • Dynamic columns • direct access to • different set of InnoDB/XtraDB “virtual columns” for each row in your • no SQL, simple table CRUD operations on tables • store different attributes for each item (see: e- commerce shops) fb.com/MariaDB.dbms | @mariadb Thursday, 26 January 12
  • 20. MariaDB 5.3: Dynamic Columns fb.com/MariaDB.dbms | @mariadb Thursday, 26 January 12
  • 21. MariaDB 5.3: group commit • Group commit for the binary log • https://www.facebook.com/note.php? note_id=10150261692455933 • sync_binlog=1, innodb_flush_log_at_trx_commit=1 • http://kb.askmonty.org/en/group-commit- for-the-binary-log fb.com/MariaDB.dbms | @mariadb Thursday, 26 January 12
  • 22. MariaDB 5.3: replication • Checksums for binlog • mysqldump --single- events (5.6 backport) transaction --master- data => non-blocking • START TRANSACTION backup! (new slave provisioning?) Works WITH CONSISTENT SNAPSHOT works w/ w/XtraDB+PBXT binlog • row-based replication • obtain binlog pos. w/o for tables w/no primary key blocking other queries fb.com/MariaDB.dbms | @mariadb Thursday, 26 January 12
  • 23. MariaDB 5.3 • Progress reporting for • disk access: Index ALTER TABLE/LOAD Condition Pushdown DATA INFILE (ICP), Multi-Range Read (MRR) • join: Classic Hash • mytop included Join, Batched Key Access (ordered • Optimiser changes retrievals via MRR), and many many more • @@optimizer_switc optimizations h flags (default=off) fb.com/MariaDB.dbms | @mariadb Thursday, 26 January 12
  • 24. MariaDB 5.3: Subqueries finally! • DBT-3, 60M line item • optimizer_switch=‘semij rows, 29GB XtraDB oin=on’ / database materialization=on fb.com/MariaDB.dbms | @mariadb Thursday, 26 January 12
  • 25. MariaDB 5.3: Subqueries • Instant EXPLAIN • http:// kb.askmonty.org/ en/the-query- optimizer fb.com/MariaDB.dbms | @mariadb Thursday, 26 January 12
  • 26. MariaDB 5.3: User Feedback Plugin • New “phone home” plugin (works with Percona server, MySQL) • disabled by default -- please consider enabling it (feedback=on) • http://mariadb.org/ feedback_plugin/ fb.com/MariaDB.dbms | @mariadb Thursday, 26 January 12
  • 27. MariaDB 5.3 & 5.5 • MariaDB 5.3 - RC now • MariaDB 5.3.3 - 21/12/2011 • MariaDB 5.5 - Beta any day now • https://launchpad.net/maria/5.5 fb.com/MariaDB.dbms | @mariadb Thursday, 26 January 12
  • 28. How open is MariaDB? • Mailing lists: Launchpad • http://launchpad.net/ maria • maria- developers@lists.laun • Bugs database: chpad.net • https:// • maria- bugs.launchpad.net/ discuss@lists.launchp maria/ ad.net • #maria on FreeNode • Code hosting: IRC Launchpad fb.com/MariaDB.dbms | @mariadb Thursday, 26 January 12
  • 29. Worklog • Funding (bounties) • Votes • http://askmonty.org/ worklog/ fb.com/MariaDB.dbms | @mariadb Thursday, 26 January 12
  • 30. Knowledgebase • http://kb.askmonty.org/ fb.com/MariaDB.dbms | @mariadb Thursday, 26 January 12
  • 31. Deployments, deployments, deployments happy users: pap.fr, wabtec, Paybox Services, OLX, Jelastic, etc. “We made the switch on Saturday -- and we’re seeing benefits already -- our “MariaDB had these same bugs that we ran into daily optimization time is down from with MySQL. However the big difference was that 24 minutes to just 4 minutes” -- Ali when we reported these bugs, they were quickly Watters, CEO, travelblog.org resolved within 48 hours!” -- Dreas van Donselaar, 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. fb.com/MariaDB.dbms | @mariadb Thursday, 26 January 12
  • 32. Getting MariaDB • http://mariadb.org/ is the site + downloads • Get it via OpenSUSE build service • Its in Gentoo, FreeBSD, Homebrew • http://kb.askmonty.org/v/distributions-which-include- mariadb fb.com/MariaDB.dbms | @mariadb Thursday, 26 January 12
  • 33. The future? • GIS features making it into MariaDB 5.3 • Merging takes time • Features (different implementations) make it into upstream • Getting into distributions (Fedora/EPEL policies), Ubuntu/Debian, etc ? fb.com/MariaDB.dbms | @mariadb Thursday, 26 January 12
  • 34. We have a book fb.com/MariaDB.dbms | @mariadb Thursday, 26 January 12
  • 35. Support • Monty Program does NRE/engineering work for MySQL/MariaDB (not L1/L2 support) • Support via capable service providers • http://mariadb.org/service-providers/ • SkySQL (here), FromDual, Open Query, SoftMethod GmbH, Percona fb.com/MariaDB.dbms | @mariadb Thursday, 26 January 12
  • 36. We’re on social media • facebook: fb.com/MariaDB.dbms • twitter: @mariadb • google plus: search for mariadb fb.com/MariaDB.dbms | @mariadb Thursday, 26 January 12
  • 37. Q&A? email: colin@montyprogram.com http://montyprogram.com/ | http://mariadb.org/ twitter: @bytebot / url: http://bytebot.net/blog/ Thursday, 26 January 12