SlideShare ist ein Scribd-Unternehmen logo
1 von 44
Downloaden Sie, um offline zu lesen
MySQL	
  Cluster	
  
In-­‐Memory	
  Real-­‐Time	
  Performance,	
  Web	
  Scalability	
  &	
  99.999%	
  Availability	
  
Mark	
  Swarbrick	
  
Principle	
  Presales	
  Consultant	
  
	
  
	
  
Safe	
  Harbor	
  Statement	
  
The	
  following	
  is	
  intended	
  to	
  outline	
  our	
  general	
  product	
  direc?on.	
  It	
  is	
  intended	
  for	
  
informa?on	
  purposes	
  only,	
  and	
  may	
  not	
  be	
  incorporated	
  into	
  any	
  contract.	
  It	
  is	
  not	
  a	
  
commitment	
  to	
  deliver	
  any	
  material,	
  code,	
  or	
  func?onality,	
  and	
  should	
  not	
  be	
  relied	
  upon	
  
in	
  making	
  purchasing	
  decisions.	
  The	
  development,	
  release,	
  and	
  ?ming	
  of	
  any	
  features	
  or	
  
func?onality	
  described	
  for	
  Oracle’s	
  products	
  remains	
  at	
  the	
  sole	
  discre?on	
  of	
  Oracle.	
  
Copyright	
  2015,	
  oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved	
   2	
  
consumer	
  
employee	
  
business	
  
model	
  
around-the-clock
availability 	
  
mobile	
  
social	
  
personalized
service 	
  
Information any
time, anywhere 	
  
flawless engagement 	
   insight	
  
real-time
fulfillment 	
  
new markets 	
  
Focus	
  on	
  driving	
  the	
  business	
  rather	
  than	
  on	
  infrastructure	
  
Driving	
  new	
  Database	
  Requirements	
  
In-­‐Memory	
  
Real-­‐Time	
  
Performance	
  
Extreme	
  
Read	
  &	
  
Write	
  
Scalability	
  
Rock	
  Solid	
  
Availability	
  
Rapid	
  
Service	
  
Innova?on	
  
Copyright	
  2015,	
  oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved	
   4	
  
MySQL	
  Cluster	
  Overview	
  
• Memory	
  op?mized	
  tables	
  with	
  durability	
  
• Predictable	
  Low-­‐Latency,	
  Bounded	
  Access	
  Time	
  REAL-­‐TIME	
  
•  Auto-­‐Sharding,	
  Mul?-­‐Master	
  
•  ACID	
  Compliant,	
  OLTP	
  +	
  Real-­‐Time	
  Analy?cs	
  
HIGH	
  SCALE,	
  READS	
  +	
  
WRITES	
  
•  Shared	
  nothing,	
  no	
  Single	
  Point	
  of	
  Failure	
  
•  Self	
  Healing	
  +	
  On-­‐Line	
  Opera?ons	
  
99.999%	
  AVAILABILITY	
  
•  Key/Value	
  +	
  Complex,	
  Rela?onal	
  Queries	
  
•  SQL	
  +	
  Memcached	
  +	
  JavaScript	
  +	
  Java	
  +	
  HTTP/REST	
  &	
  C++	
  
SQL	
  +	
  NoSQL	
  
•  Open	
  Source	
  +	
  Commercial	
  Edi?ons	
  
•  Commodity	
  hardware	
  +	
  Management,	
  Monitoring	
  Tools	
  
LOW	
  TCO	
  
Copyright	
  2015,	
  oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved	
   5	
  
Who’s	
  Using	
  MySQL	
  Cluster?	
  
Copyright	
  2015,	
  oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved	
   6	
  
Company	
  Overview	
  	
  	
  
PayPal	
  allows	
  any	
  business	
  or	
  individual	
  with	
  an	
  email	
  
address	
  to	
  securely,	
  conveniently	
  and	
  cost-­‐effec?vely	
  send	
  
and	
  receive	
  payments	
  online.	
  	
  
	
  
ApplicaSon 	
  	
  
PayPal	
  built	
  a	
  cloud-­‐based	
  globally-­‐distributed	
  database	
  
with	
  100	
  TB	
  of	
  user-­‐related	
  data	
  based	
  on	
  MySQL	
  Cluster.	
  
“Must	
  NOT	
  lose	
  data”	
  system,	
  delivering	
  99,999%	
  
availability,	
  transac?onal,	
  with	
  data	
  available	
  WW	
  
anywhere	
  in	
  <	
  1	
  Sec.	
  
	
  
Why	
  MySQL	
  Cluster?	
  
“You	
  can	
  achieve	
  high	
  performance	
  and	
  availability	
  
without	
  giving	
  up	
  rela8onal	
  models	
  and	
  read	
  
consistency.”	
  Daniel	
  Aus?n,	
  Chief	
  Architect,	
  PayPal	
  
PayPal	
  
	
  
Copyright	
  2015,	
  oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved	
   7	
  
Company	
  Overview	
  
World's	
  largest	
  producer	
  of	
  casual	
  games.	
  Big	
  Fish	
  has	
  
distributed	
  more	
  than	
  2.5	
  billion	
  games	
  to	
  customers	
  in	
  150	
  
countries.	
  
	
  
ApplicaSon	
  
Serve	
  real-­‐?me	
  recommenda?ons	
  to	
  Big	
  Fish	
  customers,	
  
requiring	
  high	
  velocity	
  data	
  ingest,	
  low	
  latency	
  access,	
  online	
  
scalability,	
  99.999%	
  availability	
  and	
  Enterprise	
  SLAs	
  &	
  
roadmap.	
  
	
  	
  
Why	
  MySQL	
  Cluster	
  CGE?	
  
"The	
  MMS	
  pla@orm	
  is	
  a	
  strategic	
  project	
  within	
  Big	
  Fish.	
  We	
  
couldn’t	
  afford	
  to	
  take	
  any	
  chances	
  and	
  MySQL	
  Cluster	
  
provided	
  us	
  with	
  a	
  proven	
  and	
  trusted	
  solu8on	
  to	
  meet	
  the	
  
demands	
  of	
  both	
  our	
  business	
  and	
  our	
  users.“	
  Sean	
  
Chighizola,	
  Sr.	
  Director	
  of	
  Database	
  Administra?on,	
  Big	
  Fish	
  	
  
	
  
Big	
  Fish	
  
Copyright	
  2015,	
  oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved	
   8	
  
Company	
  Overview	
  
Global	
  telecommunica?ons	
  equipment	
  company,	
  focuses	
  on	
  
fixed,	
  mobile,	
  and	
  converged	
  networking	
  hardware,	
  IP	
  
technologies,	
  somware,	
  and	
  services.	
  
	
  
ApplicaSon	
  
MySQL	
  Cluster	
  CGE	
  is	
  at	
  the	
  heart	
  of	
  Alcatel-­‐Lucent’s	
  
Subscriber	
  Data	
  Manager	
  to	
  deliver	
  converged	
  IMS	
  services	
  
to	
  mobile	
  and	
  fixed	
  line	
  users.	
  
	
  	
  
Why	
  MySQL	
  Cluster	
  CGE?	
  
•  Delivers	
  the	
  performance,	
  scalability	
  and	
  availability	
  
required	
  by	
  this	
  mission	
  cri?cal	
  real-­‐?me	
  applica?on	
  
•  Real-­‐?me	
  read	
  &	
  write	
  access	
  for	
  tens	
  of	
  millions	
  of	
  
subscribers	
  in	
  a	
  single	
  system	
  
•  Always-­‐on	
  service:	
  no	
  offline	
  maintenance	
  window	
  for	
  
services	
  users	
  depend	
  on	
  (voice,	
  SMS,	
  email,	
  Web,	
  social	
  
media…)	
  
•  Rapid	
  delivery	
  &	
  low	
  TCO	
  
	
  
Alcatel-­‐Lucent	
  
23/04/15	
   Copyright	
  2015,	
  oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved	
   9	
  
Company	
  Overview	
  
Playful	
  Play	
  created	
  La?n	
  America’s	
  #1	
  Facebook	
  game	
  
based	
  on	
  "El	
  Chavo	
  del	
  8“.	
  
	
  
ApplicaSon	
  
Playful	
  Play	
  selected	
  MySQL	
  Cluster	
  CGE	
  running	
  on	
  a	
  public	
  
cloud	
  to	
  power	
  their	
  gaming	
  plavorm,	
  providing:	
  	
  
•  45%	
  improvement	
  in	
  performance	
  
•  99.999%	
  up?me	
  
•  80%	
  reduc?on	
  in	
  DBA	
  overhead	
  
•  Local	
  language	
  support,	
  24x7	
  
	
  
Why	
  MySQL	
  Cluster	
  CGE?	
  
“MySQL	
  Cluster	
  has	
  allowed	
  us	
  to	
  keep	
  pace	
  with	
  the	
  rapid	
  
success	
  of	
  the	
  game.	
  Being	
  the	
  number	
  one	
  Facebook	
  game	
  
in	
  La8n	
  America	
  is	
  a	
  big	
  responsibility,	
  and	
  we	
  rely	
  on	
  
Oracle’s	
  products	
  and	
  MySQL	
  support	
  for	
  con8nued	
  growth.”	
  
Ricardo	
  Rocha,	
  CEO,	
  Playful	
  Play	
  
Playful	
  Play	
  
Copyright	
  2015,	
  oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved	
   10	
  
MySQL	
  
ReplicaSon	
  
MySQL	
  
Fabric	
  
DRBD	
  
Windows/
Solaris/
Clusterware	
  
Clustering	
  
or	
  Oracle	
  
VM	
  
MySQL	
  
Cluster	
  
MySQL	
  HA	
  Solu?ons	
  
19th	
  February	
  2015	
  
9	
   9	
   .	
   9	
   9	
   9	
   %	
  
Copyright	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved	
  	
   11	
  
Oracle	
  MySQL	
  HA	
  &	
  Scaling	
  Solu?ons	
  
MySQL	
  
ReplicaSon	
  
MySQL	
  
Fabric	
  
