SlideShare a Scribd company logo
1 of 69
Download to read offline
An Introduction to
MySQL
When to select MySQL and how to get the most
out of the world’s most popular open source
database.
Copyright Oracle Corporation 2014 | 25th July 20142
Agenda
§  A few facts about MySQL
§  Understanding when to choose MySQL
§  How to get the most out of MySQL
§  Focus on MySQL Fabric
§  JSON and Key-Value store
§  Q&A
Copyright Oracle Corporation 2014 | 25th July 20143
Agenda
§  A few facts about MySQL
§  Understanding when to choose MySQL
§  How to get the most out of MySQL
§  Focus on MySQL Fabric
§  JSON and Key-Value store
§  Q&A
Copyright Oracle Corporation 2014 | 25th July 20144
MySQL today
•  Founded 1995 (MySQL AB, -> Sun Microsystems, -> Oracle)
•  12+ million product installations
•  100+ million downloads to date
•  68,000+ downloads each day
•  Web Property de facto Standard (e.g. LAMP & WAMP)
•  Runs on Windows, Linux, Solaris, Mac OS X
•  MySQL Commercial Editions Available
Copyright Oracle Corporation 2014 | 25th July 20145
Industry Leaders Rely on MySQL
Copyright Oracle Corporation 2014 | 25th July 20146
MySQL 5.5
MySQL Enterprise Monitor 2.3 & 3.0
MySQL Enterprise Backup
Security
Scalability
HA
Audit
MySQL 5.6
MySQL Workbench 6.1
M y S Q L U t i l i t i e s
MySQL Applier for
Hadoop
MySQL Workbench 5.2 & 6.0
M y S Q L E n t e r p r i s e
O r a c l e C e r t i f i c a t i o n s
MySQL@Oracle: 4 Years of MySQL Innovation
M y S Q L C l u s t e r
M a n a g e rWindows installer & Tools
MySQL Cluster 7.2
MySQL Cluster 7.1
MySQL Migration
Wizard
MySQL 5.7
MySQL Cluster 7.4
MySQL Fabric 1.4
MySQL Cluster 7.3
Copyright Oracle Corporation 2014 | 25th July 20147
Agenda
§  A few facts about MySQL
§  Understanding when to choose MySQL
§  How to get the most out of MySQL
§  Focus on MySQL Fabric
§  JSON and Key-Value store
§  Q&A
Copyright Oracle Corporation 2014 | 25th July 20148
Scalability with MySQL
Scale Out
•  Commodity Intel / AMD
•  Data replication between servers
•  Add commodity servers to increase capacity
•  High Availability via some tweaks
Copyright Oracle Corporation 2014 | 25th July 20149
Small Systems
Scale vertically; Active/passive replication for HA
App
Copyright Oracle Corporation 2014 | 25th July 201410
Medium-Large; Read-intensive
Horizontally scale with read-slaves
App
Copyright Oracle Corporation 2014 | 25th July 201411
Medium-Large; Write-intensive
§  Write scalability
–  Can handle more writes
§  Large data set
–  Database too large
–  Does not fit on single server
§  Improved performance
–  Smaller index size
–  Smaller working set
–  Improve performance
UID 10000-20000 UID 20001-40000
Application-level sharding
App
Copyright Oracle Corporation 2014 | 25th July 201412
Real-Time/Carrier Grade
MySQL Cluster
MySQL Cluster Data Nodes
Clients
Application Layer
Data Layer
Management
Copyright Oracle Corporation 2014 | 25th July 201413
MySQL Fabric 1.4 GA
High Availability + Sharding-Based Scale-out
MySQL Fabric
Connector
Application
Read-slaves
mappings
SQL
Master group
Read-slaves
Master group
•  High Availability:
•  Server monitoring with auto-promotion and
transparent application failover
•  Fabric-aware connectors rather than proxy:
Python, Java & PHP
•  Optionally scale-out through sharding
•  Application provides shard key
•  Range or Hash
•  Tools for resharding
•  Global updates & tables
•  Available in MySQL Utilities 1.4.2 RC
Copyright Oracle Corporation 2014 | 25th July 201414
Considerations
§  MySQL scale out is not always transparent to the application
–  Implies a closer connection between dev and db administration/design
–  Means off-the-shelf packages not designed or adapted for MySQL may not
be a good fit
§  MySQL Fabric simplifies the development of scale out architectures
and will be a key area for future innovation
§  MySQL scale out is a good fit for the cloud
Copyright Oracle Corporation 2014 | 25th July 201415
Applications
Custom-built web applications are the most popular types of applications deployed by MySQL
Enterprise Customers and Community Users
Copyright Oracle Corporation 2014 | 25th July 201416
Agenda
§  A few facts about MySQL
§  Understanding when to choose MySQL
§  How to get the most out of MySQL
§  Focus on MySQL Fabric
§  JSON and Key-Value store
§  Q&A
Copyright Oracle Corporation 2014 | 25th July 201417
DB architecture
§  The optimal db architecture may imply some level of application
awareness.
§  Particularly true where MySQL Cluster or Sharding would be the best
solution.
§  Ensure the db architecture is considered early enough and
communication with the development team is effective
Copyright Oracle Corporation 2014 | 25th July 201418
Monitoring & Tuning
§  Monitoring is the most basic and necessary step to managing
performance and availability
§  The correct monitoring will intercept most problems before they lead to
a failure
§  MySQL maintains a performance schema internally – determine what
you want to monitor and how frequently
§  Tune / take remedial action based on the information provided by the
monitoring
Copyright Oracle Corporation 2014 | 25th July 201419
Performance Analysis
§  Understand what is happening at both DB and OS level
§  Set a baseline for acceptable performance
§  Set up alerting where actual worse than baseline based on some
threshold
§  Drill down into performance issues – ideally down to the individual
code fragment associated with the issue
§  Decide what corrective action to take
Copyright Oracle Corporation 2014 | 25th July 201420
Backups
§  A key part of the high availability strategy
§  May need to be part of the architectural planning for the whole solution
§  Online (non blocking) backups required?
§  Incremental as well as full backups required?
§  Point in time recovery required?
§  Backup / restore performance needs to be considered
§  Monitoring of backup status?
§  On-premise? Cloud?
Copyright Oracle Corporation 2014 | 25th July 201421
DB Security
§  Authorisation
§  Privilege Management
§  Password Policies
§  Authentication
§  Encryption – connections, database, backups
§  Auditing
§  Firewall – SQL Injection, Whitelists, Blacklists
§  Hardening best practice
Copyright Oracle Corporation 2014 | 25th July 201422
Support
§  Three broad approaches:
–  Self support using community resources. Will involve higher levels of expertise,
investment of time, some risk.
–  ‘Best efforts’ support from a cloud vendor. Typically they have already some
investment in MySQL skills so are capable of basic support. No service level. No
familiarity with complex architectures. No patching. Very limited monitoring.
–  Vendor support. Full technical support including patching (Oracle Premier Support).
Consultative support. Monitoring, performance analysis and backup tools, security
features and tools, integration with other Oracle products (OEM for example),
certifications, indemnity, architectural guidance from account team. Will involve
investment of some money.
Copyright Oracle Corporation 2014 | 25th July 201423
Oracle Premier
Lifetime Support
Oracle Product
Certifications/Integrations
MySQL Enterprise
High Availability
MySQL Enterprise
Security & Firewall
MySQL Enterprise
Scalability
MySQL Enterprise
Backup
MySQL Enterprise
Monitor/Query Analyzer
MySQL Workbench
MySQL Enterprise Edition
Highest Levels of MySQL Scalability, Security and Uptime
MySQL Enterprise
Audit
Copyright Oracle Corporation 2014 | 25th July 201424
Agenda
§  A few facts about MySQL
§  Understanding when to choose MySQL
§  How to get the most out of MySQL
§  Focus on MySQL Fabric
§  JSON and Key-Value store
§  Q&A
MySQL	
  Fabric	
  
An	
  extensible	
  and	
  easy-­‐to-­‐
use	
  framework	
  for	
  
managing	
  a	
  farm	
  of	
  MySQL	
  
server	
  suppor=ng	
  high-­‐
availability	
  and	
  sharding	
  
25	
  09/11/15	
   Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved	
  
MySQL	
  Fabric	
  1.5	
  
•  High	
  Availability	
  
–  Server	
  monitoring	
  with	
  auto-­‐promoJon	
  and	
  
transparent	
  applicaJon	
  failover	
  
•  OpJonally	
  scale-­‐out	
  through	
  sharding	
  
–  ApplicaJon	
  provides	
  shard	
  key	
  
–  Range	
  or	
  Hash	
  
–  Tools	
  for	
  resharding	
  
–  Global	
  updates	
  &	
  tables	
  
•  Fabric-­‐aware	
  connectors	
  rather	
  than	
  
proxy:	
  Python,	
  Java,	
  PHP	
  (pre-­‐
producJon),	
  .NET,	
  C	
  (labs)	
  
–  Lower	
  latency,	
  boYleneck-­‐free	
  
•  Server	
  provisioning	
  using	
  OpenStack	
  etc.	
  
High	
  Availability	
  +	
  Sharding-­‐Based	
  Scale-­‐out	
  
MySQL	
  Fabric	
  
Connector	
  
ApplicaJon	
  
Read-­‐slaves	
  
mappings	
  
SQL	
  
HA	
  group	
  
Read-­‐slaves	
  
HA	
  group	
  
Connector	
  
ApplicaJon	
  
26	
  09/11/15	
   Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved	
  
MySQL	
  Fabric	
  Framework	
  (HA)	
  
All	
  Data	
  
Primary	
   Secondary	
  
Extra	
  Read	
  Replicas	
  MySQL	
  Fabric	
  
Controller	
  
SQL	
  Queries	
  
State	
  &	
  
Rou=ng	
  Info	
  
HA	
  Group	
  
Coordina=on	
  
and	
  Control	
  
27	
  09/11/15	
   Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved	
  
Dependable	
  and	
  Scalable	
  MySQL	
  (labs)	
  
Tuesday, October 20, 2015 Oracle Confidential – Restricted 28
Global	
  Data	
   Shard	
  1	
   Shard	
  2	
  
MySQL	
  Fabric	
  
Controller	
  
SQL	
  Queries	
  
Server/Shard	
  State	
  &	
  
Mapping	
  
Global	
  Group	
   HA	
  Group	
  
Coordina=on	
  
and	
  Control	
  
HA	
  Group	
  
Group	
  Replica=on	
  
cluster	
  
Group	
  Replica=on	
  
cluster	
  
Group	
  Replica=on	
  
cluster	
  
MySQL
Router
Copyright Oracle Corporation 2014 | 25th July 201429
Agenda
§  A few facts about MySQL
§  Understanding when to choose MySQL
§  How to get the most out of MySQL
§  Focus on MySQL Fabric
§  JSON and Key-Value store
§  Q&A
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
MySQL	
  5.7:	
  JSON	
  
	
  
•  NaJve	
  JSON	
  data	
  type	
  
– NaJve	
  internal	
  binary	
  format	
  for	
  efficient	
  processing	
  &	
  storage	
  
•  Built-­‐in	
  JSON	
  funcJons	
  
– Allowing	
  you	
  to	
  efficiently	
  store,	
  search,	
  update,	
  and	
  manipulate	
  Documents	
  
•  JSON	
  Comparator	
  
– Allows	
  for	
  easy	
  integraJon	
  of	
  Document	
  data	
  within	
  your	
  SQL	
  queries	
  
