Webseminar: MariaDB Enterprise und MariaDB Enterprise Cluster

38
MariaDB Enterprise & MariaDB Enterprise Cluster Ralf Gebhardt 20140717 Austria: 080088663212 Belgium: 027924593 Denmark: 70142286 Finland: 0923194288 France: 0174181129 Germany: 030700150735 Italy: 0200617739 Luxembourg: 80023964 Netherlands: 0107994401 Norway: 21033283 Sweden: 0114966365 Switzerland: 0434569449 United Kingdom: +44 2070 844 435 United States: +1 303 248-0285 Audio Conference Access Code: 6860586 U.S. & Canada: 866.740.1260 Austria: 080088663212 (Toll Free) Belgium: 080039397 (Toll Free) Denmark: 80886327 (Toll Free) Finland: 0800773431 (Toll Free) France: 0800942408 (Toll Free) Germany: 08006645316 (Toll Free) Italy: 800182592 (Toll Free) Luxembourg: 80023964 (Toll Free) Netherlands: 08000202061 (Toll Free) Norway: 80056434 (Toll Free) Sweden: 0201708429 (Toll Free) Switzerland: 0800705351 (Toll Free) United Kingdom: 08004960576 (Toll Free) United States: 8667401260 (Toll Free)

description

 

Transcript of Webseminar: MariaDB Enterprise und MariaDB Enterprise Cluster

Page 1: Webseminar: MariaDB Enterprise und MariaDB Enterprise Cluster

MariaDB  Enterprise  &  MariaDB  Enterprise  Cluster  

Ralf  Gebhardt  

2014-­‐07-­‐17    

Austria: 080088663212 Belgium: 027924593 Denmark: 70142286 Finland: 0923194288 France: 0174181129 Germany: 030700150735 Italy: 0200617739 Luxembourg: 80023964 Netherlands: 0107994401 Norway: 21033283 Sweden: 0114966365 Switzerland: 0434569449 United Kingdom: +44 2070 844 435 United States: +1 303 248-0285

Audio Conference Access Code: 6860586 U.S. & Canada: 866.740.1260 Austria: 080088663212 (Toll Free) Belgium: 080039397 (Toll Free) Denmark: 80886327 (Toll Free) Finland: 0800773431 (Toll Free) France: 0800942408 (Toll Free) Germany: 08006645316 (Toll Free) Italy: 800182592 (Toll Free) Luxembourg: 80023964 (Toll Free) Netherlands: 08000202061 (Toll Free) Norway: 80056434 (Toll Free) Sweden: 0201708429 (Toll Free) Switzerland: 0800705351 (Toll Free) United Kingdom: 08004960576 (Toll Free) United States: 8667401260 (Toll Free)

Page 2: Webseminar: MariaDB Enterprise und MariaDB Enterprise Cluster

©  MariaDB.  Company  ConfidenDal.  

MariaDB Enterprise &

MariaDB Enterprise Cluster  Ralf  Gebhardt  

Principal  Sales  Engineer,  SkySQL    

   

Page 3: Webseminar: MariaDB Enterprise und MariaDB Enterprise Cluster

Agenda  

•  Welcome!  

•  Intro  to  MariaDB  

•  MariaDB  Enterprise  

•  MariaDB  Enterprise  Cluster  

•  Services  and  other  opDons  

•  More  info  

Page 4: Webseminar: MariaDB Enterprise und MariaDB Enterprise Cluster

MariaDB  Today  

●  A  free  fork  of  MySQL  with  extra  features  

●  Backward  compaDble  ●  Community  developed,  

Enterprise  ready  

Page 5: Webseminar: MariaDB Enterprise und MariaDB Enterprise Cluster

About  MariaDB  &  MariaDB  FoundaDon  

mariadb.org  ●  MariaDB  FoundaDon  is  

the  non-­‐profit  organisaDon  that  works  to  promote  MariaDB  Server  and  its  Community  

●  It  is  sustained  by  corporate  and  individual  sponsorship,  membership  and  donaDons  

Page 6: Webseminar: MariaDB Enterprise und MariaDB Enterprise Cluster

About  MariaDB.com  

mariadb.com  ●  mariadb.com  is  the  home  