Oracle	
  VM	
  
Template	
  
Oracle	
  
Clusterware	
  
Solaris	
  
Cluster	
  
Windows	
  
Cluster	
  
DRBD	
  
MySQL	
  
Cluster	
  
App	
  Auto-­‐Failover	
   ✖	
   ✔	
   ✔	
   ✔	
   ✔	
   ✔	
   ✔	
   ✔	
  
Data	
  Layer	
  Auto-­‐Failover	
   ✖	
   ✔	
   ✔	
   ✔	
   ✔	
   ✔	
   ✔	
   ✔	
  
Zero	
  Data	
  Loss	
   MySQL	
  5.7	
   MySQL	
  5.7	
   ✔	
   ✔	
   ✔	
   ✔	
   ✔	
   ✔	
  
Plavorm	
  Support	
   All	
   All	
   Linux	
   Linux	
   Solaris	
   Windows	
   Linux	
   All	
  
Clustering	
  Mode	
  
Master	
  +	
  
Slaves	
  
Master	
  +	
  
Slaves	
  
AcSve/
Passive	
  
AcSve/
Passive	
  
AcSve/
Passive	
  
AcSve/
Passive	
  
AcSve/
Passive	
  
MulS-­‐
Master	
  
Failover	
  Time	
   N/A	
   Secs	
   Secs	
  +	
   Secs	
  +	
   Secs	
  +	
   Secs	
  +	
   Secs	
  +	
   <	
  1	
  Sec	
  
Scale-­‐out	
   Reads	
   ✔	
   ✖	
   ✖	
   ✖	
   ✖	
   ✖	
   ✔	
  
Cross-­‐shard	
  opera?ons	
   N/A	
   ✖	
   N/A	
   N/A	
   N/A	
   N/A	
   N/A	
   ✔	
  
Transparent	
  rou?ng	
   ✖	
   For	
  HA	
   ✔	
   ✔	
   ✔	
   ✔	
   ✔	
   ✔	
  
Shared	
  Nothing	
   ✔	
   ✔	
   ✖	
   ✖	
   ✖	
   ✖	
   ✔	
   ✔	
  
Storage	
  Engine	
   InnoDB+	
   InnoDB+	
   InnoDB+	
   InnoDB+	
   InnoDB+	
   InnoDB+	
   InnoDB+	
   NDB	
  
Single	
  Vendor	
  Support	
   ✔	
   ✔	
   ✔	
   ✔	
   ✔	
   ✖	
   ✔	
   ✔	
  
23/04/15	
   Copyright	
  2015,	
  oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved	
   12	
  
MySQL	
  Cluster	
  Architecture	
  
	
  
MySQL	
  Cluster	
  Data	
  Nodes	
  
Clients	
  
Applica?on	
  Layer	
  
Data	
  Layer	
  
Copyright	
  2015,	
  oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved	
   13	
  
MySQL	
  Cluster	
  Scaling	
  
	
  
MySQL	
  Cluster	
  Data	
  Nodes	
  
Clients	
  
Applica?on	
  Layer	
  
Data	
  Layer	
  
Copyright	
  2015,	
  oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved	
   14	
  
On-­‐line	
  Opera?ons	
  
•  Scale	
  the	
  cluster	
  (add	
  &	
  remove	
  nodes	
  on-­‐line)	
  
•  Repar??on	
  tables	
  
•  Upgrade	
  /	
  patch	
  servers	
  &	
  OS	
  
•  Upgrade	
  /	
  patch	
  MySQL	
  Cluster	
  
•  Back-­‐Up	
  
•  Evolve	
  the	
  schema	
  on-­‐line,	
  in	
  real-­‐?me	
  
Copyright	
  2015,	
  oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved	
   15	
  
MySQL	
  Cluster	
  Auto-­‐Installer	
  
• Fast	
  configura?on	
  
• Auto-­‐discovery	
  
• Workload	
  op?mized	
  
• Repeatable	
  best	
  prac?ces	
  
Specify	
  
Workload	
  
Auto-­‐
Discover	
  
Define	
  
Topology	
  Deploy	
  
Copyright	
  2015,	
  oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved	
   16	
  
Copyright	
  2015,	
  oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved	
   17	
  
Copyright	
  2015,	
  oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved	
   18	
  
NoSQL	
  Access	
  to	
  MySQL	
  Cluster	
  data	
  
Apps	
 Apps	
 Apps	
 Apps	
 Apps	
 Apps	
 Apps	
 Apps	
 Apps	
 Apps	
 Apps	
 Apps	
JPA	
Cluster	
  JPA	
PHP	
 Perl	
 Python	
 Ruby	
 JDBC	
 Cluster	
  J	
 JS	
 Apache	
 Memcached	
MySQL	
 JNI	
 Node.JS	
 mod_ndb	
 ndb_eng	
NDB	
  API	
  (C++)	
MySQL	
  Cluster	
  Data	
  Nodes	
  
Schema-­‐Free	
  apps	
  
•  Rapid	
  applica?on	
  evolu?on	
  
– New	
  types	
  of	
  data	
  constantly	
  
added	
  
– No	
  ?me	
  to	
  get	
  schema	
  extended	
  
– Missing	
  skills	
  to	
  extend	
  schema	
  
– Ini?ally	
  roll	
  out	
  to	
  just	
  a	
  few	
  users	
  
– Constantly	
  adding	
  to	
  live	
  system	
  
Copyright	
  2015,	
  oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved	
   20	
  
Cluster	
  &	
  Memcached	
  –	
  Schema-­‐Free	
  
<town:maidenhead,SL6>
key	
   value	
  
<town:maidenhead,SL6>
key	
   value	
  
Key	
   Value	
  
town:maidenhead	
   SL6	
  
generic	
  table	
  
Applica?on	
  view	
  
SQL	
  view	
  
Copyright	
  2015,	
  oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved	
   21	
  
Cluster	
  &	
  Memcached	
  -­‐	
  Configured	
  Schema	
  
<town:maidenhead,SL6>
prefix	
   key	
   value	
  
<town:maidenhead,SL6>
key	
   value	
  
Prefix	
   Table	
   Key-­‐col	
   Val-­‐col	
   policy	
  
town:	
   map.zip	
   town	
   code	
   cluster	
  
Config	
  tables	
  
town	
   ...	
   code	
   ...	
  
maidenhead	
   ...	
   SL6	
   ...	
  
map.zip	
  
Applica?on	
  view	
  
SQL	
  view	
  
Copyright	
  2015,	
  oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved	
   22	
  
Node.js	
  NoSQL	
  API	
   •  Na?ve	
  JavaScript	
  access	
  to	
  MySQL	
  Cluster	
  
– End-­‐to-­‐End	
  JavaScript:	
  browser	
  to	
  the	
  app	
  &	
  
DB	
  
– Storing	
  and	
  retrieving	
  JavaScript	
  objects	
  
directly	
  in	
  MySQL	
  Cluster	
  	
  
– Eliminate	
  SQL	
  transforma?on	
  
•  Implemented	
  as	
  a	
  module	
  for	
  node.js	
  
– Integrates	
  Cluster	
  API	
  library	
  within	
  the	
  web	
  
app	
  
•  Couple	
  high	
  performance,	
  distributed	
  apps,	
  
with	
  high	
  performance	
  distributed	
  database	
  
•  Op?onally	
  routes	
  through	
  MySQL	
  Server	
  
– Use	
  with	
  InnoDB	
  
V8 JavaScript Engine
MySQL Cluster Node.js Module
MySQL Cluster Data Nodes
Clients
Copyright	
  2015,	
  oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved	
   23	
  
NoSQL	
  API	
  for	
  Node.js	
  &	
  FKs	
  
FKs	
  enforced	
  on	
  all	
  APIs:	
  
{ message: 'Error',
sqlstate: '23000',
ndb_error: null,
cause:
{message: 'Foreign key constraint violated: No parent row found [255]',
sqlstate: '23000',
ndb_error:
{ message: 'Foreign key constraint violated: No parent row found',
code: 255,
classification: 'ConstraintViolation',
handler_error_code: 151,
status: 'PermanentError' },
cause: null } }
	
   Copyright	
  2015,	
  oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved	
   24	
  
MySQL	
  Cluster	
  7.4	
  GA	
  
Copyright	
  2015,	
  oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved	
   25	
  
MySQL	
  Cluster	
  7.4	
  GA	
  
•  200	
  Million	
  NoSQL	
  
Reads/Sec	
  
•  2.5M	
  SQL	
  Ops/Sec	
  
•  50%	
  Faster	
  Reads	
  
•  40%	
  Faster	
  Mixed	
  
Performance	
  
•  Ac?ve-­‐Ac?ve	
  
Geographic	
  
Redundancy	
  
•  Conflict	
  Detec?on/
Resolu?on	
  
Ac?ve-­‐Ac?ve	
  
•  5X	
  Faster	
  
Maintenance	
  Ops	
  
•  Detailed	
  Repor?ng	
  
Management	
  
Copyright	
  2015,	
  oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved	
   26	
  
•  Memory	
  op?mized	
  tables	
  
– Durable	
  
– Mix	
  with	
  disk-­‐based	
  tables	
  
•  Massively	
  concurrent	
  OLTP	
  
•  Distributed	
  Joins	
  for	
  analy?cs	
  
•  Parallel	
  table	
  scans	
  for	
  non-­‐indexed	
  
searches	
  
•  MySQL	
  Cluster	
  7.4	
  FlexAsych	
  
– 200M	
  NoSQL	
  Reads/Second	
  
27	
  
MySQL	
  Cluster	
  7.4	
  NoSQL	
  Performance	
  
200	
  Million	
  NoSQL	
  Reads/Second	
  
Copyright	
  2015,	
  oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved	
  
!"!!!!
!50,000,000!!
!100,000,000!!
!150,000,000!!
!200,000,000!!
!250,000,000!!
2! 4! 6! 8! 10! 12! 14! 16! 18! 20! 22! 24! 26! 28! 30! 32!
Reads&per&second&
Data&Nodes&
FlexAsync&Reads&
•  Memory	
  op?mized	
  tables	
  
