25
Distributions from the view a package Colin Charles, Team MariaDB, MariaDB Corporation [email protected] / [email protected] http://bytebot.net/blog/ | @bytebot on Twitter FOSDEM, Brussels, Belgium 30 January 2016

Distributions from the view a package

Embed Size (px)

Citation preview

Page 1: Distributions from the view a package

Distributions from the view a package

Colin Charles, Team MariaDB, MariaDB Corporation [email protected] / [email protected]

http://bytebot.net/blog/ | @bytebot on Twitter FOSDEM, Brussels, Belgium

30 January 2016

Page 2: Distributions from the view a package

whoami• Work on MariaDB Server at MariaDB Corporation

(SkySQL Ab)

• Merged with Monty Program Ab, makers of MariaDB Server

• Formerly MySQL AB (exit: Sun Microsystems)

• Past lives include Fedora Project (FESCO), OpenOffice.org

• MySQL Community Contributor of the Year Award winner 2014

2

Page 3: Distributions from the view a package

Thank you packagers!

Page 4: Distributions from the view a package

The MySQL ecosystem

• MySQL: 21 years old — May 1995

• Percona Server: 7 years old — November 2008

• MariaDB: 6 years old — February 2010

• WebScaleSQL: March 2014

• 1996: 3.19

• 2000: GPL MySQL Server

• 2001: 3.23 GA

• March 2003: 4.0 GA + 4.1 & 5.0 as alpha

• Shortly thereafter, the dual-license arrives — libmysql is GPL and not LGPL like before

• March 2004: FOSS License Exception

4

Page 5: Distributions from the view a package

5

Page 6: Distributions from the view a package

6

Page 7: Distributions from the view a package

ABI Compatibility

7

Page 8: Distributions from the view a package

8

Page 9: Distributions from the view a package

Speed of releases/freezes

• Today, distributions follow a 6-9 month release cycle

• Database software tends to follow a 9-24 month release cycle

9

Page 10: Distributions from the view a package

Support

• Support has to exist for the lifetime of a distribution

• e.g. RHEL 7 shipped MariaDB Server 5.5 on 10 June 2014 (5.5 GA: 11 April 2012, 10.0 GA: 31 March 2014)

• MariaDB Foundation promises each major release to be supported for five years

10

Page 11: Distributions from the view a package

What ships in releases matters

2912 mysql-server-core-5.1 120642 201 120389 1 51 (Unknown)

3025 mysql-server 109570 2 1416 0 108152 (Debian Mysql Maintainers)

3908 mysql-server-5.0 59030 21 58980 2 27 (Debian Mysql Maintainers)

3993 mysql-server-core-5.5 56223 2190 53792 183 58 (Unknown)

11

Page 12: Distributions from the view a package

Statistics

• Statistics are SPARSE

• Debian/Ubuntu have popcon

• Docker has the registry stats

• Juju has deployment stats

• Fedora, OpenSUSE, used to have stats….

12

Page 13: Distributions from the view a package

Support Tiers

• Naturally we too have “tiers” of distribution support, e.g. a bug in Debian or Fedora is considered more important than if it were in GhostBSD

• Some distribution vendors have a L3 relationship to ensure that their bugs get fixed within 48

13

Page 14: Distributions from the view a package

Platform specific issues• TokuDB requires

libjemalloc, how does this work on FreeBSD?

• OQGRAPH requires libJudy, which isn’t provided by many distributions

• xtrabackup is known to run on Linux/x86, but on POWER8?

• What about having to skip tests or seeing segfaults on ARM? (MDEV-9112)

• What about when MariaDB Server asks for gawk, iproute and rsync?

14

Page 15: Distributions from the view a package

Bugs

• We encourage regular communication with packagers via the mailing list

• Some bugs systems CC us

• There is no “clear” dashboard

• Not all distributions bugs are reported upstream (yes, we are upstream….)

15

Page 16: Distributions from the view a package

We build our own packages too!

• MySQL, Percona Server, and MariaDB Server have their own apt/yum repositories as well

• You may get additional things in our packages, sometimes, e.g. storage engines, plugins

16

Page 17: Distributions from the view a package

How upstream can you get?

• Debian (patches):

• MariaDB Server 5.5 (9), MariaDB Server 10.0 (15)

• MySQL 5.7 (8), 5.6 (9), 5.5 (15)

• Fedora (patches):

• MariaDB Server 10 (14), with several tests skipped on ARM, S390 and base!

• 5.7 rawhide (Boost!), (25!), 5.6 (13)

17

Page 18: Distributions from the view a package

18

Page 19: Distributions from the view a package

Replacing MySQL with MariaDB

• Journey started November 2010 (Michal Hrušecký, openSUSE Build Service), by 2011 you were seeing it in the FreeBSD ports tree

• The journey became more complete when we bagged openSUSE, SLES, Fedora, RHEL (by virtue CentOS)…

• Hotly contested today for Debian (just read the lists)

19

Page 20: Distributions from the view a package

20

Page 21: Distributions from the view a package

21

Page 22: Distributions from the view a package

22

Page 23: Distributions from the view a package

What does the future hold?

• Its hard to say, isn’t it?

• New software moves too fast for distributions (6 months is too long). Look at Github. Speed vs. integration/trust/maintenance (the work of a distributions) — Mark Shuttleworth

23

Page 24: Distributions from the view a package

A word from your sponsors• MariaDB Corporation sponsored my T&E to

come to FOSDEM

• Remember you can buy a MariaDB Enterprise subscription to help you with your cloud deployments, MariaDB Server usage, etc.

• Services include: 24x7 support, consulting, training, remote DBA services, non-recurring engineering and more for all variants of MySQL

Page 25: Distributions from the view a package

Thank you!Colin Charles

[email protected] / [email protected] http://bytebot.net/blog | @bytebot on twitter

slides: slideshare.net/bytebot