•  Indexing	
  of	
  Documents	
  using	
  Generated	
  Columns	
  	
  
– InnoDB	
  supports	
  indexes	
  on	
  both	
  stored	
  and	
  virtual	
  Generated	
  Columns	
  
– New	
  expression	
  analyzer	
  automaJcally	
  uses	
  the	
  best	
  “funcJonal”	
  index	
  available	
  
•  New	
  inline	
  syntax	
  for	
  easy	
  SQL	
  integraJon	
  	
  
30	
  
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
MySQL	
  5.7:	
  JSON	
  and	
  Text	
  Datatype	
  Comparison	
  
	
  
#	
  With	
  feature	
  column	
  as	
  JSON	
  type	
  
SELECT	
  DISTINCT	
  
	
  feature-­‐>"$.type"	
  as	
  json_extract	
  
FROM	
  features;	
  
+-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐+	
  
|	
  json_extract	
  |	
  
+-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐+	
  
|	
  "Feature"	
  	
  	
  	
  |	
  
+-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐+	
  
1	
  row	
  in	
  set	
  (1.25	
  sec)	
  
Unindexed	
  traversal	
  of	
  206K	
  documents	
  
#	
  With	
  feature	
  column	
  as	
  TEXT	
  type	
  
SELECT	
  DISTINCT	
  	
  
	
  feature-­‐>"$.type"	
  as	
  json_extract	
  
FROM	
  features;	
  
+-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐+	
  
|	
  json_extract	
  |	
  
+-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐+	
  
|	
  "Feature"	
  	
  	
  	
  |	
  
+-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐+	
  	
  
1	
  row	
  in	
  set	
  (12.85	
  sec)	
  
Explana=on:	
  Binary	
  format	
  of	
  JSON	
  type	
  is	
  very	
  efficient	
  at	
  searching.	
  Storing	
  as	
  TEXT	
  
performs	
  over	
  10x	
  worse	
  at	
  traversal.	
  
31	
  
Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
MySQL	
  5.7:	
  FuncJonal	
  Indexes	
  with	
  JSON	
  
	
  
ALTER	
  TABLE	
  features	
  ADD	
  feature_type	
  VARCHAR(30)	
  AS	
  (JSON_UNQUOTE(feature-­‐
>'$.type'));	
  
Query	
  OK,	
  0	
  rows	
  affected	
  (0.01	
  sec)	
  
Records:	
  0	
  	
  Duplicates:	
  0	
  	
  Warnings:	
  0	
  
	
  
ALTER	
  TABLE	
  features	
  ADD	
  INDEX	
  (feature_type);	
  
Query	
  OK,	
  0	
  rows	
  affected	
  (0.73	
  sec)	
  
Records:	
  0	
  	
  Duplicates:	
  0	
  	
  Warnings:	
  0	
  
	
  
SELECT	
  DISTINCT	
  feature_type	
  FROM	
  features;	
  
+-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐+	
  
|	
  feature_type	
  |	
  
+-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐+	
  
|	
  "Feature"	
  	
  	
  	
  |	
  
+-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐+	
  
1	
  row	
  in	
  set	
  (0.06	
  sec)	
  
From	
  table	
  scan	
  on	
  206K	
  documents	
  to	
  index	
  scan	
  on	
  206K	
  materialized	
  values	
  
Meta	
  data	
  change	
  only	
  (FAST).	
  
Does	
  not	
  need	
  to	
  touch	
  table..	
  
Creates	
  index	
  only,	
  does	
  not	
  
touch	
  row	
  data.	
  
Down	
  from	
  1.25	
  sec	
  to	
  0.06	
  sec	
  
32	
  
Copyright	
  ©	
  2014	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  
•  5.7	
  supports	
  funcJons	
  to	
  CREATE,	
  SEARCH,	
  MODIFY	
  and	
  RETURN	
  JSON	
  values:	
  
JSON	
  FuncJons	
  
33
JSON_ARRAY_APPEND()	
  
JSON_ARRAY_INSERT()	
  
JSON_ARRAY()	
  
JSON_CONTAINS_PATH()	
  
JSON_CONTAINS()	
  
JSON_DEPTH()	
  
JSON_EXTRACT()	
  
JSON_INSERT()	
  
JSON_KEYS()	
  
JSON_LENGTH()	
  
JSON_MERGE()	
  
JSON_OBJECT()	
  
JSON_QUOTE()	
  
JSON_REMOVE()	
  
JSON_REPLACE()	
  
JSON_SEARCH()	
  
JSON_SET()	
  
JSON_TYPE()	
  
JSON_UNQUOTE()	
  
JSON_VALID()	
  
hYps://dev.mysql.com/doc/refman/5.7/en/json-­‐funcJons.html	
  
NoSQL	
  
Simple	
  access	
  paYerns	
  
Compromise	
  on	
  consistency	
  
for	
  performance	
  
Ad-­‐hoc	
  data	
  format	
  
Simple	
  operaJon	
  
SQL	
  
Complex	
  queries	
  with	
  joins	
  
ACID	
  transacJons	
  
Well	
  defined	
  schemas	
  
Rich	
  set	
  of	
  tools	
  
SJll	
  a	
  role	
  for	
  SQL	
  (RDBMS)?	
  
26th	
  March	
  2015	
   Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
   34	
  
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	
  
26th	
  March	
  2015	
   Copyright	
  ©	
  2015,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
   35	
  
MySQL	
  5.6	
  Memcached	
  with	
  InnoDB	
  
0
10000
20000
30000
40000
50000
60000
70000
80000
8 32 128 512
TPS
Client Connections
Memcached
API
SQL
Clients	
  and	
  Applica=ons	
  
MySQL	
  Server	
  
Memcached	
  Plug-­‐in	
  
innodb_	
  
memcached	
  
local	
  cache	
  
(opJonal)	
  
Handler	
  API	
   InnoDB	
  API	
  
InnoDB	
  Storage	
  Engine	
  
mysqld	
  process	
  
SQL	
   Memcached	
  Protocol	
  
Up	
  to	
  9x	
  Higher	
  “SET	
  /	
  INSERT”	
  Throughput	
  
26th March 2015 Copyright © 2015, Oracle and/or its affiliates. All rights reserved. 36
Cluster	
  &	
  Memcached	
  –	
  Schema-­‐Free	
  
<town:maidenhead,SL6>
key value
<town:maidenhead,SL6>
key value
Key	
   Value	
  
town:maidenhead	
   SL6	
  
generic table
Application view
SQL view
26th March 2015 Copyright © 2015, Oracle and/or its affiliates. All rights reserved. 37
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
Application view
SQL view
26th March 2015 Copyright © 2015, Oracle and/or its affiliates. All rights reserved. 38
Copyright Oracle Corporation 2014 | 25th July 201439
Agenda
§  A few facts about MySQL
§  Understanding when to choose MySQL
§  How to get the most out of MySQL
§  Focus on MySQL Fabric
§  JSON and Key-Value store
§  Q&A
Copyright	
  ©	
  2014	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
MySQL	
  Enterprise	
  Monitor	
  
40	
  
•  Start	
  monitoring	
  MySQL	
  in	
  10	
  minutes	
  
•  Real-­‐Jme	
  MySQL	
  performance	
  and	
  
availability	
  monitoring	
  
•  Visually	
  find	
  &	
  fix	
  problem	
  queries	
  
•  Disk	
  monitoring	
  for	
  capacity	
  planning	
  
•  Cloud	
  friendly	
  architecture	
  
– No	
  agents	
  required	
  
•  OpJonal	
  agent	
  opJon	
  provides	
  
advanced	
  Host/OS	
  monitoring	
  
Copyright	
  ©	
  2014	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
Cloud-­‐friendly	
  Architecture	
  
41	
  
MySQL	
  Enterprise	
  
	
  Dashboard	
  
Service	
  Manager	
  
Repository	
  	
  
HTTPS	
  
Data	
  Center	
  Public	
  Cloud	
  Private	
  Cloud	
  
•  MySQL	
  	
  
– Performance	
  Schema	
  provides	
  Query	
  Analyzer	
  data	
  
– Provides	
  all	
  MySQL	
  related	
  metrics	
  	
  
•  Service	
  Manager	
  
– Collects	
  all	
  MySQL	
  related	
  metrics	
  
– Collects	
  all	
  OS/Host	
  related	
  metrics	
  
•  Repository	
  
– Stores	
  all	
  historical	
  data	
  
•  Agent	
  (opJonal)	
  
– Only	
  required	
  for	
  OS/Host	
  metrics	
  
Copyright	
  ©	
  2014	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
Enterprise	
  Monitor	
  Dashboard	
  
42	
  
"The	
  MySQL	
  Enterprise	
  Monitor	
  is	
  an	
  absolute	
  
must	
  for	
  any	
  DBA	
  who	
  takes	
  his	
  work	
  seriously.”	
  
	
  
-­‐	
  Adrian	
  Baumann,	
  System	
  Specialist	
  
Federal	
  Office	
  of	
  InformaJon	
  Technology	
  &	
  	
  
TelecommunicaJons	
  
•  SLA	
  monitoring	
  
•  Real-­‐Jme	
  performance	
  monitoring	
  
•  Alerts	
  &	
  noJficaJons	
  
•  MySQL	
  best	
  pracJce	
  advisors	
  
Copyright	
  ©	
  2014	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
Enterprise	
  Query	
  Analyzer	
  
43	
  
•  Real-­‐Jme	
  query	
  performance	
  
•  Visual	
  correlaJon	
  graphs	
  
•  Find	
  &	
  fix	
  expensive	
  queries	
  
•  Detailed	
  query	
  staJsJcs	
  
•  Query	
  Response	
  Time	
  index	
  (QRTi)	
  
– “Quality	
  of	
  Service”	
  (QoS)	
  measurement	
  
for	
  each	
  query	
  
– QoS	
  measurement	
  for	
  a	
  server,	
  group,	
  
or	
  every	
  instance	
  
– Single	
  metric	
  for	
  query	
  performance	
  
“With	
  the	
  MySQL	
  Query	
  Analyzer,	
  we	
  were	
  able	
  to	
  
idenEfy	
  and	
  analyze	
  problemaEc	
  SQL	
  code,	
  and	
  triple	
  
our	
  database	
  performance.	
  More	
  importantly,	
  we	
  were	
  
able	
  to	
  accomplish	
  this	
  in	
  three	
  days,	
  rather	
  than	
  taking	
  
weeks.”	
  
	
  
Keith	
  Souhrada	
  	
  
Sorware	
  Development	
  Engineer	
  	
  
Big	
  Fish	
  Games	
  	
  
Copyright	
  ©	
  2014	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
Enterprise	
  ReplicaJon	
  Monitor	
  
44	
  
•  Auto-­‐discovers	
  replicaJon	
  topology	
  
•  Master/Slave	
  performance	
  
monitoring	
  
•  ReplicaJon	
  advisor	
  	
  
•  Best	
  pracJce	
  replicaJon	
  advice	
  
"I	
  use	
  the	
  MySQL	
  Enterprise	
  Monitor	
  
every	
  day	
  to	
  monitor	
  and	
  keep	
  tabs	
  
on	
  our	
  MySQL	
  databases.	
  Quick	
  one	
  
stop	
  shopping	
  for	
  keeping	
  tabs	
  on	
  
them.”	
  
	
  
-­‐ Wes	
  Homer,	
  	
  