– Durable	
  
– Mix	
  with	
  disk-­‐based	
  tables	
  
•  Massively	
  concurrent	
  OLTP	
  
•  Distributed	
  Joins	
  for	
  analy?cs	
  
•  Parallel	
  table	
  scans	
  for	
  non-­‐indexed	
  
searches	
  
•  MySQL	
  Cluster	
  7.4	
  DBT2	
  BM	
  
– 2.5M	
  SQL	
  Statements/Second	
  
23/04/15	
   28	
  
MySQL	
  Cluster	
  7.4	
  SQL	
  Performance	
  
2.5M	
  SQL	
  Statements/Second	
  
Copyright	
  2015,	
  oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved	
  
!"!!!!
!500,000!!
!1,000,000!!
!1,500,000!!
!2,000,000!!
!2,500,000!!
!3,000,000!!
2! 4! 6! 8! 10! 12! 14! 16!
SQL$Statements/sec$
Data$Nodes$
DBT2$SQL$Statements$per$Second$
Performance Enhancements
MySQL Cluster 7.4
50%	
  Read-­‐Only	
  Increase	
  
Copyright	
  2015,	
  oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved	
   29	
  
0"
1000"
2000"
3000"
4000"
5000"
6000"
7000"
8000"
9000"
64" 128" 192" 256" 320" 384" 448" 512"
Transac'ons)per)second)
Threads)
Sysbench)R/W)
7.4"
7.3"
7.2"
0"
1000"
2000"
3000"
4000"
5000"
6000"
7000"
8000"
9000"
10000"
64" 128" 192" 256" 320" 384" 448" 512"
Transac'on)per)second)
Threads)
Sysbench)RO)
7.4"
7.3"
7.2"
40%	
  Read/Write	
  Increase	
  
•  Asynchronous	
  replica?on	
  between	
  
MySQL	
  Clusters	
  
•  Ac?ve-­‐Ac?ve	
  
– Update	
  anywhere	
  
– Conflict	
  detec?on	
  
•  Applica?on	
  no?fied	
  through	
  excep?on	
  tables	
  
•  Can	
  opt	
  to	
  have	
  conflicts	
  resolved	
  
automa?cally	
  
– Auto-­‐conflict-­‐resolu?on	
  
•  Conflic?ng	
  transac?on	
  and	
  dependent	
  ones	
  
are	
  rolled-­‐back	
  
•  No	
  changes	
  to	
  applica?on	
  schema	
  
Ac?ve-­‐Ac?ve	
  Geo-­‐Replica?on	
  
Copyright	
  2015,	
  oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved	
   30	
  
MySQL	
  Cluster	
  7.4	
  Restart	
  Improvements	
  
•  Dura?on	
  of	
  long-­‐running	
  maintenance	
  ac?vi?es	
  dominated	
  by	
  Data	
  Node	
  
restart	
  ?mes	
  
•  MySQL	
  Cluster	
  7.4	
  =	
  5.5X	
  faster	
  restarts	
  
•  Benefits	
  both	
  nodal	
  and	
  rolling	
  restarts	
  
– Upgrades,	
  add-­‐node,…	
  
•  Benefits	
  both	
  SQL	
  and	
  NoSQL	
  APIs	
  
•  Benefits	
  both	
  ”manual”	
  and	
  MySQL	
  Cluster	
  Manager	
  opera?ons	
  
•  Achieve	
  5x	
  as	
  much	
  during	
  a	
  single	
  maintenance	
  window	
  
Make	
  Data	
  Node	
  Restarts	
  Fast!	
  
Copyright	
  2015,	
  oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved	
   31	
  
MySQL	
  Cluster	
  7.4	
  –	
  Enhanced	
  memory	
  repor?ng	
  
•  ndbinfo.memory_per_fragment	
  memory	
  usage	
  informa?on	
  for	
  
each	
  fragment	
  replica,	
  for	
  each	
  table	
  and	
  index	
  
•  Allocated	
  memory	
  and	
  how	
  much	
  of	
  that	
  is	
  actually	
  in	
  use.	
  
•  Exposes	
  
– Fragmenta?on	
  of	
  fixed	
  and	
  var-­‐sized	
  fragment	
  pages	
  	
  
– Accurate	
  Data	
  and	
  Index	
  Memory	
  use	
  
– Comparison	
  of	
  Primary	
  and	
  Backup	
  fragment	
  usage	
  
– Par??oning	
  effec?veness	
  
Copyright	
  2015,	
  oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved	
   32	
  
MySQL	
  Cluster	
  7.4	
  –	
  Enhanced	
  ac?vity	
  repor?ng	
  
•  ndbinfo.operations_per_fragment ac?vity	
  counters	
  for	
  each	
  
fragment	
  replica,	
  for	
  each	
  table	
  and	
  index	
  
•  PK	
  &	
  scan	
  access	
  –	
  requests,	
  bytes,	
  rows…	
  
•  Exposes	
  
– How	
  traffic	
  maps	
  to	
  tables	
  and	
  indices	
  
– Query	
  execu?on,	
  use	
  of	
  indexes	
  etc.	
  
– LDM	
  and	
  node	
  imbalances	
  	
  
– Hotspots	
  and	
  scan	
  overloads	
  
Copyright	
  2015,	
  oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved	
   33	
  
When to Consider MySQL Cluster
l  Scalability	
  demands	
  
l  Sharding	
  for	
  write	
  performance?	
  
l  Latency	
  demands	
  
l  Cost	
  of	
  each	
  millisecond?	
  
l  Up?me	
  requirements	
  
l  Cost	
  per	
  minute	
  of	
  down?me?	
  
l  Failure	
  versus	
  maintenance?	
  
l  Applica?on	
  agility	
  
l  Developer	
  languages	
  and	
  frameworks?	
  
l  SQL	
  or	
  NoSQL?	
  
Copyright	
  2015,	
  oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved	
   34	
  
General	
  Usage	
  Considera?ons	
  
•  MySQL	
  Cluster	
  is	
  designed	
  for	
  
–  Short	
  transac?ons	
  
–  Many	
  parallel	
  transac?ons	
  
•  U?lize	
  simple	
  access	
  pa~erns	
  for	
  high	
  running	
  transac?ons	
  
–  Use	
  efficient	
  scans	
  and	
  batching	
  interfaces	
  
–  AQL	
  gives	
  huge	
  performance	
  in	
  JOIN	
  opera?ons	
  
–  MySQL	
  Cluster	
  7.4	
  speeds	
  up	
  table	
  scans	
  
•  Storage	
  engine	
  configurable	
  for	
  each	
  table…InnoDB	
  or	
  NDB	
  
	
  
MySQL	
  Cluster	
  Evalua?on	
  Guide	
  
h~p://mysql.com/why-­‐mysql/white-­‐papers/mysql_cluster_eval_guide.php	
  
Copyright	
  2015,	
  oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved	
   35	
  
MySQL	
  Cluster	
  Carrier	
  Grade	
  Edi?on	
  (CGE)	
  
MySQL	
  
Cluster	
  
CGE	
  
MySQL	
  
Cluster	
  
Manager	
  
MySQL	
  
Enterprise	
  
Scalability	
  
MySQL	
  
Enterprise	
  
Audit	
  
MySQL	
  
Enterprise	
  
Security	
  
Oracle	
  
Premier	
  
Life?me	
  
Support	
  
Oracle	
  
Product	
  
Cer?fica?ons	
  
MySQL	
  
Enterprise	
  
Mornitor	
  
MySQL	
  
Workbench	
  
Copyright	
  2015,	
  oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved	
   36	
  
Enhancing	
  DevOps	
  Agility,	
  	
  
Reducing	
  Down?me	
  
Automated	
  Management	
  
• Start	
  /	
  Stop	
  node	
  or	
  
whole	
  cluster	
  
• On-­‐Line	
  Scaling	
  
• On-­‐Line	
  
Reconfigura?on	
  
• On-­‐Line	
  Upgrades	
  
• On-­‐Line	
  Backup	
  &	
  
Restore	
  
• Import	
  Running	
  Cluster	
  
Self-­‐Healing	
  
• Node	
  monitoring	
  
• Auto-­‐recovery	
  
extended	
  to	
  SQL	
  +	
  
mgmt	
  nodes	
  
HA	
  Opera?ons	
  
• Cluster-­‐wide	
  
configura?on	
  
consistency	
  
• Persistent	
  
configura?ons	
  
• HA	
  Agents	
  
Copyright	
  2015,	
  oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved	
   37	
  
Without	
  MySQL	
  Cluster	
  Manager	
  
•  1	
  x	
  preliminary	
  check	
  of	
  cluster	
  state	
  
•  8	
  x	
  ssh	
  commands	
  per	
  server	
  
•  8	
  x	
  per-­‐process	
  stop	
  commands	
  
•  4	
  x	
  scp	
  of	
  config	
  files	
  (2	
  x	
  mgmd	
  &	
  2	
  x	
  mysqld)	
  
•  8	
  x	
  per-­‐process	
  start	
  commands	
  
•  8	
  x	
  checks	
  for	
  started	
  and	
  re-­‐joined	
  processes	
  
•  8	
  x	
  process	
  comple?on	
  verifica?ons	
  
•  1	
  x	
  verify	
  comple?on	
  of	
  the	
  whole	
  cluster.	
  	
  	
  
•  Excludes	
  manual	
  edi?ng	
  of	
  each	
  configura?on	
  file.	
  
•  Total:	
  46	
  commands	
  
– 2.5	
  hours	
  of	
  a~ended	
  opera?on	
  
With	
  MySQL	
  Cluster	
  Manager	
  
mcm> upgrade cluster

--package=7.4 mycluster;	
  
	
  
•  Total:	
  1	
  Command	
  -­‐	
  	
  
– Una~ended	
  Opera?on	
  
Somware	
  Upgrade	
  –	
  example	
  of	
  benefits	
  of	
  MCM?	
  
Copyright	
  2015,	
  oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved	
   38	
  
MCM:	
  Upgrade	
  Cluster	
  