for  the  commercial  offering  of  MariaDB  

●  MariaDB  Enterprise  includes  support,  tools  and  services  for  MariaDB  

●  The  domain  and  the  website  is  owned  and  governed  by  SkySQL  Ab  

Page 7: Webseminar: MariaDB Enterprise und MariaDB Enterprise Cluster

About  SkySQL  

skysql.com  ●  SkySQL  Ab  is  the  leading  

provider  for  open  source  databases,  services  and  soluDons.  

●  It  is  the  home  for  the  founders  and  the  original  developers  of  the  core  of  MySQL  

●  It  provides  support  and  services  for  MySQL  and  derived  databases  

Page 8: Webseminar: MariaDB Enterprise und MariaDB Enterprise Cluster

Where  is  MariaDB?  

DistribuDons:  ●  RedHat  Enterprise  Linux,  Debian,  Ubuntu,  Fedora,  Mageia,  

openSUSE,  Gentoo,  Slackware,  Arch,  ALTLinux,  TurboLinux,  Chakra  Project,  Kdu,  …and  many  others.  

●  FreeBSD,  OpenBSD  ●  Mac  OS  X  with  MacPorts  or  Homebrew  

From  MariaDB.org  ●  sources,  binaries  in  .tar.gz  or  .zip  (Windows)  ●  Windows  MSI  installer  ●  MariaDB  apt  and  yum  repositories  

In  the  cloud  ●  On  Amazon,  OpenStack  public  and  private  clouds  

Page 9: Webseminar: MariaDB Enterprise und MariaDB Enterprise Cluster

MariaDB  Timeline  

●  MariaDB  5.1,  GA  February  2010  

Table elimination, new storage engines, code cleanup, better tests, pool of threads

Page 10: Webseminar: MariaDB Enterprise und MariaDB Enterprise Cluster

MariaDB  Timeline  

●  MariaDB  5.1,  GA  February  2010  

●  MariaDB  5.2,  GA  November  2010  

Table elimination, new storage engines, code cleanup, better tests, pool of threads

Virtual columns, extended user statistics, segmented MyISAM keycache

Page 11: Webseminar: MariaDB Enterprise und MariaDB Enterprise Cluster

MariaDB  Timeline  

●  MariaDB  5.1,  GA  February  2010  

●  MariaDB  5.2,  GA  November  2010  

●  MariaDB  5.3,  GA  February  2012  

Table elimination, new storage engines, code cleanup, better tests, pool of threads

Virtual columns, extended user statistics, segmented MyISAM keycache

Biggest changes to optimizer (faster subqueries, joins, etc.), microsecond precision, faster HANDLER, dynamic columns, better replication (group commit, etc.), HandlerSocket

Page 12: Webseminar: MariaDB Enterprise und MariaDB Enterprise Cluster

MariaDB  Timeline  

●  MariaDB  5.1,  GA  February  2010  

●  MariaDB  5.2,  GA  November  2010  

●  MariaDB  5.3,  GA  February  2012  

●  MariaDB  5.5,  GA  April  2012  

Table elimination, new storage engines, code cleanup, better tests, pool of threads

Virtual columns, extended user statistics, segmented MyISAM keycache

Biggest changes to optimizer (faster subqueries, joins, etc.), microsecond precision, faster HANDLER, dynamic columns, better replication (group commit, etc.), HandlerSocket

More efficient threadpool, non-blocking client library, new LIMIT ROWS EXAMINED option, extended keys for XtraDB/InnoDB, new SphinxSE, dynamic replication settings, lots of security fixes, new status variables, etc.

Page 13: Webseminar: MariaDB Enterprise und MariaDB Enterprise Cluster

MariaDB  Timeline  

●  MariaDB  5.1,  GA  February  2010  

●  MariaDB  5.2,  GA  November  2010  

●  MariaDB  5.3,  GA  February  2012  

●  MariaDB  5.5,  GA  April  2012  

●  MariaDB  Galera  Cluster,  GA  March  2013  

Table elimination, new storage engines, code cleanup, better tests, pool of threads

Virtual columns, extended user statistics, segmented MyISAM keycache

