Open11 maria db the new m in lamp

25
MariaDB: The New M in LAMP Open Paradigms in Education, OPEN’11 New Delhi, India Colin Charles [email protected] / [email protected] http://bytebot.net/blog/ @bytebot on Twitter

description

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

Transcript of Open11 maria db the new m in lamp

Page 2: Open11 maria db the new m in lamp
Page 3: Open11 maria db the new m in lamp

use ENGINE=CSV;

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

Page 4: Open11 maria db the new m in lamp

“The greatest problem for opensource is

graduation” -- Keith Packard

Page 5: Open11 maria db the new m in lamp

Aims for the day

• Harness more contributors to MariaDB

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

• Answer your queries, concerns

Page 6: Open11 maria db the new m in lamp

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?

Page 7: Open11 maria db the new m in lamp

You’re already a contributor to OSS

Page 8: Open11 maria db the new m in lamp

MariaDB backstory

• Why?

• MySQL: open source product, not project

• When?

• Who?

• Governance: Open Database Alliance, not one corporate entity

Page 9: Open11 maria db the new m in lamp

What is MariaDB?

• A branch of MySQL with more features?

• A branch of MySQL with better features?

• A fork?

Page 10: Open11 maria db the new m in lamp

MariaDB is...community developed,

feature enhanced,backward compatible

Page 11: Open11 maria db the new m in lamp

Aims

• 100% compatible, drop-in replacement

• Stable (bug-free) releases

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

• GPLv2

Page 12: Open11 maria db the new m in lamp

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!

Page 13: Open11 maria db the new m in lamp

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

Page 14: Open11 maria db the new m in lamp

How open are we?

• Mailing lists: Launchpad

• Code hosting: Launchpad

• Worklog

• Knowledgebase

Page 15: Open11 maria db the new m in lamp

Testing MariaDB• Use the Sandbox

• http://mysqlsandbox.net/

Page 16: Open11 maria db the new m in lamp

Worklog

Page 17: Open11 maria db the new m in lamp

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?

Page 18: Open11 maria db the new m in lamp

Knowledgebase

• GFDL, CC-BY • Internationalisation next

Page 19: Open11 maria db the new m in lamp

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)

Page 20: Open11 maria db the new m in lamp

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!

Page 21: Open11 maria db the new m in lamp

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

Page 22: Open11 maria db the new m in lamp

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

Page 23: Open11 maria db the new m in lamp

MP have meetings twice yearly

• February 2010: Iceland

• October 2010: Istanbul, Turkey

• March 2011: Lisbon, Portugal

• All contributors are invited to attend

Page 24: Open11 maria db the new m in lamp

Resources

• #mariadb on irc.freenode.net

• Lists on launchpad

• http://planet.mysql.com/

• http://planetmariadb.org/

• http://kb.askmonty.org/