Sr	
  System	
  and	
  Network	
  Administrator	
  	
  
Copyright	
  ©	
  2014	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
Best	
  PracJce	
  Advisors	
  
45	
  
•  Enforce	
  MySQL	
  best	
  pracJces	
  
•  14	
  Advisor	
  categories	
  
•  250+	
  Advisors	
  
•  Threshold-­‐based	
  alerts	
  
– ExponenJal	
  moving	
  averages	
  
– Rate	
  change	
  detecJon	
  
•  Expert	
  problem	
  resoluJon	
  advice	
  
"I	
  definitely	
  recommend	
  the	
  MySQL	
  Enterprise	
  
Monitor	
  to	
  DBAs	
  who	
  don't	
  have	
  a	
  ton	
  of	
  MySQL	
  
experience.	
  It	
  makes	
  monitoring	
  MySQL	
  security,	
  
performance	
  and	
  availability	
  very	
  easy	
  to	
  
understand	
  and	
  to	
  act	
  on.”	
  
	
  
Sandi	
  Barr	
  
Sr.	
  Sorware	
  Engineer	
  
Schneider	
  Electric	
  
Copyright	
  ©	
  2014	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
MySQL	
  Enterprise	
  Backup	
  
•  Online,	
  non-­‐locking	
  backup	
  and	
  recovery	
  	
  
–  Complete	
  MySQL	
  instance	
  backup	
  (data	
  and	
  config)	
  
–  ParJal	
  backup	
  and	
  restore	
  
•  Direct	
  Cloud	
  storage	
  backups	
  (S3,	
  etc.)	
  
•  Incremental	
  backups	
  
•  Point-­‐in-­‐Jme	
  recovery	
  
•  Advanced	
  compressed	
  and	
  encrypJon	
  
•  Backup	
  to	
  tape	
  (SBT)	
  
•  Backup	
  validaJon	
  
•  OpJmisJc	
  backups	
  
•  Cross-­‐Plasorm	
  (Windows,	
  Linux,	
  Unix)	
  
46	
  
Copyright	
  ©	
  2014	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
MySQL	
  Enterprise	
  Monitor	
  +	
  Backup	
  
47	
  
•  Monitor	
  backup	
  results	
  
•  Monitor	
  backup	
  performance	
  
•  Ensure	
  backups	
  are	
  up	
  to	
  date	
  
Copyright	
  ©	
  2014	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
MySQL	
  Workbench	
  EE	
  
•  Database	
  migraJons	
  
– From	
  Microsor	
  SQL	
  Server,	
  
PostgreSQL,	
  Sybase	
  ASE,	
  Sybase	
  SQL	
  
Anywhere,	
  SQLite,	
  Microsor	
  Access,	
  
and	
  more	
  	
  
•  Manage	
  migraJon	
  projects	
  
•  Source	
  and	
  target	
  selecJon	
  
•  Object	
  migraJon	
  
•  Data	
  migraJon	
  
•  MySQL	
  version	
  upgrades	
  
48	
  
New!	
  Database	
  MigraJon	
  Wizard	
  
	
  for	
  SQL	
  Server,	
  Sybase,	
  SQLite,	
  SQL	
  Anywhere	
  &	
  PostgreSQL	
  
Copyright	
  ©	
  2014	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
MySQL	
  Workbench	
  EE	
  +	
  Audit	
  
•  Fast	
  and	
  easy	
  access	
  to	
  Audit	
  
events	
  
•  Indexed	
  searches	
  
– Event	
  type	
  
– User	
  account	
  
– Date	
  range	
  
– Text	
  match	
  
49	
  
Copyright	
  ©	
  2014	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
MySQL	
  Workbench	
  EE	
  +	
  Backup	
  
•  Create	
  and	
  manage	
  backup	
  jobs	
  
– Create	
  new	
  backup	
  jobs	
  
– Schedule	
  backup	
  jobs	
  to	
  run	
  
automaJcally	
  
– View	
  current	
  backup	
  jobs	
  
– View	
  recent	
  backup	
  acJvity	
  
•  Restore	
  backups	
  	
  
– Full,	
  parJal,	
  incremental	
  …	
  
50	
  
Copyright	
  ©	
  2014	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
	
  
	
  
Oracle	
  Enterprise	
  Manager	
  for	
  MySQL	
  
51	
  
Performance	
  
Security	
  
Availability	
  
•  Availability	
  monitoring	
  
•  Performance	
  monitoring	
  
•  ConfiguraJon	
  monitoring	
  
•  All	
  available	
  metrics	
  collected	
  
– Allowing	
  for	
  custom	
  threshold	
  
based	
  incident	
  reports	
  
•  MySQL	
  auto-­‐detecJon	
  	
  
Copyright Oracle Corporation 2014 | 25th July 201452
Agenda
§  A few facts about MySQL
§  Understanding when to choose MySQL
§  How to get the most out of MySQL
§  MySQL Enterprise Edition
§  Summary
§  Q&A
Copyright	
  ©	
  2014	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
•  Provides	
  20x	
  beYer	
  scalability	
  
•  Plugin	
  improves	
  sustained	
  
performance	
  as	
  user	
  connecJons	
  
grow	
  
MySQL	
  Enterprise	
  Scalability	
  :	
  Thread	
  Pool	
  
53	
  
Copyright	
  ©	
  2014	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
MySQL	
  Enterprise	
  Security	
  
•  SSL	
  enabled	
  communicaJon	
  
•  Access	
  control	
  
– Enterprise	
  authenJcaJon	
  (PAM,	
  Windows,	
  LDAP,	
  etc.)	
  
– Proxy	
  users	
  
•  AudiJng	
  and	
  monitoring	
  
– MySQL	
  security	
  advisors	
  
– Oracle	
  Audit	
  Vault	
  
•  Oracle	
  Database	
  Firewall	
  
54	
  
Copyright	
  ©	
  2014	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
MySQL	
  Enterprise	
  EncrypJon	
  
•  MySQL	
  encrypJon	
  libraries	
  	
  
– Symmetric	
  encrypJon	
  AES256	
  
– Public-­‐key	
  /	
  asymmetric	
  cryptography	
  
•  Key	
  management	
  
– Generate	
  public	
  and	
  private	
  keys	
  
– Key	
  exchange	
  methods:	
  RSA,	
  DSA,	
  DH	
  
•  Sign	
  and	
  verify	
  data	
  
– Cryptographic	
  hashing	
  for	
  digital	
  signing,	
  verificaJon,	
  &	
  validaJon	
  
55	
  
Copyright	
  ©	
  2014	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
MySQL	
  Enterprise	
  Audit	
  
•  Out-­‐of-­‐the-­‐box	
  logging	
  of	
  connecJons,	
  logins,	
  and	
  query	
  
•  User	
  defined	
  policies	
  for	
  filtering,	
  and	
  log	
  rotaJon	
  
•  Dynamically	
  enabled,	
  disabled:	
  no	
  server	
  restart	
  
•  XML-­‐based	
  audit	
  stream	
  per	
  Oracle	
  Audit	
  Vault	
  spec	
  
56	
  
Adds	
  regulatory	
  compliance	
  to	
  
MySQL	
  applicaJons	
  (HIPAA,	
  
Sarbanes-­‐Oxley,	
  PCI,	
  etc.)	
  
	
  
Copyright	
  ©	
  2014	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
MySQL	
  Enterprise	
  AuthenJcaJon	
  
57	
  
•  PAM	
  (Pluggable	
  AuthenJcaJon	
  Modules)	
  
– Access	
  external	
  authenJcaJon	
  methods	
  
– Standard	
  interface	
  (Unix,	
  LDAP,	
  Kerberos,	
  others)	
  
– Proxied	
  and	
  non-­‐proxied	
  users	
  
•  	
  Windows	
  
– Access	
  naJve	
  Windows	
  services	
  
– AuthenJcate	
  users	
  already	
  logged	
  into	
  Windows	
  
(Windows	
  AcJve	
  Directory)	
  
•  Pluggable	
  AuthenJcaJon	
  API	
   Integrates	
  MySQL	
  with	
  exisJng	
  
security	
  infrastructures	
  and	
  SOPs	
  
Copyright	
  ©	
  2014	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
MySQL	
  Enterprise	
  High	
  Availability	
  
•  HA	
  with	
  MySQL	
  Fabric	
  (recommended)	
  
•  Oracle	
  VM	
  Templates	
  for	
  MySQL	
  
•  HA	
  with	
  DRBD	
  and	
  Linux	
  Clustering	
  
•  HA	
  with	
  Solaris	
  Clustering	
  
•  HA	
  with	
  Windows	
  Failover	
  Clustering	
  
•  HA	
  with	
  Oracle	
  Clusterware	
  Plugin	
  
58	
  
	
  
Range	
  of	
  opJons	
  to	
  make	
  your	
  
MySQL	
  applicaJon	
  deployments	
  
Highly	
  Available	
  
Copyright	
  ©	
  2014	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
MySQL	
  Enterprise	
  HA	
  :	
  MySQL	
  Fabric	
  
59	
  
•  High	
  Availability	
  features	
  
– Server	
  monitoring	
  
– Auto-­‐promoJon	
  
– Transparent	
  applicaJon	
  failover	
  
– Dynamically	
  scale	
  up	
  and	
  down	
  
•  Fabric-­‐aware	
  connectors	
  rather	
  
than	
  a	
  proxy	
  
– Python,	
  Java,	
  and	
  PHP	
  
– Lower	
  latency,	
  boYleneck-­‐free	
  
•  OpJonal	
  sharding	
  features	
  
MySQL	
  Fabric	
  
Connector	
  
ApplicaJon	
  
Read-­‐slaves	
  
mappings	
  
SQL	
  
HA	
  group	
  
Read-­‐slaves	
  
HA	
  group	
  
Connector	
  
ApplicaJon	
  
Copyright	
  ©	
  2014	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
MySQL	
  Enterprise	
  HA	
  :	
  Shared	
  Nothing	
  
60	
  
•  DRBD	
  +	
  Clustering	
  
– Based	
  on	
  distributed	
  storage,	
  not	
  a	
  SAN	
  
– Synchronous	
  replicaJon	
  eliminates	
  risk	
  of	
  
data	
  loss	
  
•  Open	
  source,	
  mature,	
  &	
  proven	
  
•  CerJfied	
  and	
  fully	
  supported	
  by	
  Oracle	
  
– DRBD	
  integrated	
  into	
  Oracle	
  Linux	
  
Unbreakable	
  Enterprise	
  Kernel	
  R2	
  
– Pacemaker	
  and	
  Corosync	
  for	
  clustering	
  /	
  
failover	
  
– Updates	
  to	
  stack	
  via	
  ULN	
  channel	
  
Copyright	
  ©	
  2014	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
MySQL	
  Enterprise	
  HA	
  :	
  Shared	
  Storage	
  
61	
  
•  Stricter	
  data	
  durability,	
  integrity	
  
constraints	
  
– Shared	
  storage	
  persists	
  commits	
  across	
  
instances	
  
– Clustering	
  sorware	
  manages	
  data	
  access	
  
– Auto-­‐failover	
  of	
  applicaJons	
  and	
  database	
  
– Deploy	
  with	
  MySQL	
  Fabric	
  for	
  scale-­‐out	
  
•  MySQL	
  cerJfied	
  &	
  supported	
  soluJons	
  
– Oracle	
  Clusterware	
  
– Windows	
  Failover	
  Clustering	
  