Biggest changes to optimizer (faster subqueries, joins, etc.), microsecond precision, faster HANDLER, dynamic columns, better replication (group commit, etc.), HandlerSocket

More efficient threadpool, non-blocking client library, new LIMIT ROWS EXAMINED option, extended keys for XtraDB/InnoDB, new SphinxSE, dynamic replication settings, lots of security fixes, new status variables, etc.

Galera Synchronous Replication

Page 14: Webseminar: MariaDB Enterprise und MariaDB Enterprise Cluster

MariaDB  Timeline  

●  MariaDB  5.1,  GA  February  2010  

●  MariaDB  5.2,  GA  November  2010  

●  MariaDB  5.3,  GA  February  2012  

●  MariaDB  5.5,  GA  April  2012  

●  MariaDB  Galera  Cluster,  GA  March  2013  

●  MariaDB  10.0.10  (March  2014)  

Table elimination, ew storage engines, code cleanup, better tests, pool of threads

Virtual columns, extended user statistics, segmented MyISAM keycache

Biggest changes to optimizer (faster subqueries, joins, etc.), microsecond precision, faster HANDLER, dynamic columns, better replication (group commit, etc.), HandlerSocket

More efficient threadpool, non-blocking client library, new LIMIT ROWS EXAMINED option, extended keys for XtraDB/InnoDB, new SphinxSE, dynamic replication settings, lots of security fixes, new status variables, etc.

Galera Synchronous Replication

Page 15: Webseminar: MariaDB Enterprise und MariaDB Enterprise Cluster

MariaDB  Timeline  

●  MariaDB  5.1,  GA  February  2010  

●  MariaDB  5.2,  GA  November  2010  

●  MariaDB  5.3,  GA  February  2012  

●  MariaDB  5.5,  GA  April  2012  

●  MariaDB  Galera  Cluster,  GA  March  2013  

●  MariaDB  10.0.10,  March  2014  

●  MariaDB  Galera  Cluster  10,  July  2014      

Table elimination, ew storage engines, code cleanup, better tests, pool of threads

Virtual columns, extended user statistics, segmented MyISAM keycache

Biggest changes to optimizer (faster subqueries, joins, etc.), microsecond precision, faster HANDLER, dynamic columns, better replication (group commit, etc.), HandlerSocket

More efficient threadpool, non-blocking client library, new LIMIT ROWS EXAMINED option, extended keys for XtraDB/InnoDB, new SphinxSE, dynamic replication settings, lots of security fixes, new status variables, etc.

Galera Synchronous Replication

Page 16: Webseminar: MariaDB Enterprise und MariaDB Enterprise Cluster

MariaDB  10  in  a  nutshell  

●  MariaDB  5.5  features  +  ●  MySQL  5.6  backported  features  -­‐  InnoDB/XtraDB,  

PERFORMANCE_SCHEMA,  online  ALTER  TABLE  etc.  ●  MulD-­‐source  replicaDon  ●  Global  TransacDon  ID  ●  Parallel  Slave  Thread  ●  TokuDB,  Spider,  Connect,  Cassandra  storage  engines  ●  SSD  and  Flash  storage  enhancements  ●  User  roles  ●  More  administraDon  and  instrumentaDon  commands...  

Page 17: Webseminar: MariaDB Enterprise und MariaDB Enterprise Cluster

OpDmizer  Improvements  

●  Of 29 distinct enhancements noted, 28 are in MariaDB 10. Just 1 only in MySQL 5.6.

●  Enhancements include: ●  Disk access optimizations. ●  JOIN optimizations. ●  Subquery optimizations. ●  Optimized derived tables and views. ●  Execution control. ●  Optimizer control. ●  EXPLAIN improvements.

 

Page 18: Webseminar: MariaDB Enterprise und MariaDB Enterprise Cluster

Fusion-­‐IO  page  compression  

●  Atomic  writes  gives  a  performance  increase  of  about  30%.  By  enabling  fast  checksum  for  XtraDB  it’s  50%  

●  By  using  page  compression  the  compression  raDo  is  leading  to  beler  performance  and  there  are  less  writes  to  disk.  

●  MulD-­‐threaded  flush  provides  beler  throughput  and  decreases  operaDon  latencies  delivering  a  performance  boost  