mcm> upgrade cluster

--package=7.4 mycluster;
Copyright	
  2015,	
  oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved	
   39	
  
MySQL	
  Cluster	
  Manager	
  1.3.3	
  GA	
  
“Unmanaged”	
  produc?on	
  Cluster	
  
mcm> create cluster --import
mcm> import config [--dryrun]
mcm> import cluster[--dryrun]
Cluster	
  now	
  managed	
  by	
  MCM	
  
Import	
  a	
  running	
  Cluster	
  into	
  MCM	
  
Copyright	
  2015,	
  oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved	
   40	
  
Oracle	
  Premier	
  Support	
  for	
  MySQL	
  
•  Straight from the Source
•  Largest Team of MySQL Experts
•  Backed by MySQL Developers
•  Forward Compatible Hot Fixes
•  MySQL Maintenance Releases
•  MySQL Support in 29 Languages
•  24/7/365
•  Unlimited Incidents
•  Knowledge Base
•  MySQL Consultative Support
Rely	
  on	
  The	
  Experts	
  -­‐	
  Get	
  Unique	
  Benefits	
  
"The	
  MySQL	
  support	
  service	
  has	
  been	
  essen?al	
  
in	
  helping	
  us	
  with	
  troubleshoo?ng	
  and	
  
providing	
  recommenda?ons	
  for	
  the	
  produc?on	
  
cluster,	
  Thanks."	
  	
  
	
  	
  
	
  -­‐-­‐	
  Carlos	
  Morales	
  –	
  Playfulplay.com	
  
Only From
Oracle
Copyright	
  2015,	
  oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved	
   41	
  
Evaluate MySQL Cluster CGE
•  Navigate to
http://edelivery.oracle.com/ and
step through (selecting “MySQL
Database” as the Product Pack)
•  Select MySQL Cluster Manager
30-­‐Day	
  Trial	
  
Copyright	
  2015,	
  oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved	
   42	
  
Next	
  Steps	
  
Learn	
  More	
  
•  www.mysql.com/cluster	
  
•  Authen?c	
  MySQL	
  Curriculum:	
  h~p://oracle.com/educa?on/mysql	
  
Try	
  it	
  Out	
  
•  dev.mysql.com/downloads/cluster/	
  
Let	
  us	
  know	
  what	
  you	
  think	
  
•  clusterdb.com	
  
•  @clusterdb	
  
•  forums.mysql.com/list.php?25	
  
Copyright	
  2015,	
  oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved	
   43	
  
Netherlands Tech Tour 03 -   MySQL Cluster

Weitere ähnliche Inhalte

Was ist angesagt?

MySQL Community and Commercial Edition
MySQL Community and Commercial EditionMySQL Community and Commercial Edition
MySQL Community and Commercial EditionMario Beck
 
MySQL vs. NoSQL and NewSQL - survey results
MySQL vs. NoSQL and NewSQL - survey resultsMySQL vs. NoSQL and NewSQL - survey results
MySQL vs. NoSQL and NewSQL - survey resultsMatthew Aslett
 
MySQL Cloud Service
MySQL Cloud ServiceMySQL Cloud Service
MySQL Cloud ServiceMario Beck
 
MySQL Cluster performance best practices
MySQL Cluster performance best practicesMySQL Cluster performance best practices
MySQL Cluster performance best practicesMat Keep
 
MySQL 20 años: pasado, presente y futuro; conoce las nuevas características d...
MySQL 20 años: pasado, presente y futuro; conoce las nuevas características d...MySQL 20 años: pasado, presente y futuro; conoce las nuevas características d...
MySQL 20 años: pasado, presente y futuro; conoce las nuevas características d...GeneXus
 
Oracle Enterprise Manager for MySQL
Oracle Enterprise Manager for MySQLOracle Enterprise Manager for MySQL
Oracle Enterprise Manager for MySQLMario Beck
 
MySQL HA Alternatives 2010
MySQL  HA  Alternatives 2010MySQL  HA  Alternatives 2010
MySQL HA Alternatives 2010Kris Buytaert
 
MySQL for Oracle DBAs
MySQL for Oracle DBAsMySQL for Oracle DBAs
MySQL for Oracle DBAsMario Beck
 
MySQL HA Solutions
MySQL HA SolutionsMySQL HA Solutions
MySQL HA SolutionsMat Keep
 
MySQL London Tech Tour March 2015 - Whats New
MySQL London Tech Tour March 2015 - Whats NewMySQL London Tech Tour March 2015 - Whats New
MySQL London Tech Tour March 2015 - Whats NewMark Swarbrick
 
MySQL High Availibility Solutions
MySQL High Availibility SolutionsMySQL High Availibility Solutions
MySQL High Availibility SolutionsMark Swarbrick
 
MySQL 5.7: Focus on Replication
MySQL 5.7: Focus on ReplicationMySQL 5.7: Focus on Replication
MySQL 5.7: Focus on ReplicationMario Beck
 
(DAT209) NEW LAUNCH! Introducing MariaDB on Amazon RDS
(DAT209) NEW LAUNCH! Introducing MariaDB on Amazon RDS(DAT209) NEW LAUNCH! Introducing MariaDB on Amazon RDS
(DAT209) NEW LAUNCH! Introducing MariaDB on Amazon RDSAmazon Web Services
 
Alta Disponibilidade no MySQL 5.7
Alta Disponibilidade no MySQL 5.7Alta Disponibilidade no MySQL 5.7
Alta Disponibilidade no MySQL 5.7MySQL Brasil
 
MySQL 5.7 como Document Store
MySQL 5.7 como Document StoreMySQL 5.7 como Document Store
MySQL 5.7 como Document StoreMySQL Brasil
 
Oracle cloud, private, public and hybrid
Oracle cloud, private, public and hybridOracle cloud, private, public and hybrid
Oracle cloud, private, public and hybridJohan Louwers
 
MySQL 8 - 2018 MySQL Days
MySQL 8 - 2018 MySQL DaysMySQL 8 - 2018 MySQL Days
MySQL 8 - 2018 MySQL DaysMark Swarbrick
 
Oracle IaaS/PaaS - Experience Technology Night
Oracle IaaS/PaaS - Experience Technology NightOracle IaaS/PaaS - Experience Technology Night
Oracle IaaS/PaaS - Experience Technology NightLuis Albinati
 

Was ist angesagt? (20)

MySQL Community and Commercial Edition
MySQL Community and Commercial EditionMySQL Community and Commercial Edition
MySQL Community and Commercial Edition
 
MySQL vs. NoSQL and NewSQL - survey results
MySQL vs. NoSQL and NewSQL - survey resultsMySQL vs. NoSQL and NewSQL - survey results
MySQL vs. NoSQL and NewSQL - survey results
 
MySQL Cloud Service
MySQL Cloud ServiceMySQL Cloud Service
MySQL Cloud Service
 
MySQL Cluster performance best practices
MySQL Cluster performance best practicesMySQL Cluster performance best practices
MySQL Cluster performance best practices
 
MySQL 20 años: pasado, presente y futuro; conoce las nuevas características d...
MySQL 20 años: pasado, presente y futuro; conoce las nuevas características d...MySQL 20 años: pasado, presente y futuro; conoce las nuevas características d...
MySQL 20 años: pasado, presente y futuro; conoce las nuevas características d...
 
Oracle Enterprise Manager for MySQL
Oracle Enterprise Manager for MySQLOracle Enterprise Manager for MySQL
Oracle Enterprise Manager for MySQL
 
MySQL HA Alternatives 2010
MySQL  HA  Alternatives 2010MySQL  HA  Alternatives 2010
MySQL HA Alternatives 2010
 
MySQL for Oracle DBAs
MySQL for Oracle DBAsMySQL for Oracle DBAs
MySQL for Oracle DBAs
 
MySQL HA Solutions
MySQL HA SolutionsMySQL HA Solutions
MySQL HA Solutions
 
MySQL cluster 7.4
MySQL cluster 7.4 MySQL cluster 7.4
MySQL cluster 7.4
 
MySQL London Tech Tour March 2015 - Whats New
MySQL London Tech Tour March 2015 - Whats NewMySQL London Tech Tour March 2015 - Whats New
MySQL London Tech Tour March 2015 - Whats New
 
MySQL High Availibility Solutions
MySQL High Availibility SolutionsMySQL High Availibility Solutions
MySQL High Availibility Solutions
 
MySQL 8
MySQL 8MySQL 8
MySQL 8
 
MySQL 5.7: Focus on Replication
MySQL 5.7: Focus on ReplicationMySQL 5.7: Focus on Replication
MySQL 5.7: Focus on Replication
 
(DAT209) NEW LAUNCH! Introducing MariaDB on Amazon RDS
(DAT209) NEW LAUNCH! Introducing MariaDB on Amazon RDS(DAT209) NEW LAUNCH! Introducing MariaDB on Amazon RDS
(DAT209) NEW LAUNCH! Introducing MariaDB on Amazon RDS
 
Alta Disponibilidade no MySQL 5.7
Alta Disponibilidade no MySQL 5.7Alta Disponibilidade no MySQL 5.7
Alta Disponibilidade no MySQL 5.7
 
MySQL 5.7 como Document Store
MySQL 5.7 como Document StoreMySQL 5.7 como Document Store
MySQL 5.7 como Document Store
 
Oracle cloud, private, public and hybrid
Oracle cloud, private, public and hybridOracle cloud, private, public and hybrid
Oracle cloud, private, public and hybrid
 
MySQL 8 - 2018 MySQL Days
MySQL 8 - 2018 MySQL DaysMySQL 8 - 2018 MySQL Days
MySQL 8 - 2018 MySQL Days
 
Oracle IaaS/PaaS - Experience Technology Night
Oracle IaaS/PaaS - Experience Technology NightOracle IaaS/PaaS - Experience Technology Night
Oracle IaaS/PaaS - Experience Technology Night
 

Ähnlich wie Netherlands Tech Tour 03 - MySQL Cluster