– Oracle	
  Solaris	
  Cluster	
  
Virtual	
  IP	
  
	
  
Clients	
  
Copyright	
  ©	
  2014	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
MySQL	
  Enterprise	
  HA	
  :	
  Oracle	
  VM	
  Templates	
  
62	
  
•  Oracle	
  Linux	
  
•  Oracle	
  VM	
  	
  
•  Oracle	
  VM	
  Manager	
  	
  
•  Oracle	
  Cluster	
  File	
  System	
  2	
  (OCFS2)	
  
•  MySQL	
  Database	
  (Enterprise	
  EdiJon)	
  
•  Pre-­‐installed	
  &	
  pre-­‐configured	
  
•  Full	
  integraJon	
  &	
  QA	
  tesJng	
  
•  Single	
  point	
  of	
  support	
  
Oracle	
  VM	
  Servers	
  
Oracle	
  VM	
  Server	
  Pool	
  
ocfs2	
  
Oracle	
  VM	
  
Manager	
  
SAN	
  /	
  iSCSI	
  
Oracle	
  
VM	
  
Secure	
  Live	
  
Migra=on	
  (SSL)	
  
Oracle	
  
VM	
  
Automa=c	
  Fault	
  
Detec=on	
  &	
  
Recovery	
  
Copyright	
  ©	
  2014	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
MySQL	
  Enterprise	
  Support	
  
•  Largest	
  MySQL	
  engineering	
  and	
  support	
  organizaJon	
  
•  Backed	
  by	
  the	
  MySQL	
  developers	
  
•  World-­‐class	
  support,	
  in	
  29	
  languages	
  
•  Hot	
  fixes	
  &	
  maintenance	
  releases	
  
•  24x7x365	
  
•  Unlimited	
  incidents	
  
•  ConsultaJve	
  support	
  
•  Global	
  scale	
  and	
  reach	
  
Get	
  immediate	
  help	
  for	
  any	
  MySQL	
  
issue,	
  plus	
  expert	
  advice
63	
  
Copyright	
  ©	
  2014	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
MySQL	
  ConsultaJve	
  Support 	
  	
  
Make	
  the	
  Most	
  of	
  your	
  Deployments	
  
•  Remote	
  troubleshooJng	
  
•  ReplicaJon	
  review	
  
•  ParJJoning	
  review	
  
•  Schema	
  review	
  
•  Query	
  review	
  
•  Performance	
  tuning	
  
•  ...and	
  more	
  
64	
  
Copyright	
  ©	
  2014	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
Work	
  Directly	
  with	
  MySQL	
  Engineering	
  	
  
•  A	
  direct	
  relaJonship	
  with	
  the	
  MySQL	
  team	
  
•  The	
  ability	
  to	
  parJcipate	
  in:	
  
– Product	
  roadmaps	
  
– Product	
  betas	
  
– Customer	
  advisory	
  boards	
  
•  Work	
  closely	
  with	
  Support	
  Engineers	
  
– Resolve	
  issues	
  faster	
  
– Request	
  bug	
  and	
  feature	
  request	
  escalaJons	
  
	
  
65	
  
Copyright	
  ©	
  2014	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
MySQL	
  Enterprise	
  Oracle	
  CerJficaJons	
  
• Oracle	
  Enterprise	
  Manager	
  for	
  
MySQL	
  
• Oracle	
  Linux	
  (w/DRBD	
  stack)	
  
• Oracle	
  VM	
  
• Oracle	
  Solaris	
  
•  Oracle	
  Solaris	
  Clustering	
  
•  Oracle	
  Clusterware	
  
• My	
  Oracle	
  Support	
  
• Oracle	
  Fusion	
  Middleware	
  
• Oracle	
  GoldenGate	
  
• Oracle	
  Audit	
  Vault	
  
• Oracle	
  Database	
  Firewall	
  
• Oracle	
  Secure	
  Backup	
  
MySQL	
  integrates	
  into	
  your	
  Oracle	
  environment	
  
66	
  
Copyright Oracle Corporation 2014 | 25th July 201467
Cross-Platform
Lower TCO Performance
Ease of Use
Summary - Why MySQL?
Copyright Oracle Corporation 2014 | 25th July 201468
Agenda
§  A few facts about MySQL
§  Understanding when to choose MySQL
§  How to get the most out of MySQL
§  Summary
§  Q&A
Copyright Oracle Corporation 2014 | 25th July 201469

More Related Content

What's hot

MySQL Enterprise Edition Overview
MySQL Enterprise Edition OverviewMySQL Enterprise Edition Overview
MySQL Enterprise Edition OverviewMario Beck
 
MySQL Security
MySQL SecurityMySQL Security
MySQL SecurityMario Beck
 
Oracle Enterprise Manager for MySQL
Oracle Enterprise Manager for MySQLOracle Enterprise Manager for MySQL
Oracle Enterprise Manager for MySQLMario Beck
 
MySQL Cloud Service
MySQL Cloud ServiceMySQL Cloud Service
MySQL Cloud ServiceMario Beck
 
MySQL Community and Commercial Edition
MySQL Community and Commercial EditionMySQL Community and Commercial Edition
MySQL Community and Commercial EditionMario Beck
 
MySQL for Oracle DBAs
MySQL for Oracle DBAsMySQL for Oracle DBAs
MySQL for Oracle DBAsMario Beck
 
MySQL 5.7: What's New, Nov. 2015
MySQL 5.7: What's New, Nov. 2015MySQL 5.7: What's New, Nov. 2015
MySQL 5.7: What's New, Nov. 2015Mario Beck
 
MySQL 5.7 Replication News
MySQL 5.7 Replication News MySQL 5.7 Replication News
MySQL 5.7 Replication News Ted Wennmark
 
MySQL Manchester TT - Security
MySQL Manchester TT  - SecurityMySQL Manchester TT  - Security
MySQL Manchester TT - SecurityMark Swarbrick
 
MySQL InnoDB Cluster - A complete High Availability solution for MySQL
MySQL InnoDB Cluster - A complete High Availability solution for MySQLMySQL InnoDB Cluster - A complete High Availability solution for MySQL
MySQL InnoDB Cluster - A complete High Availability solution for MySQLOlivier DASINI
 
NoSQL & SQL - Best of both worlds - BarCamp Berkshire 2013
NoSQL & SQL - Best of both worlds - BarCamp Berkshire 2013NoSQL & SQL - Best of both worlds - BarCamp Berkshire 2013
NoSQL & SQL - Best of both worlds - BarCamp Berkshire 2013Andrew Morgan
 
NoSQL and MySQL: News about JSON
NoSQL and MySQL: News about JSONNoSQL and MySQL: News about JSON
NoSQL and MySQL: News about JSONMario Beck
 
OpenStack Days East -- MySQL Options in OpenStack
OpenStack Days East -- MySQL Options in OpenStackOpenStack Days East -- MySQL Options in OpenStack
OpenStack Days East -- MySQL Options in OpenStackMatt Lord
 
MySQL HA Alternatives 2010
MySQL  HA  Alternatives 2010MySQL  HA  Alternatives 2010
MySQL HA Alternatives 2010Kris Buytaert
 
MySQL Document Store
MySQL Document StoreMySQL Document Store
MySQL Document StoreMario Beck
 
MySQL London Tech Tour March 2015 - Embedded Database of Choice
MySQL London Tech Tour March 2015 - Embedded Database of ChoiceMySQL London Tech Tour March 2015 - Embedded Database of Choice
MySQL London Tech Tour March 2015 - Embedded Database of ChoiceMark Swarbrick
 
Why MySQL High Availability Matters
Why MySQL High Availability MattersWhy MySQL High Availability Matters
Why MySQL High Availability MattersMatt Lord
 
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
 
MySQL 5.6, news in 5.7 and our HA options
MySQL 5.6, news in 5.7 and our HA optionsMySQL 5.6, news in 5.7 and our HA options
MySQL 5.6, news in 5.7 and our HA optionsTed Wennmark
 

What's hot (20)

MySQL Enterprise Edition Overview
MySQL Enterprise Edition OverviewMySQL Enterprise Edition Overview
MySQL Enterprise Edition Overview
 
MySQL Security
MySQL SecurityMySQL Security
MySQL Security
 
Oracle Enterprise Manager for MySQL
Oracle Enterprise Manager for MySQLOracle Enterprise Manager for MySQL
Oracle Enterprise Manager for MySQL
 
MySQL Cloud Service
MySQL Cloud ServiceMySQL Cloud Service
MySQL Cloud Service
 
MySQL Community and Commercial Edition
MySQL Community and Commercial EditionMySQL Community and Commercial Edition
MySQL Community and Commercial Edition
 
MySQL for Oracle DBAs
MySQL for Oracle DBAsMySQL for Oracle DBAs
MySQL for Oracle DBAs
 
MySQL 5.7: What's New, Nov. 2015
MySQL 5.7: What's New, Nov. 2015MySQL 5.7: What's New, Nov. 2015
MySQL 5.7: What's New, Nov. 2015
 
MySQL 5.7 Replication News
MySQL 5.7 Replication News MySQL 5.7 Replication News
MySQL 5.7 Replication News
 
MySQL Manchester TT - Security
MySQL Manchester TT  - SecurityMySQL Manchester TT  - Security
MySQL Manchester TT - Security
 
MySQL InnoDB Cluster - A complete High Availability solution for MySQL
MySQL InnoDB Cluster - A complete High Availability solution for MySQLMySQL InnoDB Cluster - A complete High Availability solution for MySQL
MySQL InnoDB Cluster - A complete High Availability solution for MySQL
 
NoSQL & SQL - Best of both worlds - BarCamp Berkshire 2013
NoSQL & SQL - Best of both worlds - BarCamp Berkshire 2013NoSQL & SQL - Best of both worlds - BarCamp Berkshire 2013
NoSQL & SQL - Best of both worlds - BarCamp Berkshire 2013
 
NoSQL and MySQL: News about JSON
NoSQL and MySQL: News about JSONNoSQL and MySQL: News about JSON
NoSQL and MySQL: News about JSON
 
OpenStack Days East -- MySQL Options in OpenStack
OpenStack Days East -- MySQL Options in OpenStackOpenStack Days East -- MySQL Options in OpenStack
OpenStack Days East -- MySQL Options in OpenStack
 
MySQL HA Alternatives 2010
MySQL  HA  Alternatives 2010MySQL  HA  Alternatives 2010
MySQL HA Alternatives 2010
 
MySQL Document Store
MySQL Document StoreMySQL Document Store
MySQL Document Store
 
MySQL London Tech Tour March 2015 - Embedded Database of Choice
MySQL London Tech Tour March 2015 - Embedded Database of ChoiceMySQL London Tech Tour March 2015 - Embedded Database of Choice
MySQL London Tech Tour March 2015 - Embedded Database of Choice
 
Why MySQL High Availability Matters
Why MySQL High Availability MattersWhy MySQL High Availability Matters
Why MySQL High Availability Matters
 
OpenStack & MySQL
OpenStack & MySQLOpenStack & MySQL
OpenStack & MySQL
 
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)
 
MySQL 5.6, news in 5.7 and our HA options
MySQL 5.6, news in 5.7 and our HA optionsMySQL 5.6, news in 5.7 and our HA options
MySQL 5.6, news in 5.7 and our HA options
 

Viewers also liked