h2ps://blog.mariadb.org/significant-­‐performance-­‐boost-­‐with-­‐new-­‐mariadb-­‐page-­‐compression-­‐on-­‐fusionio    

Page 19: Webseminar: MariaDB Enterprise und MariaDB Enterprise Cluster

Group  Commit  

●  binlog_commits  ●  Total  number  of  

transacDons  commiled  to  the  binary  log  

●  binlog_group_commits  Total  number  of  groups  of  transacDons  commiled  to  the  binary  log  

When  sync_binlog=1  it  is  the  number  of  fsync()’s  

Page 20: Webseminar: MariaDB Enterprise und MariaDB Enterprise Cluster

Global  TransacDon  ID  

Page 21: Webseminar: MariaDB Enterprise und MariaDB Enterprise Cluster

Parallel  Slave  Thread  ReplicaDon  ●  Sponsored  by  Google  ●  TransacDons  are  applied  in  parallel  if  they  have  been  executed  in  parallel  on  the  

master.  ●  It  works  beyond  the  boundaries  of  MySQL  5.6  parallel  slave  

●  Parallel  threads  apply  to:  ●  Queries  that  are  run  on  the  master  in  one  group  commit.  ●  Queries  that  are  from  different  domains.  ●  Queries  from  different  masters  

(when  using  mulD-­‐source  replicaDon).  

●  slave_parallel_threads  ●  Number  of  parallel  threads  on  

the  slave  node  ●  slave_parallel_max_queued  

●  Number  of  parallel  threads  on  the  slave  node  

Page 22: Webseminar: MariaDB Enterprise und MariaDB Enterprise Cluster

MulD-­‐source  ReplicaDon  

●  Data  parDDoned  over  many  masters  can  be  pulled  together  onto  one  slave  for  analyDcal  queries  

●  Many  masters  can  replicate  to  the  same  slave  and  a  complete  backup  can  be  done  on  the  slave  

●  Newer  hardware  usually  provides  more  performance.  Usually  all  hardware  isn’t  upgraded  at  once  and  mulD-­‐source  can  be  used  for  replicaDng  many  masters  to  a  powerful  new  slave.  

●  Up  to  64  masters  

 

Page 23: Webseminar: MariaDB Enterprise und MariaDB Enterprise Cluster

MariaDB  Galera  Cluster  

●  Read  &  Write  access  to  any  node  

●  Client  can  connect  to  any  node  

●  There  can  be  several  nodes  ●  AutomaDc  node  

provisioning  ●  ReplicaDon  is  synchronous    

Galera Replication

MariaDB   MariaDB   MariaDB  

Page 24: Webseminar: MariaDB Enterprise und MariaDB Enterprise Cluster

TokuDB  

●  Drop-­‐in  replacement  for  InnoDB/XtraDB  developed  by  Tokutek.  

●  Advanced  indexing  and  compression  algorithms.  

●  Up  to  20x  performance  gain  for  inserts/updates.  

●  Up  to  90%  less  disk  storage.  ●  Online  schema  changes  and  online  backup  

features.  ●  Simplified  administraDon  

Page 25: Webseminar: MariaDB Enterprise und MariaDB Enterprise Cluster

Spider  

●  Spider  is  a  storage  engine  based  on  the  MySQL  parDDoning  features,  with  built-­‐in  sharding  capabiliDes  

●  Tables  of  different  MariaDB  instances  are  handled  as  if  they  are  on  the  same  instance  

●  It  supports  XA  transacDons  and  mulDple  storage  engines  (InnoDB,  MyISAM  etc.)  

●  Developed  by  Kentoku  Shiba,  available  on  Launchpad,  first  introduced  in  2008  and  now  available  in  MariaDB  10  

Page 26: Webseminar: MariaDB Enterprise und MariaDB Enterprise Cluster

Connect  

●  Connect  enables  MariaDB  to  use  external  data  as  they  were  standard  tables  in  the  server  

●  Data  is  not  loaded  into  MariaDB  ●  Integrates/access  data  directly  in  many  non-­‐

MariaDB  formats  ●  Simplifies  the  ETL  procedures  in  

Business  Intelligence  and  Business  AnalyDcs  

