Open11 maria db the new m in lamp

Preview:

DESCRIPTION

Given at Open Paradigms in Education, OPEN’11 New Delhi, India

Citation preview

MariaDB: The New M in LAMP

Open Paradigms in Education, OPEN’11New Delhi, India

Colin Charlescolin@montyprogram.com / byte@bytebot.net

http://bytebot.net/blog/@bytebot on Twitter

use ENGINE=CSV;

• LOAD DATA INFILE ‘foo.csv’ INTO TABLE foo;

“The greatest problem for opensource is

graduation” -- Keith Packard

Aims for the day

• Harness more contributors to MariaDB

• Show you what’s available and where contributions can be made

• Answer your queries, concerns

Have you ever...

• Submitted a bug report?

• Contributed to a Wiki page or Knowledgebase?

• Hopped on IRC, at #project?

• Uses some open source software?

• Evangelised about your favourite software?

You’re already a contributor to OSS

MariaDB backstory

• Why?

• MySQL: open source product, not project

• When?

• Who?

• Governance: Open Database Alliance, not one corporate entity

What is MariaDB?

• A branch of MySQL with more features?

• A branch of MySQL with better features?

• A fork?

MariaDB is...community developed,

feature enhanced,backward compatible

Aims

• 100% compatible, drop-in replacement

• Stable (bug-free) releases

• Data centre use, high performance use, scale out use

• GPLv2

What’s in MariaDB 5.1?• Storage engines

• XtraDB, PBXT, FederatedX, Maria

• Extended statistics for slow query log

• PROCESSLIST with microsecond precision

• All Google+Facebook patches

• Table elimination

• Thread pool

• Croatian collations

• Bug fixes

• Test cases and coverage

• Removal of mutexes

• Compiler warnings gone!

New in MariaDB 5.2• Virtual columns

• Pluggable authentication

• Userstats v2

• Partitioned MyISAM keycache

• New storage engines: OQENGINE, SphinxSE

• Group commit in Aria

• Optimiser improvements

• Row based replication improvements

• CREATE TABLE can be extended via storage engine API

• MySQL 5.1.53

How open are we?

• Mailing lists: Launchpad

• Code hosting: Launchpad

• Worklog

• Knowledgebase

Testing MariaDB• Use the Sandbox

• http://mysqlsandbox.net/

Worklog

Open Courseware

• Buying rights to books

• Database training is generally proprietary

• Is MariaDB/MySQL the best for today?

• Presentations, teach-the-trainer, exercises

• Videos? Audio podcasts?

• Interactive Flash?

Knowledgebase

• GFDL, CC-BY • Internationalisation next

Good test databases

• SakilaSampleDB

• http://forge.mysql.com/wiki/SakilaSampleDB

• http://dev.mysql.com/doc/

• Sakila sample database, world database (used in MySQL training) and menagerie database (used in a book titled Beginning MySQL)

Contributing isn’t only about coding

• Write a blog, talk about MariaDB

• MariaDB Ambassadors

• Write Knowledgebase entries/answer Q’s

• Evangelise

• Package for your distribution of choice!

The future?• There is no “one” tree

• MySQL, Percona, MariaDB

• GIS

• Batched Key Access

• HandlerSocket: access data in SQL/NoSQL way; persistent storage; high load usage

• MySQL + memcached is common

• PK lookups, cached rows in HandlerSocket

Thoughts• Teach/learn principles,

not a software package per se

• Opensource and open content does not take away jobs, it creates it and keeps profits within the local economy

• Successful opensource projects tend to need corporate backers (not a backer)

• but trust not their pre-packaged educational materials!

• Open core is not the best for you

MP have meetings twice yearly

• February 2010: Iceland

• October 2010: Istanbul, Turkey

• March 2011: Lisbon, Portugal

• All contributors are invited to attend

Resources

• #mariadb on irc.freenode.net

• Lists on launchpad

• http://planet.mysql.com/

• http://planetmariadb.org/

• http://kb.askmonty.org/

Q&A? / Thanksemail: colin@montyprogram.com / byte@bytebot.net

twitter: @byteboturl: http://bytebot.net/blog/

Recommended