Apache Hadoop: Introduzione all’architettura ed approcci applicativi
Apache Hadoop: Introduzione all’architettura ed approcci applicativiApache Hadoop: Introduzione all’architettura ed approcci applicativi
Apache Hadoop: Introduzione all’architettura ed approcci applicativiDario Catalano
 
Zend Core on IBM i - Security Considerations
Zend Core on IBM i - Security ConsiderationsZend Core on IBM i - Security Considerations
Zend Core on IBM i - Security ConsiderationsZendCon
 
PHP on Windows - What's New
PHP on Windows - What's NewPHP on Windows - What's New
PHP on Windows - What's NewZendCon
 
Application Diagnosis with Zend Server Tracing
Application Diagnosis with Zend Server TracingApplication Diagnosis with Zend Server Tracing
Application Diagnosis with Zend Server TracingZendCon
 
PHP and Platform Independance in the Cloud
PHP and Platform Independance in the CloudPHP and Platform Independance in the Cloud
PHP and Platform Independance in the CloudZendCon
 
Oracle cloud 使用云市场快速搭建小型电商网站
Oracle cloud 使用云市场快速搭建小型电商网站Oracle cloud 使用云市场快速搭建小型电商网站
Oracle cloud 使用云市场快速搭建小型电商网站Zhaoyang Wang
 
Why MySQL High Availability Matters
Why MySQL High Availability MattersWhy MySQL High Availability Matters
Why MySQL High Availability MattersMark Swarbrick
 
Solving the C20K problem: Raising the bar in PHP Performance and Scalability
Solving the C20K problem: Raising the bar in PHP Performance and ScalabilitySolving the C20K problem: Raising the bar in PHP Performance and Scalability
Solving the C20K problem: Raising the bar in PHP Performance and ScalabilityZendCon
 
Oracle cloud ravello介绍及测试账户申请
Oracle cloud ravello介绍及测试账户申请Oracle cloud ravello介绍及测试账户申请
Oracle cloud ravello介绍及测试账户申请Zhaoyang Wang
 
Tiery Eyed
Tiery EyedTiery Eyed
Tiery EyedZendCon
 
Zend_Tool: Practical use and Extending
Zend_Tool: Practical use and ExtendingZend_Tool: Practical use and Extending
Zend_Tool: Practical use and ExtendingZendCon
 
Framework Shootout
Framework ShootoutFramework Shootout
Framework ShootoutZendCon
 
Oracle Compute Cloud Service快速实践
Oracle Compute Cloud Service快速实践Oracle Compute Cloud Service快速实践
Oracle Compute Cloud Service快速实践Zhaoyang Wang
 
A Storage Story #ChefConf2013
A Storage Story #ChefConf2013A Storage Story #ChefConf2013
A Storage Story #ChefConf2013Kyle Bader
 
Oracle Compute Cloud Service介绍
Oracle Compute Cloud Service介绍Oracle Compute Cloud Service介绍
Oracle Compute Cloud Service介绍Zhaoyang Wang
 
MySQL Optimizer Overview
MySQL Optimizer OverviewMySQL Optimizer Overview
MySQL Optimizer OverviewOlav Sandstå
 
PHP on IBM i Tutorial
PHP on IBM i TutorialPHP on IBM i Tutorial
PHP on IBM i TutorialZendCon
 
Planning for Synchronization with Browser-Local Databases
Planning for Synchronization with Browser-Local DatabasesPlanning for Synchronization with Browser-Local Databases
Planning for Synchronization with Browser-Local DatabasesZendCon
 

Viewers also liked (20)

Apache Hadoop: Introduzione all’architettura ed approcci applicativi
Apache Hadoop: Introduzione all’architettura ed approcci applicativiApache Hadoop: Introduzione all’architettura ed approcci applicativi
Apache Hadoop: Introduzione all’architettura ed approcci applicativi
 
Zend Core on IBM i - Security Considerations
Zend Core on IBM i - Security ConsiderationsZend Core on IBM i - Security Considerations
Zend Core on IBM i - Security Considerations
 
PHP on Windows - What's New
PHP on Windows - What's NewPHP on Windows - What's New
PHP on Windows - What's New
 
Application Diagnosis with Zend Server Tracing
Application Diagnosis with Zend Server TracingApplication Diagnosis with Zend Server Tracing
Application Diagnosis with Zend Server Tracing
 
PHP and Platform Independance in the Cloud
PHP and Platform Independance in the CloudPHP and Platform Independance in the Cloud
PHP and Platform Independance in the Cloud
 
Oracle cloud 使用云市场快速搭建小型电商网站
Oracle cloud 使用云市场快速搭建小型电商网站Oracle cloud 使用云市场快速搭建小型电商网站
Oracle cloud 使用云市场快速搭建小型电商网站
 
Why MySQL High Availability Matters
Why MySQL High Availability MattersWhy MySQL High Availability Matters
Why MySQL High Availability Matters
 
Solving the C20K problem: Raising the bar in PHP Performance and Scalability
Solving the C20K problem: Raising the bar in PHP Performance and ScalabilitySolving the C20K problem: Raising the bar in PHP Performance and Scalability
Solving the C20K problem: Raising the bar in PHP Performance and Scalability
 
Oracle cloud ravello介绍及测试账户申请
Oracle cloud ravello介绍及测试账户申请Oracle cloud ravello介绍及测试账户申请
Oracle cloud ravello介绍及测试账户申请
 
MySQL in your laptop
MySQL in your laptopMySQL in your laptop
MySQL in your laptop
 
Tiery Eyed
Tiery EyedTiery Eyed
Tiery Eyed
 
Script it
Script itScript it
Script it
 
Zend_Tool: Practical use and Extending
Zend_Tool: Practical use and ExtendingZend_Tool: Practical use and Extending
Zend_Tool: Practical use and Extending
 
Framework Shootout
Framework ShootoutFramework Shootout
Framework Shootout
 
Oracle Compute Cloud Service快速实践
Oracle Compute Cloud Service快速实践Oracle Compute Cloud Service快速实践
Oracle Compute Cloud Service快速实践
 
A Storage Story #ChefConf2013
A Storage Story #ChefConf2013A Storage Story #ChefConf2013
A Storage Story #ChefConf2013
 
Oracle Compute Cloud Service介绍
Oracle Compute Cloud Service介绍Oracle Compute Cloud Service介绍
Oracle Compute Cloud Service介绍
 
MySQL Optimizer Overview
MySQL Optimizer OverviewMySQL Optimizer Overview
MySQL Optimizer Overview
 
PHP on IBM i Tutorial
PHP on IBM i TutorialPHP on IBM i Tutorial
PHP on IBM i Tutorial
 
Planning for Synchronization with Browser-Local Databases
Planning for Synchronization with Browser-Local DatabasesPlanning for Synchronization with Browser-Local Databases
Planning for Synchronization with Browser-Local Databases
 

Similar to MySQL Intro JSON NoSQL

Using MySQL in the Cloud
Using MySQL in the CloudUsing MySQL in the Cloud
Using MySQL in the CloudMatt Lord
 
Introduction to MySQL
Introduction to MySQLIntroduction to MySQL
Introduction to MySQLTed Wennmark
 
My sql en la nube conoce las mejores prácticas en administración y operación_...
My sql en la nube conoce las mejores prácticas en administración y operación_...My sql en la nube conoce las mejores prácticas en administración y operación_...
My sql en la nube conoce las mejores prácticas en administración y operación_...GeneXus
 
MySQL Enterprise Portfolio
MySQL Enterprise PortfolioMySQL Enterprise Portfolio
MySQL Enterprise PortfolioAbel Flórez
 
MySQL Fabric - High Availability & Automated Sharding for MySQL
MySQL Fabric - High Availability & Automated Sharding for MySQLMySQL Fabric - High Availability & Automated Sharding for MySQL
MySQL Fabric - High Availability & Automated Sharding for MySQLTed Wennmark
 
MySQL enterprise edition
MySQL enterprise edition MySQL enterprise edition
MySQL enterprise edition Mark 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
 
MySQL Cluster - Latest Developments (up to and including MySQL Cluster 7.4)
MySQL Cluster - Latest Developments (up to and including MySQL Cluster 7.4)MySQL Cluster - Latest Developments (up to and including MySQL Cluster 7.4)
MySQL Cluster - Latest Developments (up to and including MySQL Cluster 7.4)Andrew Morgan
 
A practical introduction to Oracle NoSQL Database - OOW2014
A practical introduction to Oracle NoSQL Database - OOW2014A practical introduction to Oracle NoSQL Database - OOW2014
A practical introduction to Oracle NoSQL Database - OOW2014Anuj Sahni
 
MySQL Web Reference Architecture
MySQL Web Reference Architecture MySQL Web Reference Architecture
MySQL Web Reference Architecture Ricky Setyawan
 
Netherlands Tech Tour - 06 MySQL Enterprise Monitor
Netherlands Tech Tour - 06 MySQL Enterprise MonitorNetherlands Tech Tour - 06 MySQL Enterprise Monitor
Netherlands Tech Tour - 06 MySQL Enterprise MonitorMark Swarbrick
 
Oracle MySQL Tutorial -- MySQL NoSQL Cloud Buenos Aires Nov, 13 2014
Oracle MySQL Tutorial -- MySQL NoSQL Cloud Buenos Aires Nov, 13 2014Oracle MySQL Tutorial -- MySQL NoSQL Cloud Buenos Aires Nov, 13 2014
Oracle MySQL Tutorial -- MySQL NoSQL Cloud Buenos Aires Nov, 13 2014Manuel Contreras
 
MySQL in oracle_public_cloud
MySQL in oracle_public_cloudMySQL in oracle_public_cloud
MySQL in oracle_public_cloudOracleMySQL
 
1 architecture & design
1   architecture & design1   architecture & design
1 architecture & designMark Swarbrick
 
MySQL & Oracle Linux Keynote at Open Source India 2014
MySQL & Oracle Linux Keynote at Open Source India 2014MySQL & Oracle Linux Keynote at Open Source India 2014
MySQL & Oracle Linux Keynote at Open Source India 2014Sanjay Manwani
 
MySQL in oracle public cloud
MySQL in oracle public cloudMySQL in oracle public cloud
MySQL in oracle public cloudMandy Ang
 
Unlocking big data with Hadoop + MySQL
Unlocking big data with Hadoop + MySQLUnlocking big data with Hadoop + MySQL
Unlocking big data with Hadoop + MySQLRicky Setyawan
 
20140722 Taiwan MySQL User Group Meeting Tech Updates
20140722 Taiwan MySQL User Group Meeting Tech Updates20140722 Taiwan MySQL User Group Meeting Tech Updates
20140722 Taiwan MySQL User Group Meeting Tech UpdatesRyusuke Kajiyama
 
MySQL 8: Ready for Prime Time
MySQL 8: Ready for Prime TimeMySQL 8: Ready for Prime Time
MySQL 8: Ready for Prime TimeArnab Ray
 

Similar to MySQL Intro JSON NoSQL (20)

Using MySQL in the Cloud
Using MySQL in the CloudUsing MySQL in the Cloud
Using MySQL in the Cloud
 
Introduction to MySQL
Introduction to MySQLIntroduction to MySQL
Introduction to MySQL
 
My sql en la nube conoce las mejores prácticas en administración y operación_...
My sql en la nube conoce las mejores prácticas en administración y operación_...My sql en la nube conoce las mejores prácticas en administración y operación_...
My sql en la nube conoce las mejores prácticas en administración y operación_...
 
MySQL Enterprise Portfolio
MySQL Enterprise PortfolioMySQL Enterprise Portfolio
MySQL Enterprise Portfolio
 