●  Simplifies  the  export/import  of  data  from/to  MariaDB,  to/from  other  data  sources  

Page 27: Webseminar: MariaDB Enterprise und MariaDB Enterprise Cluster

Even  more  innovaDve  features  

●  Role-­‐based  access  control  ●  SHOW  EXPLAIN  FOR  thread  ●  Explain  on  slow  query  log  ●  Cassandra  storage  engine  ●  Virtual  and  dynamic  columns  ●  HandlerSocket  plugin  ●  Audit  and  PAM  plugins  

Page 28: Webseminar: MariaDB Enterprise und MariaDB Enterprise Cluster

MariaDB  10.1  

●  Single  distribuDon  for  clustered  and  non-­‐clustered  MariaDB  ●  5.6,  5.7  and  WebscaleSQL  features  ●  Portable  tablespaces  ●  Improved  thread  management  ●  Kerberos  authenDcaDon  support  ●  GIS  improvements  ●  Windowing  funcDons  ●  inner  and  outer  database  security  and  encrypDon  ●  More  NoSQL  enhancements  

h2ps://mariadb.atlassian.net/secure/ReleaseNote.jspa?projectId=10000&version=12200  

Page 29: Webseminar: MariaDB Enterprise und MariaDB Enterprise Cluster

©  MariaDB.  Company  ConfidenDal.  

MariaDB  Enterprise  

●  Global  Support  ●  CerDfied  Binaries  ●  Performance  Tuned  ●  Enterprise  Tools  ●  MySQL®  Friendly  

Page 30: Webseminar: MariaDB Enterprise und MariaDB Enterprise Cluster

©  MariaDB.  Company  ConfidenDal.  

MariaDB  Enterprise  Cluster  

●  All  the  advantages  of  MariaDB  Enterprise  

●  Highly  available,  fault  tolerant  

●  Provisioning  &  AdministraDon  

Page 31: Webseminar: MariaDB Enterprise und MariaDB Enterprise Cluster

©  SkySQL  –  The  MariaDB  Company    

What  Is  MariaDB  Enterprise?  

Enterprise  So@ware  

Remote  DBA  

ConsulEng  

Training  

Engineering  (NRE)  

●  MONyog ●  SQLyog

   24  x  7  Support  ●  Worldwide.  ●  30  min.  response.  ●  Unlimited  incidents.  ●  Unlimited  contacts.  ●  Web,  email,  remote  login.  ●  Updates,  bug  fixes.  ●  Security  patches.  ●  Advice,  help,  hot  fixes.  ●  Install,  config.  help.  

   Customer  Portal  ●  Exclusivecontent.  ●  Manage  

subscripDons.  ●  Sign  up  for  

consulDng,  training.  ●  ParDcipate  in  Betas,  trials.  ●  Download  updates.  ●  View  roadmaps.  

MariaDB  Enterprise  Cluster  

PlaLorm   Partner  Products  

Bundled  Services  

Enterprise  OpEons  + + +

Page 32: Webseminar: MariaDB Enterprise und MariaDB Enterprise Cluster

©  SkySQL  –  The  MariaDB  Company    

MariaDB  EdiDons  Comparison  (1/2)  

CapabiliEes  and  CerEfied  Binaries:

MariaDB  10    

MariaDB    Enterprise  (Advanced)  

MariaDB  Enterprise    Cluster  

CompaDble  with  MySQL   ✔ ✔ ✔ Improved  Performance,  Scalability,  Availability  beyond  MySQL  

✔ ✔ ✔

Easy  Install   ✔ ✔ ✔ AcDve-­‐acDve  MulD-­‐master  Topology   ✔  True  Synchronous  ReplicaDon   ✔  Management  Console   ✔  Auto-­‐provisioning  of  Galera  Clusters   ✔  Monitoring  of  Databases  and  Galera  Clusters   ✔  RESTful  API  for  Galera  Cluster  AutomaDon   ✔  Approved  Plugins  +  Storage  Engines   ✔ Pre-­‐loaded  MariaDB  Audit   ✔

Page 33: Webseminar: MariaDB Enterprise und MariaDB Enterprise Cluster

©  SkySQL  –  The  MariaDB  Company    