What's new in MySQL Cluster 7.4 webinar charts
What's new in MySQL Cluster 7.4 webinar chartsWhat's new in MySQL Cluster 7.4 webinar charts
What's new in MySQL Cluster 7.4 webinar chartsAndrew Morgan
 
MySQL High Availability Solutions - Feb 2015 webinar
MySQL High Availability Solutions - Feb 2015 webinarMySQL High Availability Solutions - Feb 2015 webinar
MySQL High Availability Solutions - Feb 2015 webinarAndrew Morgan
 
5 razões estratégicas para usar MySQL
5 razões estratégicas para usar MySQL5 razões estratégicas para usar MySQL
5 razões estratégicas para usar MySQLMySQL Brasil
 
MySQL Technology Overview
MySQL Technology OverviewMySQL Technology Overview
MySQL Technology OverviewKeith Hollman
 
MySQL for Software-as-a-Service (SaaS)
MySQL for Software-as-a-Service (SaaS)MySQL for Software-as-a-Service (SaaS)
MySQL for Software-as-a-Service (SaaS)Mario Beck
 
Enabling digital transformation with MySQL
Enabling digital transformation with MySQLEnabling digital transformation with MySQL
Enabling digital transformation with MySQLMySQL Brasil
 
MySQL Enterprise Edition - Complete Guide (2019)
MySQL Enterprise Edition - Complete Guide (2019)MySQL Enterprise Edition - Complete Guide (2019)
MySQL Enterprise Edition - Complete Guide (2019)Keith Hollman
 
Oracle engineered systems executive presentation
Oracle engineered systems executive presentationOracle engineered systems executive presentation
Oracle engineered systems executive presentationOTN Systems Hub
 
Netherlands Tech Tour 05 - Strategic Operationalization of MySQL
Netherlands Tech Tour 05 - Strategic Operationalization of MySQLNetherlands Tech Tour 05 - Strategic Operationalization of MySQL
Netherlands Tech Tour 05 - Strategic Operationalization of MySQLMark Swarbrick
 
MySQL Day Paris 2016 - Introducing Oracle MySQL Cloud Service
MySQL Day Paris 2016 - Introducing Oracle MySQL Cloud ServiceMySQL Day Paris 2016 - Introducing Oracle MySQL Cloud Service
MySQL Day Paris 2016 - Introducing Oracle MySQL Cloud ServiceOlivier DASINI
 
My sql enterprise_edition_wp_v38
My sql enterprise_edition_wp_v38My sql enterprise_edition_wp_v38
My sql enterprise_edition_wp_v38Jeton Selimi
 
1 my sql20151219-kaji_ivan
1 my sql20151219-kaji_ivan1 my sql20151219-kaji_ivan
1 my sql20151219-kaji_ivanIvan Tu
 
Continuous Availability for Private Database Clouds
Continuous Availability for Private Database CloudsContinuous Availability for Private Database Clouds
Continuous Availability for Private Database CloudsNoel Sidebotham
 
MySQL London Tech Tour March 2015 - Big Data
MySQL London Tech Tour March 2015 - Big DataMySQL London Tech Tour March 2015 - Big Data
MySQL London Tech Tour March 2015 - Big DataMark Swarbrick
 
MySQL en el mundo real. Evolución desde la compra por Oracle
MySQL en el mundo real. Evolución desde la compra por OracleMySQL en el mundo real. Evolución desde la compra por Oracle
MySQL en el mundo real. Evolución desde la compra por OracleLibreCon
 
MySQL in oracle_public_cloud
MySQL in oracle_public_cloudMySQL in oracle_public_cloud
MySQL in oracle_public_cloudOracleMySQL
 
Unlocking Big Data Insights with MySQL
Unlocking Big Data Insights with MySQLUnlocking Big Data Insights with MySQL
Unlocking Big Data Insights with MySQLMatt Lord
 
CON6492 - Oracle Database Public Cloud Services v1 1
CON6492 - Oracle Database Public Cloud Services v1 1CON6492 - Oracle Database Public Cloud Services v1 1
CON6492 - Oracle Database Public Cloud Services v1 1David van Schalkwyk
 
MySQL Tech Tour 2015 - Intro
MySQL Tech Tour 2015 - IntroMySQL Tech Tour 2015 - Intro
MySQL Tech Tour 2015 - IntroMark Swarbrick
 

Ähnlich wie Netherlands Tech Tour 03 - MySQL Cluster (20)

What's new in MySQL Cluster 7.4 webinar charts
What's new in MySQL Cluster 7.4 webinar chartsWhat's new in MySQL Cluster 7.4 webinar charts
What's new in MySQL Cluster 7.4 webinar charts
 
MySQL High Availability Solutions - Feb 2015 webinar
MySQL High Availability Solutions - Feb 2015 webinarMySQL High Availability Solutions - Feb 2015 webinar
MySQL High Availability Solutions - Feb 2015 webinar
 
5 razões estratégicas para usar MySQL
5 razões estratégicas para usar MySQL5 razões estratégicas para usar MySQL
5 razões estratégicas para usar MySQL
 
MySQL Technology Overview
MySQL Technology OverviewMySQL Technology Overview
MySQL Technology Overview
 
MySQL for Software-as-a-Service (SaaS)
MySQL for Software-as-a-Service (SaaS)MySQL for Software-as-a-Service (SaaS)
MySQL for Software-as-a-Service (SaaS)
 
Enabling digital transformation with MySQL
Enabling digital transformation with MySQLEnabling digital transformation with MySQL
Enabling digital transformation with MySQL
 
MySQL
MySQLMySQL
MySQL
 
MySQL Enterprise Edition - Complete Guide (2019)
MySQL Enterprise Edition - Complete Guide (2019)MySQL Enterprise Edition - Complete Guide (2019)
MySQL Enterprise Edition - Complete Guide (2019)
 
Oracle engineered systems executive presentation
Oracle engineered systems executive presentationOracle engineered systems executive presentation
Oracle engineered systems executive presentation
 
Netherlands Tech Tour 05 - Strategic Operationalization of MySQL
Netherlands Tech Tour 05 - Strategic Operationalization of MySQLNetherlands Tech Tour 05 - Strategic Operationalization of MySQL
Netherlands Tech Tour 05 - Strategic Operationalization of MySQL
 
MySQL Day Paris 2016 - Introducing Oracle MySQL Cloud Service
MySQL Day Paris 2016 - Introducing Oracle MySQL Cloud ServiceMySQL Day Paris 2016 - Introducing Oracle MySQL Cloud Service
MySQL Day Paris 2016 - Introducing Oracle MySQL Cloud Service
 
My sql enterprise_edition_wp_v38
My sql enterprise_edition_wp_v38My sql enterprise_edition_wp_v38
My sql enterprise_edition_wp_v38
 
1 my sql20151219-kaji_ivan
1 my sql20151219-kaji_ivan1 my sql20151219-kaji_ivan
1 my sql20151219-kaji_ivan
 
Continuous Availability for Private Database Clouds
Continuous Availability for Private Database CloudsContinuous Availability for Private Database Clouds
Continuous Availability for Private Database Clouds
 
MySQL London Tech Tour March 2015 - Big Data
MySQL London Tech Tour March 2015 - Big DataMySQL London Tech Tour March 2015 - Big Data
MySQL London Tech Tour March 2015 - Big Data
 
MySQL en el mundo real. Evolución desde la compra por Oracle
MySQL en el mundo real. Evolución desde la compra por OracleMySQL en el mundo real. Evolución desde la compra por Oracle
MySQL en el mundo real. Evolución desde la compra por Oracle
 
MySQL in oracle_public_cloud
MySQL in oracle_public_cloudMySQL in oracle_public_cloud
MySQL in oracle_public_cloud
 
Unlocking Big Data Insights with MySQL
Unlocking Big Data Insights with MySQLUnlocking Big Data Insights with MySQL
Unlocking Big Data Insights with MySQL
 
CON6492 - Oracle Database Public Cloud Services v1 1
CON6492 - Oracle Database Public Cloud Services v1 1CON6492 - Oracle Database Public Cloud Services v1 1
CON6492 - Oracle Database Public Cloud Services v1 1
 
MySQL Tech Tour 2015 - Intro
MySQL Tech Tour 2015 - IntroMySQL Tech Tour 2015 - Intro
MySQL Tech Tour 2015 - Intro
 

Mehr von Mark Swarbrick

MySQL NoSQL Document Store
MySQL NoSQL Document StoreMySQL NoSQL Document Store
MySQL NoSQL Document StoreMark Swarbrick
 
MySQL @ the University Of Nottingham
MySQL @ the University Of NottinghamMySQL @ the University Of Nottingham
MySQL @ the University Of NottinghamMark Swarbrick
 
MySQL Dublin Event Nov 2018 - MySQL 8
MySQL Dublin Event Nov 2018 - MySQL 8MySQL Dublin Event Nov 2018 - MySQL 8
MySQL Dublin Event Nov 2018 - MySQL 8Mark Swarbrick
 
MySQL Dublin Event Nov 2018 - State of the Dolphin
MySQL Dublin Event Nov 2018 - State of the DolphinMySQL Dublin Event Nov 2018 - State of the Dolphin
MySQL Dublin Event Nov 2018 - State of the DolphinMark Swarbrick
 
Oracle Code Event - MySQL JSON Document Store
Oracle Code Event - MySQL JSON Document StoreOracle Code Event - MySQL JSON Document Store
Oracle Code Event - MySQL JSON Document StoreMark Swarbrick
 
TLV - MySQL Security overview
TLV - MySQL Security overviewTLV - MySQL Security overview
TLV - MySQL Security overviewMark Swarbrick
 
TLV - MySQL Enterprise Edition + Cloud
TLV - MySQL Enterprise Edition + CloudTLV - MySQL Enterprise Edition + Cloud
TLV - MySQL Enterprise Edition + CloudMark Swarbrick
 
TLV - Whats new in MySQL 8
TLV - Whats new in MySQL 8TLV - Whats new in MySQL 8
TLV - Whats new in MySQL 8Mark Swarbrick
 