MySQL Fabric - High Availability & Automated Sharding for MySQL
MySQL Fabric - High Availability & Automated Sharding for MySQLMySQL Fabric - High Availability & Automated Sharding for MySQL
MySQL Fabric - High Availability & Automated Sharding for MySQL
 
MySQL enterprise edition
MySQL enterprise edition MySQL enterprise edition
MySQL enterprise edition
 
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
 
MySQL Cluster - Latest Developments (up to and including MySQL Cluster 7.4)
MySQL Cluster - Latest Developments (up to and including MySQL Cluster 7.4)MySQL Cluster - Latest Developments (up to and including MySQL Cluster 7.4)
MySQL Cluster - Latest Developments (up to and including MySQL Cluster 7.4)
 
MySQL Fabric
MySQL FabricMySQL Fabric
MySQL Fabric
 
A practical introduction to Oracle NoSQL Database - OOW2014
A practical introduction to Oracle NoSQL Database - OOW2014A practical introduction to Oracle NoSQL Database - OOW2014
A practical introduction to Oracle NoSQL Database - OOW2014
 
MySQL Web Reference Architecture
MySQL Web Reference Architecture MySQL Web Reference Architecture
MySQL Web Reference Architecture
 
Netherlands Tech Tour - 06 MySQL Enterprise Monitor
Netherlands Tech Tour - 06 MySQL Enterprise MonitorNetherlands Tech Tour - 06 MySQL Enterprise Monitor
Netherlands Tech Tour - 06 MySQL Enterprise Monitor
 
Oracle MySQL Tutorial -- MySQL NoSQL Cloud Buenos Aires Nov, 13 2014
Oracle MySQL Tutorial -- MySQL NoSQL Cloud Buenos Aires Nov, 13 2014Oracle MySQL Tutorial -- MySQL NoSQL Cloud Buenos Aires Nov, 13 2014
Oracle MySQL Tutorial -- MySQL NoSQL Cloud Buenos Aires Nov, 13 2014
 
MySQL in oracle_public_cloud
MySQL in oracle_public_cloudMySQL in oracle_public_cloud
MySQL in oracle_public_cloud
 
1 architecture & design
1   architecture & design1   architecture & design
1 architecture & design
 
MySQL & Oracle Linux Keynote at Open Source India 2014
MySQL & Oracle Linux Keynote at Open Source India 2014MySQL & Oracle Linux Keynote at Open Source India 2014
MySQL & Oracle Linux Keynote at Open Source India 2014
 
MySQL in oracle public cloud
MySQL in oracle public cloudMySQL in oracle public cloud
MySQL in oracle public cloud
 
Unlocking big data with Hadoop + MySQL
Unlocking big data with Hadoop + MySQLUnlocking big data with Hadoop + MySQL
Unlocking big data with Hadoop + MySQL
 
20140722 Taiwan MySQL User Group Meeting Tech Updates
20140722 Taiwan MySQL User Group Meeting Tech Updates20140722 Taiwan MySQL User Group Meeting Tech Updates
20140722 Taiwan MySQL User Group Meeting Tech Updates
 
MySQL 8: Ready for Prime Time
MySQL 8: Ready for Prime TimeMySQL 8: Ready for Prime Time
MySQL 8: Ready for Prime Time
 

More from 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 8 - 2018 MySQL Days
MySQL 8 - 2018 MySQL DaysMySQL 8 - 2018 MySQL Days
MySQL 8 - 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
 

More from 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 8
MySQL 8MySQL 8
MySQL 8
 
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 8 - 2018 MySQL Days
MySQL 8 - 2018 MySQL DaysMySQL 8 - 2018 MySQL Days
MySQL 8 - 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
 

Recently uploaded

Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMKumar Satyam
 
JavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate GuideJavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate GuidePixlogix Infotech
 
Choreo: Empowering the Future of Enterprise Software Engineering
Choreo: Empowering the Future of Enterprise Software EngineeringChoreo: Empowering the Future of Enterprise Software Engineering
Choreo: Empowering the Future of Enterprise Software EngineeringWSO2
 
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...WSO2
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAnitaRaj43
 
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...caitlingebhard1
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Bhuvaneswari Subramani
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard37
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...TrustArc
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontologyjohnbeverley2021
 
Design and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data ScienceDesign and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data SciencePaolo Missier
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
Navigating Identity and Access Management in the Modern Enterprise
Navigating Identity and Access Management in the Modern EnterpriseNavigating Identity and Access Management in the Modern Enterprise
Navigating Identity and Access Management in the Modern EnterpriseWSO2
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Simplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptxSimplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptxMarkSteadman7
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
Quantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation ComputingQuantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation ComputingWSO2
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 

Recently uploaded (20)

Introduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDMIntroduction to use of FHIR Documents in ABDM
Introduction to use of FHIR Documents in ABDM
 
JavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate GuideJavaScript Usage Statistics 2024 - The Ultimate Guide
JavaScript Usage Statistics 2024 - The Ultimate Guide
 
Choreo: Empowering the Future of Enterprise Software Engineering
Choreo: Empowering the Future of Enterprise Software EngineeringChoreo: Empowering the Future of Enterprise Software Engineering
Choreo: Empowering the Future of Enterprise Software Engineering
 
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
WSO2 Micro Integrator for Enterprise Integration in a Decentralized, Microser...
 
AI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by AnitarajAI in Action: Real World Use Cases by Anitaraj
AI in Action: Real World Use Cases by Anitaraj
 
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...Stronger Together: Developing an Organizational Strategy for Accessible Desig...
Stronger Together: Developing an Organizational Strategy for Accessible Desig...
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
TrustArc Webinar - Unified Trust Center for Privacy, Security, Compliance, an...
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Design and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data ScienceDesign and Development of a Provenance Capture Platform for Data Science
Design and Development of a Provenance Capture Platform for Data Science
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Navigating Identity and Access Management in the Modern Enterprise
Navigating Identity and Access Management in the Modern EnterpriseNavigating Identity and Access Management in the Modern Enterprise
Navigating Identity and Access Management in the Modern Enterprise
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Simplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptxSimplifying Mobile A11y Presentation.pptx
Simplifying Mobile A11y Presentation.pptx
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Quantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation ComputingQuantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation Computing
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 