MariaDB  EdiDons  Comparison  (1/2)  

CapabiliEes  and  CerEfied  Binaries:

MariaDB  10    

MariaDB    Enterprise  (Advanced)  

MariaDB  Enterprise    Cluster  

CompaDble  with  MySQL   ✔ ✔ ✔ Improved  Performance,  Scalability,  Availability  beyond  MySQL  

✔ ✔ ✔

Easy  Install   ✔ ✔ ✔ AcDve-­‐acDve  MulD-­‐master  Topology   ✔  True  Synchronous  ReplicaDon   ✔  Management  Console   ✔  Auto-­‐provisioning  of  Galera  Clusters   ✔  Monitoring  of  Databases  and  Galera  Clusters   ✔  RESTful  API  for  Galera  Cluster  AutomaDon   ✔  Approved  Plugins  +  Storage  Engines   ✔ Pre-­‐loaded  MariaDB  Audit   ✔

InnoDB,  MyISAM,  TokuDB,  XtraDB  

Post-­‐installaDon  

Page 34: Webseminar: MariaDB Enterprise und MariaDB Enterprise Cluster

©  SkySQL  –  The  MariaDB  Company    

SubscripEon  Services:

MariaDB  10   MariaDB    Enterprise  (Advanced)  

MariaDB  Enterprise    Cluster  

Enterprise  Monitoring ✔ ✔ Query  Analyzer ✔ ✔ Visual  Query  Editor ✔ ✔ Hot  Backup ✔ ✔ Backup  and  Recovery  Manager ✔ ✔ Maintenance ✔ ✔ Security  Updates ✔ ✔ Roadmaps ✔ ✔ Break/Fix  Support ✔ ✔ ConsultaDve  Support   ✔ ✔ Support  Coverage   Up  to  24x7   Up  to  24x7  Number  of  Incidents   Unlimited   Unlimited  Emergency  Response  Time   From  30  Minutes   From  30  Minutes  

MariaDB  EdiDons  Comparison  (2/2)  

Page 35: Webseminar: MariaDB Enterprise und MariaDB Enterprise Cluster

©  SkySQL  –  The  MariaDB  Company    

SubscripEon  Services:

MariaDB  10   MariaDB    Enterprise  (Advanced)  

MariaDB  Enterprise    Cluster  

Enterprise  Monitoring ✔ ✔ Query  Analyzer ✔ ✔ Visual  Query  Editor ✔ ✔ Hot  Backup ✔ ✔ Backup  and  Recovery  Manager ✔ ✔ Maintenance ✔ ✔ Security  Updates ✔ ✔ Roadmaps ✔ ✔ Break/Fix  Support ✔ ✔ ConsultaDve  Support   ✔ ✔ Support  Coverage   Up  to  24x7   Up  to  24x7  Number  of  Incidents   Unlimited   Unlimited  Emergency  Response  Time   From  30  Minutes   From  30  Minutes  

MariaDB  EdiDons  Comparison  (2/2)  

MONyog  UlDmate  MONyog  UlDmate  

SQLyog  

xtrabackup  

Zmanda  ZRM  

Page 36: Webseminar: MariaDB Enterprise und MariaDB Enterprise Cluster

©  SkySQL  –  The  MariaDB  Company    

ConsulDng  and  Training  

•  The  best  services  and  support  from  the  original  developers  of  MySQL  

•  Customized  professional  services  that  adapt  to  customers’  needs,  from  the  smallest  to  the  largest  implementaDons  

•  On  site  and  public  training  classes  delivered  by  cerDfied  trainers  

•  New:  Live  Virtual  Classroom  (LVC)  trainings!  

Page 37: Webseminar: MariaDB Enterprise und MariaDB Enterprise Cluster

For  More  Info...  

●  mariadb.org  ●  mariadb.com/kb  ●  mariadb.com/products  ●  mariadb.com/resources/downloads  ●  code.launchpad.net/maria/10.0  ●  github.com/mariadb    ●  [email protected]  

Page 38: Webseminar: MariaDB Enterprise und MariaDB Enterprise Cluster

Thank  You!  

“The  future  is  already  here  —  it's  just  not  very  evenly  distributed.”  

William  F.  Gibson