MySQL At University Of Nottingham - 2018 MySQL Days
MySQL At University Of Nottingham - 2018 MySQL DaysMySQL At University Of Nottingham - 2018 MySQL Days
MySQL At University Of Nottingham - 2018 MySQL DaysMark Swarbrick
 
MySQL At Mastercard - 2018 MySQL Days
MySQL At Mastercard - 2018 MySQL DaysMySQL At Mastercard - 2018 MySQL Days
MySQL At Mastercard - 2018 MySQL DaysMark Swarbrick
 
MySQL Security + GDPR - 2018 MySQL Days
MySQL Security + GDPR - 2018 MySQL DaysMySQL Security + GDPR - 2018 MySQL Days
MySQL Security + GDPR - 2018 MySQL DaysMark Swarbrick
 
MySQL InnoDB + NDB Cluster - 2018 MySQL Days
MySQL InnoDB + NDB Cluster - 2018 MySQL DaysMySQL InnoDB + NDB Cluster - 2018 MySQL Days
MySQL InnoDB + NDB Cluster - 2018 MySQL DaysMark Swarbrick
 
MySQL Cloud - 2018 MySQL Days
MySQL Cloud - 2018 MySQL DaysMySQL Cloud - 2018 MySQL Days
MySQL Cloud - 2018 MySQL DaysMark Swarbrick
 
MySQL 2018 Intro - 2018 MySQL Days
MySQL 2018 Intro - 2018 MySQL DaysMySQL 2018 Intro - 2018 MySQL Days
MySQL 2018 Intro - 2018 MySQL DaysMark Swarbrick
 
MySQL Cluster Whats New
MySQL Cluster Whats NewMySQL Cluster Whats New
MySQL Cluster Whats NewMark Swarbrick
 
Oow MySQL Whats new in security overview sept 2017 v1
Oow MySQL Whats new in security overview sept 2017 v1Oow MySQL Whats new in security overview sept 2017 v1
Oow MySQL Whats new in security overview sept 2017 v1Mark Swarbrick
 

Mehr von Mark Swarbrick (20)

MySQL NoSQL Document Store
MySQL NoSQL Document StoreMySQL NoSQL Document Store
MySQL NoSQL Document Store
 
MySQL @ the University Of Nottingham
MySQL @ the University Of NottinghamMySQL @ the University Of Nottingham
MySQL @ the University Of Nottingham
 
InnoDb Vs NDB Cluster
InnoDb Vs NDB ClusterInnoDb Vs NDB Cluster
InnoDb Vs NDB Cluster
 
MySQL Security & GDPR
MySQL Security & GDPRMySQL Security & GDPR
MySQL Security & GDPR
 
Intro To MySQL 2019
Intro To MySQL 2019Intro To MySQL 2019
Intro To MySQL 2019
 
MySQL Dublin Event Nov 2018 - MySQL 8
MySQL Dublin Event Nov 2018 - MySQL 8MySQL Dublin Event Nov 2018 - MySQL 8
MySQL Dublin Event Nov 2018 - MySQL 8
 
MySQL Dublin Event Nov 2018 - State of the Dolphin
MySQL Dublin Event Nov 2018 - State of the DolphinMySQL Dublin Event Nov 2018 - State of the Dolphin
MySQL Dublin Event Nov 2018 - State of the Dolphin
 
Oracle Code Event - MySQL JSON Document Store
Oracle Code Event - MySQL JSON Document StoreOracle Code Event - MySQL JSON Document Store
Oracle Code Event - MySQL JSON Document Store
 
TLV - MySQL Security overview
TLV - MySQL Security overviewTLV - MySQL Security overview
TLV - MySQL Security overview
 
TLV - MySQL Enterprise Edition + Cloud
TLV - MySQL Enterprise Edition + CloudTLV - MySQL Enterprise Edition + Cloud
TLV - MySQL Enterprise Edition + Cloud
 
TLV - Whats new in MySQL 8
TLV - Whats new in MySQL 8TLV - Whats new in MySQL 8
TLV - Whats new in MySQL 8
 
MySQL At University Of Nottingham - 2018 MySQL Days
MySQL At University Of Nottingham - 2018 MySQL DaysMySQL At University Of Nottingham - 2018 MySQL Days
MySQL At University Of Nottingham - 2018 MySQL Days
 
MySQL At Mastercard - 2018 MySQL Days
MySQL At Mastercard - 2018 MySQL DaysMySQL At Mastercard - 2018 MySQL Days
MySQL At Mastercard - 2018 MySQL Days
 
MySQL Security + GDPR - 2018 MySQL Days
MySQL Security + GDPR - 2018 MySQL DaysMySQL Security + GDPR - 2018 MySQL Days
MySQL Security + GDPR - 2018 MySQL Days
 
MySQL InnoDB + NDB Cluster - 2018 MySQL Days
MySQL InnoDB + NDB Cluster - 2018 MySQL DaysMySQL InnoDB + NDB Cluster - 2018 MySQL Days
MySQL InnoDB + NDB Cluster - 2018 MySQL Days
 
MySQL Cloud - 2018 MySQL Days
MySQL Cloud - 2018 MySQL DaysMySQL Cloud - 2018 MySQL Days
MySQL Cloud - 2018 MySQL Days
 
MySQL 2018 Intro - 2018 MySQL Days
MySQL 2018 Intro - 2018 MySQL DaysMySQL 2018 Intro - 2018 MySQL Days
MySQL 2018 Intro - 2018 MySQL Days
 
MySQL + GDPR
MySQL + GDPRMySQL + GDPR
MySQL + GDPR
 
MySQL Cluster Whats New
MySQL Cluster Whats NewMySQL Cluster Whats New
MySQL Cluster Whats New
 
Oow MySQL Whats new in security overview sept 2017 v1
Oow MySQL Whats new in security overview sept 2017 v1Oow MySQL Whats new in security overview sept 2017 v1
Oow MySQL Whats new in security overview sept 2017 v1
 

Kürzlich hochgeladen

Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024The Digital Insurer
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbuapidays
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024The Digital Insurer
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...apidays
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024The Digital Insurer
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 

Kürzlich hochgeladen (20)

Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 