MySQL Intro JSON NoSQL

  • 1. An Introduction to MySQL When to select MySQL and how to get the most out of the world’s most popular open source database.
  • 2. Copyright Oracle Corporation 2014 | 25th July 20142 Agenda §  A few facts about MySQL §  Understanding when to choose MySQL §  How to get the most out of MySQL §  Focus on MySQL Fabric §  JSON and Key-Value store §  Q&A
  • 3. Copyright Oracle Corporation 2014 | 25th July 20143 Agenda §  A few facts about MySQL §  Understanding when to choose MySQL §  How to get the most out of MySQL §  Focus on MySQL Fabric §  JSON and Key-Value store §  Q&A
  • 4. Copyright Oracle Corporation 2014 | 25th July 20144 MySQL today •  Founded 1995 (MySQL AB, -> Sun Microsystems, -> Oracle) •  12+ million product installations •  100+ million downloads to date •  68,000+ downloads each day •  Web Property de facto Standard (e.g. LAMP & WAMP) •  Runs on Windows, Linux, Solaris, Mac OS X •  MySQL Commercial Editions Available
  • 5. Copyright Oracle Corporation 2014 | 25th July 20145 Industry Leaders Rely on MySQL
  • 6. Copyright Oracle Corporation 2014 | 25th July 20146 MySQL 5.5 MySQL Enterprise Monitor 2.3 & 3.0 MySQL Enterprise Backup Security Scalability HA Audit MySQL 5.6 MySQL Workbench 6.1 M y S Q L U t i l i t i e s MySQL Applier for Hadoop MySQL Workbench 5.2 & 6.0 M y S Q L E n t e r p r i s e O r a c l e C e r t i f i c a t i o n s MySQL@Oracle: 4 Years of MySQL Innovation M y S Q L C l u s t e r M a n a g e rWindows installer & Tools MySQL Cluster 7.2 MySQL Cluster 7.1 MySQL Migration Wizard MySQL 5.7 MySQL Cluster 7.4 MySQL Fabric 1.4 MySQL Cluster 7.3
  • 7. Copyright Oracle Corporation 2014 | 25th July 20147 Agenda §  A few facts about MySQL §  Understanding when to choose MySQL §  How to get the most out of MySQL §  Focus on MySQL Fabric §  JSON and Key-Value store §  Q&A
  • 8. Copyright Oracle Corporation 2014 | 25th July 20148 Scalability with MySQL Scale Out •  Commodity Intel / AMD •  Data replication between servers •  Add commodity servers to increase capacity •  High Availability via some tweaks
  • 9. Copyright Oracle Corporation 2014 | 25th July 20149 Small Systems Scale vertically; Active/passive replication for HA App
  • 10. Copyright Oracle Corporation 2014 | 25th July 201410 Medium-Large; Read-intensive Horizontally scale with read-slaves App
  • 11. Copyright Oracle Corporation 2014 | 25th July 201411 Medium-Large; Write-intensive §  Write scalability –  Can handle more writes §  Large data set –  Database too large –  Does not fit on single server §  Improved performance –  Smaller index size –  Smaller working set –  Improve performance UID 10000-20000 UID 20001-40000 Application-level sharding App
  • 12. Copyright Oracle Corporation 2014 | 25th July 201412 Real-Time/Carrier Grade MySQL Cluster MySQL Cluster Data Nodes Clients Application Layer Data Layer Management
  • 13. Copyright Oracle Corporation 2014 | 25th July 201413 MySQL Fabric 1.4 GA High Availability + Sharding-Based Scale-out MySQL Fabric Connector Application Read-slaves mappings SQL Master group Read-slaves Master group •  High Availability: •  Server monitoring with auto-promotion and transparent application failover •  Fabric-aware connectors rather than proxy: Python, Java & PHP •  Optionally scale-out through sharding •  Application provides shard key •  Range or Hash •  Tools for resharding •  Global updates & tables •  Available in MySQL Utilities 1.4.2 RC
  • 14. Copyright Oracle Corporation 2014 | 25th July 201414 Considerations §  MySQL scale out is not always transparent to the application –  Implies a closer connection between dev and db administration/design –  Means off-the-shelf packages not designed or adapted for MySQL may not be a good fit §  MySQL Fabric simplifies the development of scale out architectures and will be a key area for future innovation §  MySQL scale out is a good fit for the cloud
  • 15. Copyright Oracle Corporation 2014 | 25th July 201415 Applications Custom-built web applications are the most popular types of applications deployed by MySQL Enterprise Customers and Community Users
  • 16. Copyright Oracle Corporation 2014 | 25th July 201416 Agenda §  A few facts about MySQL §  Understanding when to choose MySQL §  How to get the most out of MySQL §  Focus on MySQL Fabric §  JSON and Key-Value store §  Q&A
  • 17. Copyright Oracle Corporation 2014 | 25th July 201417 DB architecture §  The optimal db architecture may imply some level of application awareness. §  Particularly true where MySQL Cluster or Sharding would be the best solution. §  Ensure the db architecture is considered early enough and communication with the development team is effective
  • 18. Copyright Oracle Corporation 2014 | 25th July 201418 Monitoring & Tuning §  Monitoring is the most basic and necessary step to managing performance and availability §  The correct monitoring will intercept most problems before they lead to a failure §  MySQL maintains a performance schema internally – determine what you want to monitor and how frequently §  Tune / take remedial action based on the information provided by the monitoring
  • 19. Copyright Oracle Corporation 2014 | 25th July 201419 Performance Analysis §  Understand what is happening at both DB and OS level §  Set a baseline for acceptable performance §  Set up alerting where actual worse than baseline based on some threshold §  Drill down into performance issues – ideally down to the individual code fragment associated with the issue §  Decide what corrective action to take
  • 20. Copyright Oracle Corporation 2014 | 25th July 201420 Backups §  A key part of the high availability strategy §  May need to be part of the architectural planning for the whole solution §  Online (non blocking) backups required? §  Incremental as well as full backups required? §  Point in time recovery required? §  Backup / restore performance needs to be considered §  Monitoring of backup status? §  On-premise? Cloud?
  • 21. Copyright Oracle Corporation 2014 | 25th July 201421 DB Security §  Authorisation §  Privilege Management §  Password Policies §  Authentication §  Encryption – connections, database, backups §  Auditing §  Firewall – SQL Injection, Whitelists, Blacklists §  Hardening best practice
  • 22. Copyright Oracle Corporation 2014 | 25th July 201422 Support §  Three broad approaches: –  Self support using community resources. Will involve higher levels of expertise, investment of time, some risk. –  ‘Best efforts’ support from a cloud vendor. Typically they have already some investment in MySQL skills so are capable of basic support. No service level. No familiarity with complex architectures. No patching. Very limited monitoring. –  Vendor support. Full technical support including patching (Oracle Premier Support). Consultative support. Monitoring, performance analysis and backup tools, security features and tools, integration with other Oracle products (OEM for example), certifications, indemnity, architectural guidance from account team. Will involve investment of some money.
  • 23. Copyright Oracle Corporation 2014 | 25th July 201423 Oracle Premier Lifetime Support Oracle Product Certifications/Integrations MySQL Enterprise High Availability MySQL Enterprise Security & Firewall MySQL Enterprise Scalability MySQL Enterprise Backup MySQL Enterprise Monitor/Query Analyzer MySQL Workbench MySQL Enterprise Edition Highest Levels of MySQL Scalability, Security and Uptime MySQL Enterprise Audit
  • 24. Copyright Oracle Corporation 2014 | 25th July 201424 Agenda §  A few facts about MySQL §  Understanding when to choose MySQL §  How to get the most out of MySQL §  Focus on MySQL Fabric §  JSON and Key-Value store §  Q&A
  • 25. MySQL  Fabric   An  extensible  and  easy-­‐to-­‐ use  framework  for   managing  a  farm  of  MySQL   server  suppor=ng  high-­‐ availability  and  sharding   25  09/11/15   Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved  
  • 26. MySQL  Fabric  1.5   •  High  Availability   –  Server  monitoring  with  auto-­‐promoJon  and   transparent  applicaJon  failover   •  OpJonally  scale-­‐out  through  sharding   –  ApplicaJon  provides  shard  key   –  Range  or  Hash   –  Tools  for  resharding   –  Global  updates  &  tables   •  Fabric-­‐aware  connectors  rather  than   proxy:  Python,  Java,  PHP  (pre-­‐ producJon),  .NET,  C  (labs)   –  Lower  latency,  boYleneck-­‐free   •  Server  provisioning  using  OpenStack  etc.   High  Availability  +  Sharding-­‐Based  Scale-­‐out   MySQL  Fabric   Connector   ApplicaJon   Read-­‐slaves   mappings   SQL   HA  group   Read-­‐slaves   HA  group   Connector   ApplicaJon   26  09/11/15   Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved  
  • 27. MySQL  Fabric  Framework  (HA)   All  Data   Primary   Secondary   Extra  Read  Replicas  MySQL  Fabric   Controller   SQL  Queries   State  &   Rou=ng  Info   HA  Group   Coordina=on   and  Control   27  09/11/15   Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved  
  • 28. Dependable  and  Scalable  MySQL  (labs)   Tuesday, October 20, 2015 Oracle Confidential – Restricted 28 Global  Data   Shard  1   Shard  2   MySQL  Fabric   Controller   SQL  Queries   Server/Shard  State  &   Mapping   Global  Group   HA  Group   Coordina=on   and  Control   HA  Group   Group  Replica=on   cluster   Group  Replica=on   cluster   Group  Replica=on   cluster   MySQL Router
  • 29. Copyright Oracle Corporation 2014 | 25th July 201429 Agenda §  A few facts about MySQL §  Understanding when to choose MySQL §  How to get the most out of MySQL §  Focus on MySQL Fabric §  JSON and Key-Value store §  Q&A
  • 30. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   MySQL  5.7:  JSON     •  NaJve  JSON  data  type   – NaJve  internal  binary  format  for  efficient  processing  &  storage   •  Built-­‐in  JSON  funcJons   – Allowing  you  to  efficiently  store,  search,  update,  and  manipulate  Documents   •  JSON  Comparator   – Allows  for  easy  integraJon  of  Document  data  within  your  SQL  queries   •  Indexing  of  Documents  using  Generated  Columns     – InnoDB  supports  indexes  on  both  stored  and  virtual  Generated  Columns   – New  expression  analyzer  automaJcally  uses  the  best  “funcJonal”  index  available   •  New  inline  syntax  for  easy  SQL  integraJon     30  
  • 31. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   MySQL  5.7:  JSON  and  Text  Datatype  Comparison     #  With  feature  column  as  JSON  type   SELECT  DISTINCT    feature-­‐>"$.type"  as  json_extract   FROM  features;   +-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐+   |  json_extract  |   +-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐+   |  "Feature"        |   +-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐+   1  row  in  set  (1.25  sec)   Unindexed  traversal  of  206K  documents   #  With  feature  column  as  TEXT  type   SELECT  DISTINCT      feature-­‐>"$.type"  as  json_extract   FROM  features;   +-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐+   |  json_extract  |   +-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐+   |  "Feature"        |   +-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐+     1  row  in  set  (12.85  sec)   Explana=on:  Binary  format  of  JSON  type  is  very  efficient  at  searching.  Storing  as  TEXT   performs  over  10x  worse  at  traversal.   31  
  • 32. Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   MySQL  5.7:  FuncJonal  Indexes  with  JSON     ALTER  TABLE  features  ADD  feature_type  VARCHAR(30)  AS  (JSON_UNQUOTE(feature-­‐ >'$.type'));   Query  OK,  0  rows  affected  (0.01  sec)   Records:  0    Duplicates:  0    Warnings:  0     ALTER  TABLE  features  ADD  INDEX  (feature_type);   Query  OK,  0  rows  affected  (0.73  sec)   Records:  0    Duplicates:  0    Warnings:  0     SELECT  DISTINCT  feature_type  FROM  features;   +-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐+   |  feature_type  |   +-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐+   |  "Feature"        |   +-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐+   1  row  in  set  (0.06  sec)   From  table  scan  on  206K  documents  to  index  scan  on  206K  materialized  values   Meta  data  change  only  (FAST).   Does  not  need  to  touch  table..   Creates  index  only,  does  not   touch  row  data.   Down  from  1.25  sec  to  0.06  sec   32  
  • 33. Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.   •  5.7  supports  funcJons  to  CREATE,  SEARCH,  MODIFY  and  RETURN  JSON  values:   JSON  FuncJons   33 JSON_ARRAY_APPEND()   JSON_ARRAY_INSERT()   JSON_ARRAY()   JSON_CONTAINS_PATH()   JSON_CONTAINS()   JSON_DEPTH()   JSON_EXTRACT()   JSON_INSERT()   JSON_KEYS()   JSON_LENGTH()   JSON_MERGE()   JSON_OBJECT()   JSON_QUOTE()   JSON_REMOVE()   JSON_REPLACE()   JSON_SEARCH()   JSON_SET()   JSON_TYPE()   JSON_UNQUOTE()   JSON_VALID()   hYps://dev.mysql.com/doc/refman/5.7/en/json-­‐funcJons.html  
  • 34. NoSQL   Simple  access  paYerns   Compromise  on  consistency   for  performance   Ad-­‐hoc  data  format   Simple  operaJon   SQL   Complex  queries  with  joins   ACID  transacJons   Well  defined  schemas   Rich  set  of  tools   SJll  a  role  for  SQL  (RDBMS)?   26th  March  2015   Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.   34  
  • 35. 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   26th  March  2015   Copyright  ©  2015,  Oracle  and/or  its  affiliates.  All  rights  reserved.   35  
  • 36. MySQL  5.6  Memcached  with  InnoDB   0 10000 20000 30000 40000 50000 60000 70000 80000 8 32 128 512 TPS Client Connections Memcached API SQL Clients  and  Applica=ons   MySQL  Server   Memcached  Plug-­‐in   innodb_   memcached   local  cache   (opJonal)   Handler  API   InnoDB  API   InnoDB  Storage  Engine   mysqld  process   SQL   Memcached  Protocol   Up  to  9x  Higher  “SET  /  INSERT”  Throughput   26th March 2015 Copyright © 2015, Oracle and/or its affiliates. All rights reserved. 36
  • 37. Cluster  &  Memcached  –  Schema-­‐Free   <town:maidenhead,SL6> key value <town:maidenhead,SL6> key value Key   Value   town:maidenhead   SL6   generic table Application view SQL view 26th March 2015 Copyright © 2015, Oracle and/or its affiliates. All rights reserved. 37
  • 38. 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 Application view SQL view 26th March 2015 Copyright © 2015, Oracle and/or its affiliates. All rights reserved. 38
  • 39. Copyright Oracle Corporation 2014 | 25th July 201439 Agenda §  A few facts about MySQL §  Understanding when to choose MySQL §  How to get the most out of MySQL §  Focus on MySQL Fabric §  JSON and Key-Value store §  Q&A
  • 40. Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   MySQL  Enterprise  Monitor   40   •  Start  monitoring  MySQL  in  10  minutes   •  Real-­‐Jme  MySQL  performance  and   availability  monitoring   •  Visually  find  &  fix  problem  queries   •  Disk  monitoring  for  capacity  planning   •  Cloud  friendly  architecture   – No  agents  required   •  OpJonal  agent  opJon  provides   advanced  Host/OS  monitoring  
  • 41. Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   Cloud-­‐friendly  Architecture   41   MySQL  Enterprise    Dashboard   Service  Manager   Repository     HTTPS   Data  Center  Public  Cloud  Private  Cloud   •  MySQL     – Performance  Schema  provides  Query  Analyzer  data   – Provides  all  MySQL  related  metrics     •  Service  Manager   – Collects  all  MySQL  related  metrics   – Collects  all  OS/Host  related  metrics   •  Repository   – Stores  all  historical  data   •  Agent  (opJonal)   – Only  required  for  OS/Host  metrics  
  • 42. Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   Enterprise  Monitor  Dashboard   42   "The  MySQL  Enterprise  Monitor  is  an  absolute   must  for  any  DBA  who  takes  his  work  seriously.”     -­‐  Adrian  Baumann,  System  Specialist   Federal  Office  of  InformaJon  Technology  &     TelecommunicaJons   •  SLA  monitoring   •  Real-­‐Jme  performance  monitoring   •  Alerts  &  noJficaJons   •  MySQL  best  pracJce  advisors  
  • 43. Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   Enterprise  Query  Analyzer   43   •  Real-­‐Jme  query  performance   •  Visual  correlaJon  graphs   •  Find  &  fix  expensive  queries   •  Detailed  query  staJsJcs   •  Query  Response  Time  index  (QRTi)   – “Quality  of  Service”  (QoS)  measurement   for  each  query   – QoS  measurement  for  a  server,  group,   or  every  instance   – Single  metric  for  query  performance   “With  the  MySQL  Query  Analyzer,  we  were  able  to   idenEfy  and  analyze  problemaEc  SQL  code,  and  triple   our  database  performance.  More  importantly,  we  were   able  to  accomplish  this  in  three  days,  rather  than  taking   weeks.”     Keith  Souhrada     Sorware  Development  Engineer     Big  Fish  Games    
  • 44. Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   Enterprise  ReplicaJon  Monitor   44   •  Auto-­‐discovers  replicaJon  topology   •  Master/Slave  performance   monitoring   •  ReplicaJon  advisor     •  Best  pracJce  replicaJon  advice   "I  use  the  MySQL  Enterprise  Monitor   every  day  to  monitor  and  keep  tabs   on  our  MySQL  databases.  Quick  one   stop  shopping  for  keeping  tabs  on   them.”     -­‐ Wes  Homer,     Sr  System  and  Network  Administrator    
  • 45. Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   Best  PracJce  Advisors   45   •  Enforce  MySQL  best  pracJces   •  14  Advisor  categories   •  250+  Advisors   •  Threshold-­‐based  alerts   – ExponenJal  moving  averages   – Rate  change  detecJon   •  Expert  problem  resoluJon  advice   "I  definitely  recommend  the  MySQL  Enterprise   Monitor  to  DBAs  who  don't  have  a  ton  of  MySQL   experience.  It  makes  monitoring  MySQL  security,   performance  and  availability  very  easy  to   understand  and  to  act  on.”     Sandi  Barr   Sr.  Sorware  Engineer   Schneider  Electric  
  • 46. Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   MySQL  Enterprise  Backup   •  Online,  non-­‐locking  backup  and  recovery     –  Complete  MySQL  instance  backup  (data  and  config)   –  ParJal  backup  and  restore   •  Direct  Cloud  storage  backups  (S3,  etc.)   •  Incremental  backups   •  Point-­‐in-­‐Jme  recovery   •  Advanced  compressed  and  encrypJon   •  Backup  to  tape  (SBT)   •  Backup  validaJon   •  OpJmisJc  backups   •  Cross-­‐Plasorm  (Windows,  Linux,  Unix)   46  
  • 47. Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   MySQL  Enterprise  Monitor  +  Backup   47   •  Monitor  backup  results   •  Monitor  backup  performance   •  Ensure  backups  are  up  to  date  
  • 48. Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   MySQL  Workbench  EE   •  Database  migraJons   – From  Microsor  SQL  Server,   PostgreSQL,  Sybase  ASE,  Sybase  SQL   Anywhere,  SQLite,  Microsor  Access,   and  more     •  Manage  migraJon  projects   •  Source  and  target  selecJon   •  Object  migraJon   •  Data  migraJon   •  MySQL  version  upgrades   48   New!  Database  MigraJon  Wizard    for  SQL  Server,  Sybase,  SQLite,  SQL  Anywhere  &  PostgreSQL  
  • 49. Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   MySQL  Workbench  EE  +  Audit   •  Fast  and  easy  access  to  Audit   events   •  Indexed  searches   – Event  type   – User  account   – Date  range   – Text  match   49  
  • 50. Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   MySQL  Workbench  EE  +  Backup   •  Create  and  manage  backup  jobs   – Create  new  backup  jobs   – Schedule  backup  jobs  to  run   automaJcally   – View  current  backup  jobs   – View  recent  backup  acJvity   •  Restore  backups     – Full,  parJal,  incremental  …   50  
  • 51. Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |       Oracle  Enterprise  Manager  for  MySQL   51   Performance   Security   Availability   •  Availability  monitoring   •  Performance  monitoring   •  ConfiguraJon  monitoring   •  All  available  metrics  collected   – Allowing  for  custom  threshold   based  incident  reports   •  MySQL  auto-­‐detecJon    
  • 52. Copyright Oracle Corporation 2014 | 25th July 201452 Agenda §  A few facts about MySQL §  Understanding when to choose MySQL §  How to get the most out of MySQL §  MySQL Enterprise Edition §  Summary §  Q&A
  • 53. Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   •  Provides  20x  beYer  scalability   •  Plugin  improves  sustained   performance  as  user  connecJons   grow   MySQL  Enterprise  Scalability  :  Thread  Pool   53  
  • 54. Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   MySQL  Enterprise  Security   •  SSL  enabled  communicaJon   •  Access  control   – Enterprise  authenJcaJon  (PAM,  Windows,  LDAP,  etc.)   – Proxy  users   •  AudiJng  and  monitoring   – MySQL  security  advisors   – Oracle  Audit  Vault   •  Oracle  Database  Firewall   54  
  • 55. Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   MySQL  Enterprise  EncrypJon   •  MySQL  encrypJon  libraries     – Symmetric  encrypJon  AES256   – Public-­‐key  /  asymmetric  cryptography   •  Key  management   – Generate  public  and  private  keys   – Key  exchange  methods:  RSA,  DSA,  DH   •  Sign  and  verify  data   – Cryptographic  hashing  for  digital  signing,  verificaJon,  &  validaJon   55  
  • 56. Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   MySQL  Enterprise  Audit   •  Out-­‐of-­‐the-­‐box  logging  of  connecJons,  logins,  and  query   •  User  defined  policies  for  filtering,  and  log  rotaJon   •  Dynamically  enabled,  disabled:  no  server  restart   •  XML-­‐based  audit  stream  per  Oracle  Audit  Vault  spec   56   Adds  regulatory  compliance  to   MySQL  applicaJons  (HIPAA,   Sarbanes-­‐Oxley,  PCI,  etc.)    
  • 57. Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   MySQL  Enterprise  AuthenJcaJon   57   •  PAM  (Pluggable  AuthenJcaJon  Modules)   – Access  external  authenJcaJon  methods   – Standard  interface  (Unix,  LDAP,  Kerberos,  others)   – Proxied  and  non-­‐proxied  users   •   Windows   – Access  naJve  Windows  services   – AuthenJcate  users  already  logged  into  Windows   (Windows  AcJve  Directory)   •  Pluggable  AuthenJcaJon  API   Integrates  MySQL  with  exisJng   security  infrastructures  and  SOPs  
  • 58. Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   MySQL  Enterprise  High  Availability   •  HA  with  MySQL  Fabric  (recommended)   •  Oracle  VM  Templates  for  MySQL   •  HA  with  DRBD  and  Linux  Clustering   •  HA  with  Solaris  Clustering   •  HA  with  Windows  Failover  Clustering   •  HA  with  Oracle  Clusterware  Plugin   58     Range  of  opJons  to  make  your   MySQL  applicaJon  deployments   Highly  Available  
  • 59. Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   MySQL  Enterprise  HA  :  MySQL  Fabric   59   •  High  Availability  features   – Server  monitoring   – Auto-­‐promoJon   – Transparent  applicaJon  failover   – Dynamically  scale  up  and  down   •  Fabric-­‐aware  connectors  rather   than  a  proxy   – Python,  Java,  and  PHP   – Lower  latency,  boYleneck-­‐free   •  OpJonal  sharding  features   MySQL  Fabric   Connector   ApplicaJon   Read-­‐slaves   mappings   SQL   HA  group   Read-­‐slaves   HA  group   Connector   ApplicaJon  
  • 60. Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   MySQL  Enterprise  HA  :  Shared  Nothing   60   •  DRBD  +  Clustering   – Based  on  distributed  storage,  not  a  SAN   – Synchronous  replicaJon  eliminates  risk  of   data  loss   •  Open  source,  mature,  &  proven   •  CerJfied  and  fully  supported  by  Oracle   – DRBD  integrated  into  Oracle  Linux   Unbreakable  Enterprise  Kernel  R2   – Pacemaker  and  Corosync  for  clustering  /   failover   – Updates  to  stack  via  ULN  channel  
  • 61. Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   MySQL  Enterprise  HA  :  Shared  Storage   61   •  Stricter  data  durability,  integrity   constraints   – Shared  storage  persists  commits  across   instances   – Clustering  sorware  manages  data  access   – Auto-­‐failover  of  applicaJons  and  database   – Deploy  with  MySQL  Fabric  for  scale-­‐out   •  MySQL  cerJfied  &  supported  soluJons   – Oracle  Clusterware   – Windows  Failover  Clustering   – Oracle  Solaris  Cluster   Virtual  IP     Clients  
  • 62. Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   MySQL  Enterprise  HA  :  Oracle  VM  Templates   62   •  Oracle  Linux   •  Oracle  VM     •  Oracle  VM  Manager     •  Oracle  Cluster  File  System  2  (OCFS2)   •  MySQL  Database  (Enterprise  EdiJon)   •  Pre-­‐installed  &  pre-­‐configured   •  Full  integraJon  &  QA  tesJng   •  Single  point  of  support   Oracle  VM  Servers   Oracle  VM  Server  Pool   ocfs2   Oracle  VM   Manager   SAN  /  iSCSI   Oracle   VM   Secure  Live   Migra=on  (SSL)   Oracle   VM   Automa=c  Fault   Detec=on  &   Recovery  
  • 63. Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   MySQL  Enterprise  Support   •  Largest  MySQL  engineering  and  support  organizaJon   •  Backed  by  the  MySQL  developers   •  World-­‐class  support,  in  29  languages   •  Hot  fixes  &  maintenance  releases   •  24x7x365   •  Unlimited  incidents   •  ConsultaJve  support   •  Global  scale  and  reach   Get  immediate  help  for  any  MySQL   issue,  plus  expert  advice 63  
  • 64. Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   MySQL  ConsultaJve  Support     Make  the  Most  of  your  Deployments   •  Remote  troubleshooJng   •  ReplicaJon  review   •  ParJJoning  review   •  Schema  review   •  Query  review   •  Performance  tuning   •  ...and  more   64  
  • 65. Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   Work  Directly  with  MySQL  Engineering     •  A  direct  relaJonship  with  the  MySQL  team   •  The  ability  to  parJcipate  in:   – Product  roadmaps   – Product  betas   – Customer  advisory  boards   •  Work  closely  with  Support  Engineers   – Resolve  issues  faster   – Request  bug  and  feature  request  escalaJons     65  
  • 66. Copyright  ©  2014  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   MySQL  Enterprise  Oracle  CerJficaJons   • Oracle  Enterprise  Manager  for   MySQL   • Oracle  Linux  (w/DRBD  stack)   • Oracle  VM   • Oracle  Solaris   •  Oracle  Solaris  Clustering   •  Oracle  Clusterware   • My  Oracle  Support   • Oracle  Fusion  Middleware   • Oracle  GoldenGate   • Oracle  Audit  Vault   • Oracle  Database  Firewall   • Oracle  Secure  Backup   MySQL  integrates  into  your  Oracle  environment   66  
  • 67. Copyright Oracle Corporation 2014 | 25th July 201467 Cross-Platform Lower TCO Performance Ease of Use Summary - Why MySQL?
  • 68. Copyright Oracle Corporation 2014 | 25th July 201468 Agenda §  A few facts about MySQL §  Understanding when to choose MySQL §  How to get the most out of MySQL §  Summary §  Q&A
  • 69. Copyright Oracle Corporation 2014 | 25th July 201469