Netherlands Tech Tour 03 - MySQL Cluster

  • 1. MySQL  Cluster   In-­‐Memory  Real-­‐Time  Performance,  Web  Scalability  &  99.999%  Availability   Mark  Swarbrick   Principle  Presales  Consultant      
  • 2. Safe  Harbor  Statement   The  following  is  intended  to  outline  our  general  product  direc?on.  It  is  intended  for   informa?on  purposes  only,  and  may  not  be  incorporated  into  any  contract.  It  is  not  a   commitment  to  deliver  any  material,  code,  or  func?onality,  and  should  not  be  relied  upon   in  making  purchasing  decisions.  The  development,  release,  and  ?ming  of  any  features  or   func?onality  described  for  Oracle’s  products  remains  at  the  sole  discre?on  of  Oracle.   Copyright  2015,  oracle  and/or  its  affiliates.  All  rights  reserved   2  
  • 3. consumer   employee   business   model   around-the-clock availability   mobile   social   personalized service   Information any time, anywhere   flawless engagement   insight   real-time fulfillment   new markets  
  • 4. Focus  on  driving  the  business  rather  than  on  infrastructure   Driving  new  Database  Requirements   In-­‐Memory   Real-­‐Time   Performance   Extreme   Read  &   Write   Scalability   Rock  Solid   Availability   Rapid   Service   Innova?on   Copyright  2015,  oracle  and/or  its  affiliates.  All  rights  reserved   4  
  • 5. MySQL  Cluster  Overview   • Memory  op?mized  tables  with  durability   • Predictable  Low-­‐Latency,  Bounded  Access  Time  REAL-­‐TIME   •  Auto-­‐Sharding,  Mul?-­‐Master   •  ACID  Compliant,  OLTP  +  Real-­‐Time  Analy?cs   HIGH  SCALE,  READS  +   WRITES   •  Shared  nothing,  no  Single  Point  of  Failure   •  Self  Healing  +  On-­‐Line  Opera?ons   99.999%  AVAILABILITY   •  Key/Value  +  Complex,  Rela?onal  Queries   •  SQL  +  Memcached  +  JavaScript  +  Java  +  HTTP/REST  &  C++   SQL  +  NoSQL   •  Open  Source  +  Commercial  Edi?ons   •  Commodity  hardware  +  Management,  Monitoring  Tools   LOW  TCO   Copyright  2015,  oracle  and/or  its  affiliates.  All  rights  reserved   5  
  • 6. Who’s  Using  MySQL  Cluster?   Copyright  2015,  oracle  and/or  its  affiliates.  All  rights  reserved   6  
  • 7. Company  Overview       PayPal  allows  any  business  or  individual  with  an  email   address  to  securely,  conveniently  and  cost-­‐effec?vely  send   and  receive  payments  online.       ApplicaSon     PayPal  built  a  cloud-­‐based  globally-­‐distributed  database   with  100  TB  of  user-­‐related  data  based  on  MySQL  Cluster.   “Must  NOT  lose  data”  system,  delivering  99,999%   availability,  transac?onal,  with  data  available  WW   anywhere  in  <  1  Sec.     Why  MySQL  Cluster?   “You  can  achieve  high  performance  and  availability   without  giving  up  rela8onal  models  and  read   consistency.”  Daniel  Aus?n,  Chief  Architect,  PayPal   PayPal     Copyright  2015,  oracle  and/or  its  affiliates.  All  rights  reserved   7  
  • 8. Company  Overview   World's  largest  producer  of  casual  games.  Big  Fish  has   distributed  more  than  2.5  billion  games  to  customers  in  150   countries.     ApplicaSon   Serve  real-­‐?me  recommenda?ons  to  Big  Fish  customers,   requiring  high  velocity  data  ingest,  low  latency  access,  online   scalability,  99.999%  availability  and  Enterprise  SLAs  &   roadmap.       Why  MySQL  Cluster  CGE?   "The  MMS  pla@orm  is  a  strategic  project  within  Big  Fish.  We   couldn’t  afford  to  take  any  chances  and  MySQL  Cluster   provided  us  with  a  proven  and  trusted  solu8on  to  meet  the   demands  of  both  our  business  and  our  users.“  Sean   Chighizola,  Sr.  Director  of  Database  Administra?on,  Big  Fish       Big  Fish   Copyright  2015,  oracle  and/or  its  affiliates.  All  rights  reserved   8  
  • 9. Company  Overview   Global  telecommunica?ons  equipment  company,  focuses  on   fixed,  mobile,  and  converged  networking  hardware,  IP   technologies,  somware,  and  services.     ApplicaSon   MySQL  Cluster  CGE  is  at  the  heart  of  Alcatel-­‐Lucent’s   Subscriber  Data  Manager  to  deliver  converged  IMS  services   to  mobile  and  fixed  line  users.       Why  MySQL  Cluster  CGE?   •  Delivers  the  performance,  scalability  and  availability   required  by  this  mission  cri?cal  real-­‐?me  applica?on   •  Real-­‐?me  read  &  write  access  for  tens  of  millions  of   subscribers  in  a  single  system   •  Always-­‐on  service:  no  offline  maintenance  window  for   services  users  depend  on  (voice,  SMS,  email,  Web,  social   media…)   •  Rapid  delivery  &  low  TCO     Alcatel-­‐Lucent   23/04/15   Copyright  2015,  oracle  and/or  its  affiliates.  All  rights  reserved   9  
  • 10. Company  Overview   Playful  Play  created  La?n  America’s  #1  Facebook  game   based  on  "El  Chavo  del  8“.     ApplicaSon   Playful  Play  selected  MySQL  Cluster  CGE  running  on  a  public   cloud  to  power  their  gaming  plavorm,  providing:     •  45%  improvement  in  performance   •  99.999%  up?me   •  80%  reduc?on  in  DBA  overhead   •  Local  language  support,  24x7     Why  MySQL  Cluster  CGE?   “MySQL  Cluster  has  allowed  us  to  keep  pace  with  the  rapid   success  of  the  game.  Being  the  number  one  Facebook  game   in  La8n  America  is  a  big  responsibility,  and  we  rely  on   Oracle’s  products  and  MySQL  support  for  con8nued  growth.”   Ricardo  Rocha,  CEO,  Playful  Play   Playful  Play   Copyright  2015,  oracle  and/or  its  affiliates.  All  rights  reserved   10  
  • 11. MySQL   ReplicaSon   MySQL   Fabric   DRBD   Windows/ Solaris/ Clusterware   Clustering   or  Oracle   VM   MySQL   Cluster   MySQL  HA  Solu?ons   19th  February  2015   9   9   .   9   9   9   %   Copyright  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved     11  
  • 12. Oracle  MySQL  HA  &  Scaling  Solu?ons   MySQL   ReplicaSon   MySQL   Fabric   Oracle  VM   Template   Oracle   Clusterware   Solaris   Cluster   Windows   Cluster   DRBD   MySQL   Cluster   App  Auto-­‐Failover   ✖   ✔   ✔   ✔   ✔   ✔   ✔   ✔   Data  Layer  Auto-­‐Failover   ✖   ✔   ✔   ✔   ✔   ✔   ✔   ✔   Zero  Data  Loss   MySQL  5.7   MySQL  5.7   ✔   ✔   ✔   ✔   ✔   ✔   Plavorm  Support   All   All   Linux   Linux   Solaris   Windows   Linux   All   Clustering  Mode   Master  +   Slaves   Master  +   Slaves   AcSve/ Passive   AcSve/ Passive   AcSve/ Passive   AcSve/ Passive   AcSve/ Passive   MulS-­‐ Master   Failover  Time   N/A   Secs   Secs  +   Secs  +   Secs  +   Secs  +   Secs  +   <  1  Sec   Scale-­‐out   Reads   ✔   ✖   ✖   ✖   ✖   ✖   ✔   Cross-­‐shard  opera?ons   N/A   ✖   N/A   N/A   N/A   N/A   N/A   ✔   Transparent  rou?ng   ✖   For  HA   ✔   ✔   ✔   ✔   ✔   ✔   Shared  Nothing   ✔   ✔   ✖   ✖   ✖   ✖   ✔   ✔   Storage  Engine   InnoDB+   InnoDB+   InnoDB+   InnoDB+   InnoDB+   InnoDB+   InnoDB+   NDB   Single  Vendor  Support   ✔   ✔   ✔   ✔   ✔   ✖   ✔   ✔   23/04/15   Copyright  2015,  oracle  and/or  its  affiliates.  All  rights  reserved   12  
  • 13. MySQL  Cluster  Architecture     MySQL  Cluster  Data  Nodes   Clients   Applica?on  Layer   Data  Layer   Copyright  2015,  oracle  and/or  its  affiliates.  All  rights  reserved   13  
  • 14. MySQL  Cluster  Scaling     MySQL  Cluster  Data  Nodes   Clients   Applica?on  Layer   Data  Layer   Copyright  2015,  oracle  and/or  its  affiliates.  All  rights  reserved   14  
  • 15. On-­‐line  Opera?ons   •  Scale  the  cluster  (add  &  remove  nodes  on-­‐line)   •  Repar??on  tables   •  Upgrade  /  patch  servers  &  OS   •  Upgrade  /  patch  MySQL  Cluster   •  Back-­‐Up   •  Evolve  the  schema  on-­‐line,  in  real-­‐?me   Copyright  2015,  oracle  and/or  its  affiliates.  All  rights  reserved   15  
  • 16. MySQL  Cluster  Auto-­‐Installer   • Fast  configura?on   • Auto-­‐discovery   • Workload  op?mized   • Repeatable  best  prac?ces   Specify   Workload   Auto-­‐ Discover   Define   Topology  Deploy   Copyright  2015,  oracle  and/or  its  affiliates.  All  rights  reserved   16  
  • 17. Copyright  2015,  oracle  and/or  its  affiliates.  All  rights  reserved   17  
  • 18. Copyright  2015,  oracle  and/or  its  affiliates.  All  rights  reserved   18  
  • 19. NoSQL  Access  to  MySQL  Cluster  data   Apps Apps Apps Apps Apps Apps Apps Apps Apps Apps Apps Apps JPA Cluster  JPA PHP Perl Python Ruby JDBC Cluster  J JS Apache Memcached MySQL JNI Node.JS mod_ndb ndb_eng NDB  API  (C++) MySQL  Cluster  Data  Nodes  
  • 20. Schema-­‐Free  apps   •  Rapid  applica?on  evolu?on   – New  types  of  data  constantly   added   – No  ?me  to  get  schema  extended   – Missing  skills  to  extend  schema   – Ini?ally  roll  out  to  just  a  few  users   – Constantly  adding  to  live  system   Copyright  2015,  oracle  and/or  its  affiliates.  All  rights  reserved   20  
  • 21. Cluster  &  Memcached  –  Schema-­‐Free   <town:maidenhead,SL6> key   value   <town:maidenhead,SL6> key   value   Key   Value   town:maidenhead   SL6   generic  table   Applica?on  view   SQL  view   Copyright  2015,  oracle  and/or  its  affiliates.  All  rights  reserved   21  
  • 22. Cluster  &  Memcached  -­‐  Configured  Schema   <town:maidenhead,SL6> prefix   key   value   <town:maidenhead,SL6> key   value   Prefix   Table   Key-­‐col   Val-­‐col   policy   town:   map.zip   town   code   cluster   Config  tables   town   ...   code   ...   maidenhead   ...   SL6   ...   map.zip   Applica?on  view   SQL  view   Copyright  2015,  oracle  and/or  its  affiliates.  All  rights  reserved   22  
  • 23. Node.js  NoSQL  API   •  Na?ve  JavaScript  access  to  MySQL  Cluster   – End-­‐to-­‐End  JavaScript:  browser  to  the  app  &   DB   – Storing  and  retrieving  JavaScript  objects   directly  in  MySQL  Cluster     – Eliminate  SQL  transforma?on   •  Implemented  as  a  module  for  node.js   – Integrates  Cluster  API  library  within  the  web   app   •  Couple  high  performance,  distributed  apps,   with  high  performance  distributed  database   •  Op?onally  routes  through  MySQL  Server   – Use  with  InnoDB   V8 JavaScript Engine MySQL Cluster Node.js Module MySQL Cluster Data Nodes Clients Copyright  2015,  oracle  and/or  its  affiliates.  All  rights  reserved   23  
  • 24. NoSQL  API  for  Node.js  &  FKs   FKs  enforced  on  all  APIs:   { message: 'Error', sqlstate: '23000', ndb_error: null, cause: {message: 'Foreign key constraint violated: No parent row found [255]', sqlstate: '23000', ndb_error: { message: 'Foreign key constraint violated: No parent row found', code: 255, classification: 'ConstraintViolation', handler_error_code: 151, status: 'PermanentError' }, cause: null } }   Copyright  2015,  oracle  and/or  its  affiliates.  All  rights  reserved   24  
  • 25. MySQL  Cluster  7.4  GA   Copyright  2015,  oracle  and/or  its  affiliates.  All  rights  reserved   25  
  • 26. MySQL  Cluster  7.4  GA   •  200  Million  NoSQL   Reads/Sec   •  2.5M  SQL  Ops/Sec   •  50%  Faster  Reads   •  40%  Faster  Mixed   Performance   •  Ac?ve-­‐Ac?ve   Geographic   Redundancy   •  Conflict  Detec?on/ Resolu?on   Ac?ve-­‐Ac?ve   •  5X  Faster   Maintenance  Ops   •  Detailed  Repor?ng   Management   Copyright  2015,  oracle  and/or  its  affiliates.  All  rights  reserved   26  
  • 27. •  Memory  op?mized  tables   – Durable   – Mix  with  disk-­‐based  tables   •  Massively  concurrent  OLTP   •  Distributed  Joins  for  analy?cs   •  Parallel  table  scans  for  non-­‐indexed   searches   •  MySQL  Cluster  7.4  FlexAsych   – 200M  NoSQL  Reads/Second   27   MySQL  Cluster  7.4  NoSQL  Performance   200  Million  NoSQL  Reads/Second   Copyright  2015,  oracle  and/or  its  affiliates.  All  rights  reserved   !"!!!! !50,000,000!! !100,000,000!! !150,000,000!! !200,000,000!! !250,000,000!! 2! 4! 6! 8! 10! 12! 14! 16! 18! 20! 22! 24! 26! 28! 30! 32! Reads&per&second& Data&Nodes& FlexAsync&Reads&
  • 28. •  Memory  op?mized  tables   – Durable   – Mix  with  disk-­‐based  tables   •  Massively  concurrent  OLTP   •  Distributed  Joins  for  analy?cs   •  Parallel  table  scans  for  non-­‐indexed   searches   •  MySQL  Cluster  7.4  DBT2  BM   – 2.5M  SQL  Statements/Second   23/04/15   28   MySQL  Cluster  7.4  SQL  Performance   2.5M  SQL  Statements/Second   Copyright  2015,  oracle  and/or  its  affiliates.  All  rights  reserved   !"!!!! !500,000!! !1,000,000!! !1,500,000!! !2,000,000!! !2,500,000!! !3,000,000!! 2! 4! 6! 8! 10! 12! 14! 16! SQL$Statements/sec$ Data$Nodes$ DBT2$SQL$Statements$per$Second$
  • 29. Performance Enhancements MySQL Cluster 7.4 50%  Read-­‐Only  Increase   Copyright  2015,  oracle  and/or  its  affiliates.  All  rights  reserved   29   0" 1000" 2000" 3000" 4000" 5000" 6000" 7000" 8000" 9000" 64" 128" 192" 256" 320" 384" 448" 512" Transac'ons)per)second) Threads) Sysbench)R/W) 7.4" 7.3" 7.2" 0" 1000" 2000" 3000" 4000" 5000" 6000" 7000" 8000" 9000" 10000" 64" 128" 192" 256" 320" 384" 448" 512" Transac'on)per)second) Threads) Sysbench)RO) 7.4" 7.3" 7.2" 40%  Read/Write  Increase  
  • 30. •  Asynchronous  replica?on  between   MySQL  Clusters   •  Ac?ve-­‐Ac?ve   – Update  anywhere   – Conflict  detec?on   •  Applica?on  no?fied  through  excep?on  tables   •  Can  opt  to  have  conflicts  resolved   automa?cally   – Auto-­‐conflict-­‐resolu?on   •  Conflic?ng  transac?on  and  dependent  ones   are  rolled-­‐back   •  No  changes  to  applica?on  schema   Ac?ve-­‐Ac?ve  Geo-­‐Replica?on   Copyright  2015,  oracle  and/or  its  affiliates.  All  rights  reserved   30  
  • 31. MySQL  Cluster  7.4  Restart  Improvements   •  Dura?on  of  long-­‐running  maintenance  ac?vi?es  dominated  by  Data  Node   restart  ?mes   •  MySQL  Cluster  7.4  =  5.5X  faster  restarts   •  Benefits  both  nodal  and  rolling  restarts   – Upgrades,  add-­‐node,…   •  Benefits  both  SQL  and  NoSQL  APIs   •  Benefits  both  ”manual”  and  MySQL  Cluster  Manager  opera?ons   •  Achieve  5x  as  much  during  a  single  maintenance  window   Make  Data  Node  Restarts  Fast!   Copyright  2015,  oracle  and/or  its  affiliates.  All  rights  reserved   31  
  • 32. MySQL  Cluster  7.4  –  Enhanced  memory  repor?ng   •  ndbinfo.memory_per_fragment  memory  usage  informa?on  for   each  fragment  replica,  for  each  table  and  index   •  Allocated  memory  and  how  much  of  that  is  actually  in  use.   •  Exposes   – Fragmenta?on  of  fixed  and  var-­‐sized  fragment  pages     – Accurate  Data  and  Index  Memory  use   – Comparison  of  Primary  and  Backup  fragment  usage   – Par??oning  effec?veness   Copyright  2015,  oracle  and/or  its  affiliates.  All  rights  reserved   32  
  • 33. MySQL  Cluster  7.4  –  Enhanced  ac?vity  repor?ng   •  ndbinfo.operations_per_fragment ac?vity  counters  for  each   fragment  replica,  for  each  table  and  index   •  PK  &  scan  access  –  requests,  bytes,  rows…   •  Exposes   – How  traffic  maps  to  tables  and  indices   – Query  execu?on,  use  of  indexes  etc.   – LDM  and  node  imbalances     – Hotspots  and  scan  overloads   Copyright  2015,  oracle  and/or  its  affiliates.  All  rights  reserved   33  
  • 34. When to Consider MySQL Cluster l  Scalability  demands   l  Sharding  for  write  performance?   l  Latency  demands   l  Cost  of  each  millisecond?   l  Up?me  requirements   l  Cost  per  minute  of  down?me?   l  Failure  versus  maintenance?   l  Applica?on  agility   l  Developer  languages  and  frameworks?   l  SQL  or  NoSQL?   Copyright  2015,  oracle  and/or  its  affiliates.  All  rights  reserved   34  
  • 35. General  Usage  Considera?ons   •  MySQL  Cluster  is  designed  for   –  Short  transac?ons   –  Many  parallel  transac?ons   •  U?lize  simple  access  pa~erns  for  high  running  transac?ons   –  Use  efficient  scans  and  batching  interfaces   –  AQL  gives  huge  performance  in  JOIN  opera?ons   –  MySQL  Cluster  7.4  speeds  up  table  scans   •  Storage  engine  configurable  for  each  table…InnoDB  or  NDB     MySQL  Cluster  Evalua?on  Guide   h~p://mysql.com/why-­‐mysql/white-­‐papers/mysql_cluster_eval_guide.php   Copyright  2015,  oracle  and/or  its  affiliates.  All  rights  reserved   35  
  • 36. MySQL  Cluster  Carrier  Grade  Edi?on  (CGE)   MySQL   Cluster   CGE   MySQL   Cluster   Manager   MySQL   Enterprise   Scalability   MySQL   Enterprise   Audit   MySQL   Enterprise   Security   Oracle   Premier   Life?me   Support   Oracle   Product   Cer?fica?ons   MySQL   Enterprise   Mornitor   MySQL   Workbench   Copyright  2015,  oracle  and/or  its  affiliates.  All  rights  reserved   36  
  • 37. Enhancing  DevOps  Agility,     Reducing  Down?me   Automated  Management   • Start  /  Stop  node  or   whole  cluster   • On-­‐Line  Scaling   • On-­‐Line   Reconfigura?on   • On-­‐Line  Upgrades   • On-­‐Line  Backup  &   Restore   • Import  Running  Cluster   Self-­‐Healing   • Node  monitoring   • Auto-­‐recovery   extended  to  SQL  +   mgmt  nodes   HA  Opera?ons   • Cluster-­‐wide   configura?on   consistency   • Persistent   configura?ons   • HA  Agents   Copyright  2015,  oracle  and/or  its  affiliates.  All  rights  reserved   37  
  • 38. Without  MySQL  Cluster  Manager   •  1  x  preliminary  check  of  cluster  state   •  8  x  ssh  commands  per  server   •  8  x  per-­‐process  stop  commands   •  4  x  scp  of  config  files  (2  x  mgmd  &  2  x  mysqld)   •  8  x  per-­‐process  start  commands   •  8  x  checks  for  started  and  re-­‐joined  processes   •  8  x  process  comple?on  verifica?ons   •  1  x  verify  comple?on  of  the  whole  cluster.       •  Excludes  manual  edi?ng  of  each  configura?on  file.   •  Total:  46  commands   – 2.5  hours  of  a~ended  opera?on   With  MySQL  Cluster  Manager   mcm> upgrade cluster
 --package=7.4 mycluster;     •  Total:  1  Command  -­‐     – Una~ended  Opera?on   Somware  Upgrade  –  example  of  benefits  of  MCM?   Copyright  2015,  oracle  and/or  its  affiliates.  All  rights  reserved   38  
  • 39. MCM:  Upgrade  Cluster   mcm> upgrade cluster
 --package=7.4 mycluster; Copyright  2015,  oracle  and/or  its  affiliates.  All  rights  reserved   39  
  • 40. MySQL  Cluster  Manager  1.3.3  GA   “Unmanaged”  produc?on  Cluster   mcm> create cluster --import mcm> import config [--dryrun] mcm> import cluster[--dryrun] Cluster  now  managed  by  MCM   Import  a  running  Cluster  into  MCM   Copyright  2015,  oracle  and/or  its  affiliates.  All  rights  reserved   40  
  • 41. Oracle  Premier  Support  for  MySQL   •  Straight from the Source •  Largest Team of MySQL Experts •  Backed by MySQL Developers •  Forward Compatible Hot Fixes •  MySQL Maintenance Releases •  MySQL Support in 29 Languages •  24/7/365 •  Unlimited Incidents •  Knowledge Base •  MySQL Consultative Support Rely  on  The  Experts  -­‐  Get  Unique  Benefits   "The  MySQL  support  service  has  been  essen?al   in  helping  us  with  troubleshoo?ng  and   providing  recommenda?ons  for  the  produc?on   cluster,  Thanks."          -­‐-­‐  Carlos  Morales  –  Playfulplay.com   Only From Oracle Copyright  2015,  oracle  and/or  its  affiliates.  All  rights  reserved   41  
  • 42. Evaluate MySQL Cluster CGE •  Navigate to http://edelivery.oracle.com/ and step through (selecting “MySQL Database” as the Product Pack) •  Select MySQL Cluster Manager 30-­‐Day  Trial   Copyright  2015,  oracle  and/or  its  affiliates.  All  rights  reserved   42  
  • 43. Next  Steps   Learn  More   •  www.mysql.com/cluster   •  Authen?c  MySQL  Curriculum:  h~p://oracle.com/educa?on/mysql   Try  it  Out   •  dev.mysql.com/downloads/cluster/   Let  us  know  what  you  think   •  clusterdb.com   •  @clusterdb   •  forums.mysql.com/list.php?25   Copyright  2015,  oracle  and/or  its  affiliates.  All  rights  reserved   43