SlideShare ist ein Scribd-Unternehmen logo
1 von 41
Downloaden Sie, um offline zu lesen
Copyright	
  ©	
  2014,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
MySQL Enterprise Monitor
Monitoring & Performance Tools for DBAs
Copyright	
  ©	
  2014,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
The	
  following	
  is	
  intended	
  to	
  outline	
  our	
  general	
  product	
  direc4on.	
  It	
  is	
  
intended	
  for	
  informa4on	
  purposes	
  only,	
  and	
  may	
  not	
  be	
  incorporated	
  
into	
  any	
  contract.	
  It	
  is	
  not	
  a	
  commitment	
  to	
  deliver	
  any	
  material,	
  code,	
  or	
  
func4onality,	
  and	
  should	
  not	
  be	
  relied	
  upon	
  in	
  making	
  purchasing	
  
decision.	
  The	
  development,	
  release,	
  and	
  4ming	
  of	
  any	
  features	
  or	
  
func4onality	
  described	
  for	
  Oracle’s	
  products	
  remains	
  at	
  the	
  sole	
  
discre4on	
  of	
  Oracle.	
  
Safe Harbor Statement
Copyright	
  ©	
  2014,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
§  MySQL	
  Customers	
  
§  Overview	
  &	
  Architecture	
  
§  Installa4on	
  &	
  Configura4on	
  
§  Features	
  &	
  Benefits	
  
§  Ques4ons	
  
§  Appendix	
  
§  Addi4onal	
  Info	
  
	
  
Agenda:	
  MySQL	
  Enterprise	
  Monitor	
  
Copyright	
  ©	
  2014,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
Cloud	
  
Web	
  &	
  Enterprise	
  	
   OEM	
  &	
  ISVs	
  
Industry	
  Leaders	
  Rely	
  on	
  MySQL	
  
Copyright	
  ©	
  2014,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
Big	
  Fish	
   Applica4on	
  
	
  Big	
  Fish	
  Games	
  is	
  a	
  global	
  leader	
  in	
  the	
  online	
  games	
  industry	
  
and	
  distributes	
  more	
  games	
  worldwide	
  than	
  any	
  other	
  online	
  
site.	
  	
  
	
  
Key	
  Business	
  Benefit	
  
	
  MySQL	
  Query	
  Analyzer	
  provides	
  a	
  consolidated	
  view	
  of	
  query	
  
acOviOes	
  and	
  execuOon	
  details,	
  and	
  has	
  enabled	
  Big	
  Fish	
  Games	
  
to	
  quickly	
  idenOfy	
  poorly	
  running	
  queries	
  and	
  tackle	
  the	
  root	
  
causes	
  directly	
  in	
  the	
  SQL	
  code.	
  	
  
	
  
Why	
  MySQL?	
  	
  
	
   	
  “With	
  the	
  MySQL	
  Query	
  Analyzer,	
  we	
  were	
  able	
  to	
  iden9fy	
  and	
  
analyze	
  problema9c	
  SQL	
  code,	
  and	
  triple	
  our	
  database	
  
performance.	
  More	
  importantly,	
  we	
  were	
  able	
  to	
  accomplish	
  
this	
  in	
  three	
  days,	
  rather	
  than	
  taking	
  weeks.”	
  
Keith	
  Souhrada	
  
SoDware	
  Development	
  Engineer	
  
Big	
  Fish	
  Games	
  
Copyright	
  ©	
  2014,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
Oracle	
  Premier	
  
LifeOme	
  Support	
  
Oracle	
  Product	
  	
  
CerOficaOons/IntegraOons	
  
MySQL	
  Enterprise	
  	
  
High	
  Availability	
  
MySQL	
  Enterprise	
  	
  
Security	
  
MySQL	
  Enterprise	
  	
  
Scalability	
  
MySQL	
  Enterprise	
  	
  
Backup	
  
MySQL	
  Enterprise	
  	
  
Monitor/Query	
  Analyzer	
  
MySQL	
  Workbench	
  
MySQL	
  Enterprise	
  Edi4on	
  
Highest	
  Levels	
  of	
  Security,	
  Performance,	
  and	
  Availability	
  
MySQL	
  Enterprise	
  	
  
Audit	
  
Copyright	
  ©	
  2014,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
Database	
  Applica4on	
  Growth	
  
• 	
  2.1	
  Billion	
  Internet	
  Users	
  
• 	
  40%	
  Data	
  Growth/Year	
  
• 	
  $1	
  Trillion	
  eCommerce	
  
• 	
  600	
  New	
  Videos/Minute	
  
• 	
  58	
  Million	
  Tweets/Day	
  
SituaOon	
  
Requirements	
  
• 	
  Performance	
  
• 	
  Scale-­‐out	
  
• 	
  AutomaOon	
  
Copyright	
  ©	
  2014,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
MySQL	
  DBA	
  Checklist	
  
	
  
1.	
  Ensure	
  your	
  produc4on	
  databases	
  are	
  available	
  	
   ✔	
  
2.	
  Monitor	
  MySQL	
  performance	
  throughout	
  the	
  day	
   ✔	
  
3.	
  Verify	
  that	
  MySQL	
  replica4on	
  is	
  working	
  properly	
   ✔	
  
4.	
  Confirm	
  that	
  backups	
  have	
  completed	
  successfully	
   ✔	
  
5.	
  Monitor	
  disk	
  space	
  to	
  ensure	
  MySQL	
  won’t	
  run	
  out	
  of	
  space	
   ✔	
  
6.	
  Regularly	
  monitor	
  and	
  iden4fy	
  blocking	
  issues	
   ✔	
  
7.	
  Verify	
  there	
  have	
  been	
  no	
  changes	
  to	
  database	
  schema	
   ✔	
  
8.	
  Check	
  OS	
  metrics	
  for	
  unusual	
  events	
   ✔	
  
9.	
  Check	
  for	
  security	
  vulnerabili4es	
   ✔	
  
10.	
  Monitor	
  and	
  analyze	
  memory	
  usage	
   ✔	
  
Copyright	
  ©	
  2014,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
MySQL	
  DBA	
  Challenges	
  
§  “The	
  database	
  is	
  slow.	
  	
  What	
  needs	
  tuning?”	
  
§  “What	
  are	
  my	
  most	
  expensive	
  queries?”	
  
§  “Are	
  indexes	
  op4mized?”	
  
§  “Is	
  replica4on	
  lag	
  a	
  problem?”	
  
§  “Did	
  my	
  last	
  backup	
  succeed?”	
  
§  “When	
  will	
  my	
  disk	
  fill	
  up?”	
  
§  “When	
  will	
  I	
  need	
  more	
  hardware	
  to	
  scale-­‐out?”	
  
§  “Has	
  my	
  database	
  schema	
  changed?”	
  
§  “Are	
  there	
  security	
  vulnerabili4es	
  that	
  I	
  need	
  to	
  be	
  concerned	
  about?”	
  
	
  
Copyright	
  ©	
  2014,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
MySQL	
  Enterprise	
  Monitor	
  
§  Real-­‐4me	
  MySQL	
  performance	
  and	
  availability	
  monitoring	
  
§  Visually	
  find	
  &	
  fix	
  problem	
  queries	
  
§  Disk	
  monitoring	
  for	
  capacity	
  planning	
  
§  Cloud	
  friendly	
  architecture	
  (no	
  agents)	
  
§  Start	
  monitoring	
  MySQL	
  in	
  10	
  minutes	
  
§  Remote	
  agent	
  op4on	
  provides	
  OS	
  monitoring	
  
Copyright	
  ©	
  2014,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
MySQL	
  Enterprise	
  Monitor	
  –	
  New	
  in	
  3.0	
  
§  Policies,	
  Groups	
  and	
  auto-­‐scheduling	
  	
  
§  Zero	
  Configura4on	
  Query	
  Analyzer	
  -­‐	
  Works	
  "out	
  of	
  the	
  box"	
  with	
  MySQL	
  5.6	
  Performance_Schema	
  (5.6.14	
  or	
  
later).	
  
§  Trends,	
  projec4ons	
  and	
  forecas4ng	
  
§  Visual	
  SQL/graph	
  correla4on	
  	
  
§  Host	
  monitoring	
  -­‐	
  CPU,	
  memory,	
  file	
  system,	
  and	
  other	
  OS-­‐related	
  
§  Auto-­‐discovery	
  of	
  mysqld	
  instances	
  
§  Mul4-­‐instance	
  monitoring	
  
§  Remote	
  ("agent-­‐less")	
  monitoring	
  
Copyright	
  ©	
  2014,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
Cloud-­‐friendly	
  Architecture	
  
MySQL	
  Enterprise	
  
	
  Dashboard	
  
MySQL	
  
Service	
  Manager	
  
Repository	
  	
  
MySQL	
  
HTTPS	
  
Data	
  Center	
  Public	
  Cloud	
  Private	
  Cloud	
  
MySQL
§  Provides MySQL related metrics
§  MySQL Query Analyzer collects data
using Performance Schema
Service Manager
§  Collects all MySQL related metrics
§  Collects all OS/Host related metrics
Repository
§  Stores historical MySQL data
Agent (optional)
§  Only	
  for	
  OS/Host	
  metrics	
  
§  Not	
  required	
  for	
  DB	
  metrics	
  
Copyright	
  ©	
  2014,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
Installa4on	
  &	
  Configura4on	
  
§  Install	
  the	
  Service	
  Manager	
  
§  shell>	
  ./mysqlmonitor-­‐3.0.X.XXXX-­‐…-­‐installer.bin	
  
§  Up	
  and	
  Running	
  in	
  10	
  minutes	
  
§  Auto-­‐discovery	
  of	
  MySQL	
  servers	
  
§  Advisors	
  are	
  pre-­‐configured	
  
§  Advisors	
  are	
  pre-­‐scheduled	
  
§  Customiza4on	
  
§  Centralized	
  configuraOon	
  dashboard	
  
§  Advisors	
  
§  Event	
  Handling	
  
§  Preferences,	
  global	
  segngs,	
  users,	
  and	
  logs	
  	
  
	
  
Copyright	
  ©	
  2014,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
MySQL	
  Enterprise	
  Dashboard	
  
§  SLA	
  monitoring	
  
§  Real-­‐4me	
  performance	
  monitoring	
  
§  Alerts	
  &	
  no4fica4ons	
  
§  MySQL	
  best	
  prac4ce	
  advisors	
  
"The	
  MySQL	
  Enterprise	
  Monitor	
  is	
  an	
  absolute	
  must	
  for	
  any	
  
DBA	
  who	
  takes	
  his	
  work	
  seriously.”	
  
	
  
-­‐	
  Adrian	
  Baumann,	
  System	
  Specialist	
  
Federal	
  Office	
  of	
  InformaOon	
  Technology	
  &	
  	
  
TelecommunicaOons	
  
Copyright	
  ©	
  2014,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
Hardware
Schema Changes
Data Growth
Indexes
SQL
Source	
  of	
  Database	
  Performance	
  Problems	
  
	
  
90%	
  of	
  	
  
Performance	
  Problems	
  	
  
Copyright	
  ©	
  2014,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
MySQL	
  Performance	
  Schema	
  
	
  
§  Iden4fy	
  performance	
  boolenecks	
  
§  Iden4fy	
  problema4c	
  queries	
  	
  
§  Get	
  real	
  4me	
  insight	
  into	
  locks	
  
§  See	
  exactly	
  what	
  is	
  happening	
  within	
  MySQL	
  	
  
§  Get	
  real	
  4me	
  insight	
  into	
  MySQL	
  internals	
  	
  
§  Get	
  real	
  4me	
  insight	
  into	
  query	
  execu4ons	
  
	
  
mysql> select * from ps_top_io_by_file limit 10;
+-----------------------------------+------------+------------+-----------+-------------+---------------+-------------+------------
+-----------+
| file | count_read | total_read | avg_read | count_write | total_written | avg_written | total | write_pct
|
+-----------------------------------+------------+------------+-----------+-------------+---------------+-------------+------------
+-----------+
| @@datadir/ibdata1 | 7974 | 126.56 MiB | 16.25 KiB | 54979 | 12.72 GiB | 242.58 KiB | 12.84 GiB | 99.04
|
| @@datadir/ib_logfile0 | 6 | 68.00 KiB | 11.33 KiB | 9348 | 1.25 GiB | 140.41 KiB | 1.25 GiB | 99.99
|
| @@datadir/ib_logfile1 | 0 | 0 bytes | 0 bytes | 5447 | 1.21 GiB | 233.23 KiB | 1.21 GiB | 100.00
|
| @@datadir/mylab-bin.000001 | 2 | 120 bytes | 60 bytes | 104242 | 1.01 GiB | 10.15 KiB | 1.01 GiB | 100.00
|
| @@datadir/mylab-bin.000002 | 0 | 0 bytes | 0 bytes | 98905 | 1.00 GiB | 10.61 KiB | 1.00 GiB | 100.00
|
| @@datadir/mylab-bin.000003 | 0 | 0 bytes | 0 bytes | 75053 | 775.10 MiB | 10.58 KiB | 775.10 MiB | 100.00
|
| @@datadir/employees/salaries.ibd | 0 | 0 bytes | 0 bytes | 8556 | 270.83 MiB | 32.41 KiB | 270.83 MiB | 100.00
|
| @@datadir/employees/titles.ibd | 0 | 0 bytes | 0 bytes | 1950 | 69.08 MiB | 36.27 KiB | 69.08 MiB | 100.00
|
| @@datadir/employees/dept_emp.ibd | 0 | 0 bytes | 0 bytes | 1376 | 49.17 MiB | 36.59 KiB | 49.17 MiB | 100.00
|
| @@datadir/employees/employees.ibd | 607 | 9.48 MiB | 16.00 KiB | 944 | 35.92 MiB | 38.97 KiB | 45.41 MiB | 79.11
|
+-----------------------------------+------------+------------+-----------+-------------+---------------+-------------+------------
+-----------+
10 rows in set (0.00 sec)
Copyright	
  ©	
  2014,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
Performance	
  Monitoring	
  
	
  
§  Monitor	
  MySQL	
  performance	
  
§  Monitor	
  OS	
  performance	
  
§  Monitor	
  query	
  performance	
  
§  Advice	
  on	
  index	
  usage	
  
§  Alerts	
  on	
  performance	
  problems	
  
Copyright	
  ©	
  2014,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
MySQL	
  Query	
  Analyzer	
  
§  Real-­‐4me	
  query	
  performance	
  
§  Visual	
  correla4on	
  graphs	
  
§  Find	
  &	
  fix	
  expensive	
  queries	
  
§  Detailed	
  query	
  sta4s4cs	
  
§  Query	
  Response	
  Time	
  index	
  (QRTi)	
  
“With	
  the	
  MySQL	
  Query	
  Analyzer,	
  we	
  were	
  able	
  to	
  iden9fy	
  
and	
  analyze	
  problema9c	
  SQL	
  code,	
  and	
  triple	
  our	
  database	
  
performance.	
  More	
  importantly,	
  we	
  were	
  able	
  to	
  
accomplish	
  this	
  in	
  three	
  days,	
  rather	
  than	
  taking	
  weeks.”	
  
	
  
Keith	
  Souhrada	
  	
  
Sojware	
  Development	
  Engineer	
  	
  
Big	
  Fish	
  Games	
  	
  
Copyright	
  ©	
  2014,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
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	
  
Copyright	
  ©	
  2014,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
Solving	
  Query	
  Performance	
  Problems	
  
	
  
1 2 3 4
• Visually Identify Slow Queries
• Correlation Graphs
• Query Response Time index (QRTi)
• Execution Statistics
• Tune Queries
• Add Indexes
• Tune Schemas
• Improve Caching
• MySQL Explain Plan
• Sample Query
• Query Graphs
Better Performance
Copyright	
  ©	
  2014,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
Advantages	
  of	
  Query	
  Analyzer	
  
over	
  Slow	
  Query	
  Log	
  
	
  
§  See	
  query	
  execu4on	
  sta4s4cs	
  
§  Trace	
  the	
  query	
  origina4on	
  back	
  to	
  the	
  applica4on	
  source	
  code	
  
§  View	
  the	
  overall	
  query	
  performance	
  over	
  4me	
  
§  See	
  when	
  the	
  query	
  was	
  first	
  introduced	
  
§  See	
  the	
  explain	
  plan	
  
§  Focus	
  on	
  queries	
  specific	
  to	
  a	
  par4cular	
  host	
  and	
  4me	
  period	
  
§  View	
  query	
  execu4ons	
  correlated	
  with	
  other	
  performance	
  graphs	
  	
  
	
  
	
  
Copyright	
  ©	
  2014,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
InnoDB	
  Monitoring	
  
	
  
§  Monitor	
  key	
  performance	
  metrics	
  
§  Stay	
  on	
  top	
  of	
  locking	
  issues	
  	
  
§  Get	
  configura4on	
  advice	
  
§  Examine	
  buffer	
  pool	
  usage	
  
Copyright	
  ©	
  2014,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
Memory	
  Usage	
  Monitoring	
  
	
  
§  Monitor	
  OS	
  memory	
  usage	
  
§  Monitor	
  MySQL	
  memory	
  usage	
  	
  
§  Advice	
  on	
  configura4on	
  	
  
§  Alerts	
  on	
  memory	
  usage	
  	
  
Copyright	
  ©	
  2014,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
Replica4on	
  Monitoring	
  
§  Auto-­‐discovers	
  replica4on	
  topology	
  
§  Master/Slave	
  performance	
  monitoring	
  
§  Replica4on	
  advisor	
  	
  
§  Best	
  prac4ce	
  replica4on	
  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	
  Prac4ce	
  Advisors	
  
§  Enforce	
  MySQL	
  best	
  prac4ces	
  
§  14	
  Advisor	
  categories	
  
§  250+	
  Advisors	
  
§  Threshold-­‐based	
  alerts	
  
§  Exponen4al	
  moving	
  averages	
  
§  Rate	
  change	
  detec4on	
  
§  Expert	
  problem	
  resolu4on	
  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.	
  Sojware	
  Engineer	
  
Schneider	
  Electric	
  
Copyright	
  ©	
  2014,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
Disk	
  Monitoring	
  
§  Capacity	
  Planning	
  
§  Forecast	
  capacity	
  requirements	
  
§  Projec4ons	
  
§  Trend	
  analysis	
  
§  Timeseries	
  data	
  
	
  
	
  
"With	
  the	
  monitoring	
  dashboard	
  and	
  advisory	
  rules,	
  we	
  
can	
  accurately	
  predict	
  our	
  capacity	
  requirements	
  and	
  
op9mize	
  MySQL	
  performance.”	
  
	
  
Keith	
  Souhrada	
  	
  
Sojware	
  Development	
  Engineer	
  	
  
Big	
  Fish	
  Games	
  	
  
Copyright	
  ©	
  2014,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
MySQL	
  Enterprise	
  Backup	
  Monitoring	
  
	
  
§  Monitor	
  backup	
  results	
  
§  Monitor	
  backup	
  performance	
  
§  Ensure	
  backups	
  are	
  up	
  to	
  date	
  
	
  
	
  
	
  
Copyright	
  ©	
  2014,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
MySQL	
  Configura4on	
  Management	
  
	
  
Advisors	
  will	
  provide	
  
configuraOon	
  tuning	
  
advice!	
  
§  Centralized	
  management	
  
§  Organized	
  by	
  topic	
  
§  Op4ons	
  grouped	
  by	
  feature	
  
§  See	
  host	
  details	
  
§  See	
  network	
  details	
  
Copyright	
  ©	
  2014,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
Security	
  Administra4on	
  
	
  
§  Account	
  management	
  
§  Know	
  when	
  privileges	
  change	
  
§  Get	
  advice	
  on	
  best	
  prac4ces	
  
§  Monitor	
  access	
  problems	
  
	
  
Copyright	
  ©	
  2014,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
Trends	
  &	
  Predic4ve	
  Problem	
  Detec4on	
  	
  
	
  
§  Visual	
  trend	
  analysis	
  
§  Iden4fy	
  outliers	
  
§  Head	
  off	
  problems	
  
§  Handle	
  imminent	
  capacity	
  issues	
  
Copyright	
  ©	
  2014,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
Customizable	
  &	
  Extensible	
  
	
  
§  Create	
  custom	
  	
  
§  Groups	
  
§  Advisors	
  
§  Graphs	
  
§  Filters	
  
§  Event	
  Handlers	
  
Copyright	
  ©	
  2014,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
Solving	
  Common	
  Performance	
  Issues	
  
	
  
Causes	
  of	
  Performance	
  Issues	
   MySQL	
  Enterprise	
  Monitor	
  Helps	
  
Queries	
  doing	
  table	
  scans	
   See	
  these	
  queries	
  immediately	
  
Excessive	
  temporary	
  tables	
  on	
  disk	
   See	
  the	
  queries	
  generaOng	
  these	
  
CPU	
  spikes	
   Find	
  out	
  what	
  caused	
  it	
  
Disk	
  I/O	
  saturaOon	
   Find	
  out	
  what	
  caused	
  it	
  
Internal	
  locking	
   Get	
  alerts	
  when	
  locking	
  issues	
  occur	
  
Hardware	
  problems	
   Get	
  alerts	
  for	
  disk	
  and	
  network	
  problems	
  
Database	
  and	
  schema	
  changes	
   Get	
  alerts	
  when	
  changes	
  are	
  made	
  
New	
  queries	
  introduced	
   See	
  what	
  queries	
  are	
  added	
  and	
  when	
  
Poor	
  MySQL	
  configuraOon	
   Get	
  advice	
  on	
  configuraOon	
  tuning	
  
Copyright	
  ©	
  2014,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
Top	
  10	
  Performance	
  Issues	
  Solved	
  
	
  
✔	
   Iden4fy	
  the	
  most	
  expensive	
  queries	
  
✔	
   Full	
  table	
  scans	
  (no	
  indexes)	
  
✔	
   Excessive	
  temporary	
  tables	
  
✔	
   Large	
  and/or	
  frequent	
  filesorts	
  	
  
✔	
   CPU	
  usage	
  overload	
  
✔	
   Disk	
  I/O	
  satura4on	
  
✔	
   Hardware	
  problems	
  
✔	
   Database	
  and	
  schema	
  changes	
  
✔	
   New	
  queries	
  introduced	
  
✔	
   Poor	
  MySQL	
  configura4on	
  
✔	
   Internal	
  locking	
  issues	
  
Copyright	
  ©	
  2014,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
MySQL Enterprise Monitor 3.0 Demo Videos
http://www.mysql.com/products/enterprise/demo.html
Copyright	
  ©	
  2014,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
Try	
  it	
  out	
  now!	
  
	
   Free	
  30	
  day	
  
trial!	
  
§  Oracle	
  Sosware	
  Delivery	
  Cloud	
  
§  hop://edelivery.oracle.com/	
  
	
  
§  Enterprise	
  Customers	
  
§  hlp://support.oracle.com/	
  
	
  
Copyright	
  ©	
  2014,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
MySQL Enterprise Monitor
Monitoring & Performance Tools for DBAs
Copyright	
  ©	
  2014,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
Appendix	
  –	
  Proxy	
  and	
  Aggregator	
  
	
  
hlp://dev.mysql.com/doc/mysql-­‐monitor/3.0/en/mem-­‐qanal-­‐using-­‐proxy.html	
  
	
  
hlp://dev.mysql.com/doc/mysql-­‐monitor/3.0/en/mem-­‐qanal-­‐using-­‐aggregator.html	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
	
  
Copyright	
  ©	
  2014,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
  
Appendix	
  –	
  Connector	
  Plugins	
  
	
  
hlp://dev.mysql.com/doc/mysql-­‐monitor/3.0/en/mem-­‐qanal-­‐using-­‐cj.html	
  
	
  
hlp://dev.mysql.com/doc/mysql-­‐monitor/3.0/en/mem-­‐qanal-­‐using-­‐cnet.html	
  
	
  
hlp://dev.mysql.com/doc/mysql-­‐monitor/3.0/en/mem-­‐qanal-­‐using-­‐cphp.html	
  
	
  
	
  
Copyright	
  ©	
  2014,	
  Oracle	
  and/or	
  its	
  affiliates.	
  All	
  rights	
  reserved.	
  	
  |	
   Oracle	
  ConfidenOal	
  –	
  Internal/Restricted/Highly	
  Restricted	
   40	
  
Netherlands Tech Tour - 06 MySQL Enterprise Monitor

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

MySQL in Oracle environment : Quick start guide for Oracle DBA (Part 1)
MySQL in Oracle environment : Quick start guide for Oracle DBA (Part 1)MySQL in Oracle environment : Quick start guide for Oracle DBA (Part 1)
MySQL in Oracle environment : Quick start guide for Oracle DBA (Part 1)
 
MySQL Cloud Service
MySQL Cloud ServiceMySQL Cloud Service
MySQL Cloud Service
 
Using MySQL Enterprise Monitor for Continuous Performance Improvement
Using MySQL Enterprise Monitor for Continuous Performance ImprovementUsing MySQL Enterprise Monitor for Continuous Performance Improvement
Using MySQL Enterprise Monitor for Continuous Performance Improvement
 
MySQL Manchester TT - Security
MySQL Manchester TT  - SecurityMySQL Manchester TT  - Security
MySQL Manchester TT - Security
 
MySQL Performance Tuning 101 (Bahasa)
MySQL Performance Tuning 101 (Bahasa)MySQL Performance Tuning 101 (Bahasa)
MySQL Performance Tuning 101 (Bahasa)
 
MySQL Intro JSON NoSQL
MySQL Intro JSON NoSQLMySQL Intro JSON NoSQL
MySQL Intro JSON NoSQL
 
Oracle Enterprise Manager for MySQL
Oracle Enterprise Manager for MySQLOracle Enterprise Manager for MySQL
Oracle Enterprise Manager for MySQL
 
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
 
6 Tips to MySQL Performance Tuning
6 Tips to MySQL Performance Tuning6 Tips to MySQL Performance Tuning
6 Tips to MySQL Performance Tuning
 
Robust easy affordable disaster recovery for MySQL Data
Robust easy affordable disaster recovery for MySQL DataRobust easy affordable disaster recovery for MySQL Data
Robust easy affordable disaster recovery for MySQL Data
 
MySQL Tech Tour 2015 - Alt Intro
MySQL Tech Tour 2015 - Alt IntroMySQL Tech Tour 2015 - Alt Intro
MySQL Tech Tour 2015 - Alt Intro
 
Alta Disponibilidade no MySQL 5.7
Alta Disponibilidade no MySQL 5.7Alta Disponibilidade no MySQL 5.7
Alta Disponibilidade no MySQL 5.7
 
MySQL 5.7: Focus on Replication
MySQL 5.7: Focus on ReplicationMySQL 5.7: Focus on Replication
MySQL 5.7: Focus on Replication
 
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 Document Store
MySQL Document StoreMySQL Document Store
MySQL Document Store
 
MySQL Security
MySQL SecurityMySQL Security
MySQL Security
 
MySQL Tech Tour 2015 - Manage & Tune
MySQL Tech Tour 2015 - Manage & TuneMySQL Tech Tour 2015 - Manage & Tune
MySQL Tech Tour 2015 - Manage & Tune
 
MySQL Enterprise Monitor
MySQL Enterprise MonitorMySQL Enterprise Monitor
MySQL Enterprise Monitor
 
MySQL Tech Tour 2015 - 5.7 Connector/J/Net
MySQL Tech Tour 2015 - 5.7 Connector/J/NetMySQL Tech Tour 2015 - 5.7 Connector/J/Net
MySQL Tech Tour 2015 - 5.7 Connector/J/Net
 
Enabling digital transformation with MySQL
Enabling digital transformation with MySQLEnabling digital transformation with MySQL
Enabling digital transformation with MySQL
 

Andere mochten auch

Andere mochten auch (17)

Netherlands Tech Tour 03 - MySQL Cluster
Netherlands Tech Tour 03 -   MySQL ClusterNetherlands Tech Tour 03 -   MySQL Cluster
Netherlands Tech Tour 03 - MySQL Cluster
 
MySQL London Tech Tour March 2015 - Oracle Linux / OVM
MySQL London Tech Tour March 2015 - Oracle Linux / OVMMySQL London Tech Tour March 2015 - Oracle Linux / OVM
MySQL London Tech Tour March 2015 - Oracle Linux / OVM
 
MySQL London Tech Tour March 2015 - Whats New
MySQL London Tech Tour March 2015 - Whats NewMySQL London Tech Tour March 2015 - Whats New
MySQL London Tech Tour March 2015 - Whats New
 
Netherlands Tech Tour 02 - MySQL Fabric
Netherlands Tech Tour 02 -   MySQL FabricNetherlands Tech Tour 02 -   MySQL Fabric
Netherlands Tech Tour 02 - MySQL Fabric
 
MySQL Webinar Series 4/4 - Manage & tune
MySQL Webinar Series 4/4 - Manage & tuneMySQL Webinar Series 4/4 - Manage & tune
MySQL Webinar Series 4/4 - Manage & tune
 
Netherlands Tech Tour - 04 Linux & OVM
Netherlands Tech Tour - 04 Linux & OVMNetherlands Tech Tour - 04 Linux & OVM
Netherlands Tech Tour - 04 Linux & OVM
 
MySQL London Tech Tour March 2015 - Big Data
MySQL London Tech Tour March 2015 - Big DataMySQL London Tech Tour March 2015 - Big Data
MySQL London Tech Tour March 2015 - Big Data
 
Netherlands Tech Tour - 07 MySQL Whats upcoming in 5.7
Netherlands Tech Tour - 07 MySQL Whats upcoming in 5.7Netherlands Tech Tour - 07 MySQL Whats upcoming in 5.7
Netherlands Tech Tour - 07 MySQL Whats upcoming in 5.7
 
Netherlands Tech Tour 05 - Strategic Operationalization of MySQL
Netherlands Tech Tour 05 - Strategic Operationalization of MySQLNetherlands Tech Tour 05 - Strategic Operationalization of MySQL
Netherlands Tech Tour 05 - Strategic Operationalization of MySQL
 
MySQL Replication
MySQL ReplicationMySQL Replication
MySQL Replication
 
MySQL Enterprise Backup
MySQL Enterprise BackupMySQL Enterprise Backup
MySQL Enterprise Backup
 
MySQL cluster 7.4
MySQL cluster 7.4 MySQL cluster 7.4
MySQL cluster 7.4
 
MySQL London Tech Tour March 2015 - MySQL Fabric
MySQL London Tech Tour March 2015 - MySQL FabricMySQL London Tech Tour March 2015 - MySQL Fabric
MySQL London Tech Tour March 2015 - MySQL Fabric
 
MySQL For Oracle DBA's and Developers
MySQL For Oracle DBA's and DevelopersMySQL For Oracle DBA's and Developers
MySQL For Oracle DBA's and Developers
 
MySQL 5.6 Replication Webinar
MySQL 5.6 Replication WebinarMySQL 5.6 Replication Webinar
MySQL 5.6 Replication Webinar
 
Ms sql server architecture
Ms sql server architectureMs sql server architecture
Ms sql server architecture
 
MySQL as a Document Store
MySQL as a Document StoreMySQL as a Document Store
MySQL as a Document Store
 

Ähnlich wie Netherlands Tech Tour - 06 MySQL Enterprise Monitor

MySQL Enterprise Monitor
MySQL Enterprise MonitorMySQL Enterprise Monitor
MySQL Enterprise Monitor
Mario Beck
 
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
Manuel Contreras
 

Ähnlich wie Netherlands Tech Tour - 06 MySQL Enterprise Monitor (20)

MySQL enterprise edition
MySQL enterprise edition MySQL enterprise edition
MySQL enterprise edition
 
MySQL Enterprise Monitor
MySQL Enterprise MonitorMySQL Enterprise Monitor
MySQL Enterprise Monitor
 
MySQL Enterprise Portfolio
MySQL Enterprise PortfolioMySQL Enterprise Portfolio
MySQL Enterprise Portfolio
 
MySQL Enterprise Edition - Complete Guide (2019)
MySQL Enterprise Edition - Complete Guide (2019)MySQL Enterprise Edition - Complete Guide (2019)
MySQL Enterprise Edition - Complete Guide (2019)
 
MySQL Latest News
MySQL Latest NewsMySQL Latest News
MySQL Latest News
 
Modern Data Security with MySQL
Modern Data Security with MySQLModern Data Security with MySQL
Modern Data Security with MySQL
 
MySQL Manchester TT - MySQL Enterprise Edition
MySQL Manchester TT - MySQL Enterprise EditionMySQL Manchester TT - MySQL Enterprise Edition
MySQL Manchester TT - MySQL Enterprise Edition
 
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
 
Introduction to MySQL
Introduction to MySQLIntroduction to MySQL
Introduction to MySQL
 
MySQL 20 años: pasado, presente y futuro; conoce las nuevas características d...
MySQL 20 años: pasado, presente y futuro; conoce las nuevas características d...MySQL 20 años: pasado, presente y futuro; conoce las nuevas características d...
MySQL 20 años: pasado, presente y futuro; conoce las nuevas características d...
 
1 my sql20151219-kaji_ivan
1 my sql20151219-kaji_ivan1 my sql20151219-kaji_ivan
1 my sql20151219-kaji_ivan
 
2014 OpenSuse Conf: Protect your MySQL Server
2014 OpenSuse Conf: Protect your MySQL Server2014 OpenSuse Conf: Protect your MySQL Server
2014 OpenSuse Conf: Protect your MySQL Server
 
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 Tech Tour Nov, 2013
MySQL Tech Tour Nov, 2013MySQL Tech Tour Nov, 2013
MySQL Tech Tour Nov, 2013
 
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 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 Technology Overview
MySQL Technology OverviewMySQL Technology Overview
MySQL Technology Overview
 
MySQL Fabric
MySQL FabricMySQL Fabric
MySQL Fabric
 
MySQL Manchester TT - Performance Tuning
MySQL Manchester TT  - Performance TuningMySQL Manchester TT  - Performance Tuning
MySQL Manchester TT - Performance Tuning
 
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
 

Mehr von Mark Swarbrick

Mehr von Mark Swarbrick (20)

MySQL NoSQL Document Store
MySQL NoSQL Document StoreMySQL NoSQL Document Store
MySQL NoSQL Document Store
 
MySQL @ the University Of Nottingham
MySQL @ the University Of NottinghamMySQL @ the University Of Nottingham
MySQL @ the University Of Nottingham
 
InnoDb Vs NDB Cluster
InnoDb Vs NDB ClusterInnoDb Vs NDB Cluster
InnoDb Vs NDB Cluster
 
MySQL Security & GDPR
MySQL Security & GDPRMySQL Security & GDPR
MySQL Security & GDPR
 
Intro To MySQL 2019
Intro To MySQL 2019Intro To MySQL 2019
Intro To MySQL 2019
 
MySQL 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
 

Kürzlich hochgeladen

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 

Kürzlich hochgeladen (20)

TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 

Netherlands Tech Tour - 06 MySQL Enterprise Monitor

  • 1.
  • 2. Copyright  ©  2014,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   MySQL Enterprise Monitor Monitoring & Performance Tools for DBAs
  • 3. Copyright  ©  2014,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   The  following  is  intended  to  outline  our  general  product  direc4on.  It  is   intended  for  informa4on  purposes  only,  and  may  not  be  incorporated   into  any  contract.  It  is  not  a  commitment  to  deliver  any  material,  code,  or   func4onality,  and  should  not  be  relied  upon  in  making  purchasing   decision.  The  development,  release,  and  4ming  of  any  features  or   func4onality  described  for  Oracle’s  products  remains  at  the  sole   discre4on  of  Oracle.   Safe Harbor Statement
  • 4. Copyright  ©  2014,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   §  MySQL  Customers   §  Overview  &  Architecture   §  Installa4on  &  Configura4on   §  Features  &  Benefits   §  Ques4ons   §  Appendix   §  Addi4onal  Info     Agenda:  MySQL  Enterprise  Monitor  
  • 5. Copyright  ©  2014,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   Cloud   Web  &  Enterprise     OEM  &  ISVs   Industry  Leaders  Rely  on  MySQL  
  • 6. Copyright  ©  2014,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   Big  Fish   Applica4on    Big  Fish  Games  is  a  global  leader  in  the  online  games  industry   and  distributes  more  games  worldwide  than  any  other  online   site.       Key  Business  Benefit    MySQL  Query  Analyzer  provides  a  consolidated  view  of  query   acOviOes  and  execuOon  details,  and  has  enabled  Big  Fish  Games   to  quickly  idenOfy  poorly  running  queries  and  tackle  the  root   causes  directly  in  the  SQL  code.       Why  MySQL?        “With  the  MySQL  Query  Analyzer,  we  were  able  to  iden9fy  and   analyze  problema9c  SQL  code,  and  triple  our  database   performance.  More  importantly,  we  were  able  to  accomplish   this  in  three  days,  rather  than  taking  weeks.”   Keith  Souhrada   SoDware  Development  Engineer   Big  Fish  Games  
  • 7. Copyright  ©  2014,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   Oracle  Premier   LifeOme  Support   Oracle  Product     CerOficaOons/IntegraOons   MySQL  Enterprise     High  Availability   MySQL  Enterprise     Security   MySQL  Enterprise     Scalability   MySQL  Enterprise     Backup   MySQL  Enterprise     Monitor/Query  Analyzer   MySQL  Workbench   MySQL  Enterprise  Edi4on   Highest  Levels  of  Security,  Performance,  and  Availability   MySQL  Enterprise     Audit  
  • 8. Copyright  ©  2014,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   Database  Applica4on  Growth   •   2.1  Billion  Internet  Users   •   40%  Data  Growth/Year   •   $1  Trillion  eCommerce   •   600  New  Videos/Minute   •   58  Million  Tweets/Day   SituaOon   Requirements   •   Performance   •   Scale-­‐out   •   AutomaOon  
  • 9. Copyright  ©  2014,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   MySQL  DBA  Checklist     1.  Ensure  your  produc4on  databases  are  available     ✔   2.  Monitor  MySQL  performance  throughout  the  day   ✔   3.  Verify  that  MySQL  replica4on  is  working  properly   ✔   4.  Confirm  that  backups  have  completed  successfully   ✔   5.  Monitor  disk  space  to  ensure  MySQL  won’t  run  out  of  space   ✔   6.  Regularly  monitor  and  iden4fy  blocking  issues   ✔   7.  Verify  there  have  been  no  changes  to  database  schema   ✔   8.  Check  OS  metrics  for  unusual  events   ✔   9.  Check  for  security  vulnerabili4es   ✔   10.  Monitor  and  analyze  memory  usage   ✔  
  • 10. Copyright  ©  2014,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   MySQL  DBA  Challenges   §  “The  database  is  slow.    What  needs  tuning?”   §  “What  are  my  most  expensive  queries?”   §  “Are  indexes  op4mized?”   §  “Is  replica4on  lag  a  problem?”   §  “Did  my  last  backup  succeed?”   §  “When  will  my  disk  fill  up?”   §  “When  will  I  need  more  hardware  to  scale-­‐out?”   §  “Has  my  database  schema  changed?”   §  “Are  there  security  vulnerabili4es  that  I  need  to  be  concerned  about?”    
  • 11. Copyright  ©  2014,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   MySQL  Enterprise  Monitor   §  Real-­‐4me  MySQL  performance  and  availability  monitoring   §  Visually  find  &  fix  problem  queries   §  Disk  monitoring  for  capacity  planning   §  Cloud  friendly  architecture  (no  agents)   §  Start  monitoring  MySQL  in  10  minutes   §  Remote  agent  op4on  provides  OS  monitoring  
  • 12. Copyright  ©  2014,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   MySQL  Enterprise  Monitor  –  New  in  3.0   §  Policies,  Groups  and  auto-­‐scheduling     §  Zero  Configura4on  Query  Analyzer  -­‐  Works  "out  of  the  box"  with  MySQL  5.6  Performance_Schema  (5.6.14  or   later).   §  Trends,  projec4ons  and  forecas4ng   §  Visual  SQL/graph  correla4on     §  Host  monitoring  -­‐  CPU,  memory,  file  system,  and  other  OS-­‐related   §  Auto-­‐discovery  of  mysqld  instances   §  Mul4-­‐instance  monitoring   §  Remote  ("agent-­‐less")  monitoring  
  • 13. Copyright  ©  2014,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   Cloud-­‐friendly  Architecture   MySQL  Enterprise    Dashboard   MySQL   Service  Manager   Repository     MySQL   HTTPS   Data  Center  Public  Cloud  Private  Cloud   MySQL §  Provides MySQL related metrics §  MySQL Query Analyzer collects data using Performance Schema Service Manager §  Collects all MySQL related metrics §  Collects all OS/Host related metrics Repository §  Stores historical MySQL data Agent (optional) §  Only  for  OS/Host  metrics   §  Not  required  for  DB  metrics  
  • 14. Copyright  ©  2014,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   Installa4on  &  Configura4on   §  Install  the  Service  Manager   §  shell>  ./mysqlmonitor-­‐3.0.X.XXXX-­‐…-­‐installer.bin   §  Up  and  Running  in  10  minutes   §  Auto-­‐discovery  of  MySQL  servers   §  Advisors  are  pre-­‐configured   §  Advisors  are  pre-­‐scheduled   §  Customiza4on   §  Centralized  configuraOon  dashboard   §  Advisors   §  Event  Handling   §  Preferences,  global  segngs,  users,  and  logs      
  • 15. Copyright  ©  2014,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   MySQL  Enterprise  Dashboard   §  SLA  monitoring   §  Real-­‐4me  performance  monitoring   §  Alerts  &  no4fica4ons   §  MySQL  best  prac4ce  advisors   "The  MySQL  Enterprise  Monitor  is  an  absolute  must  for  any   DBA  who  takes  his  work  seriously.”     -­‐  Adrian  Baumann,  System  Specialist   Federal  Office  of  InformaOon  Technology  &     TelecommunicaOons  
  • 16. Copyright  ©  2014,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   Hardware Schema Changes Data Growth Indexes SQL Source  of  Database  Performance  Problems     90%  of     Performance  Problems    
  • 17. Copyright  ©  2014,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   MySQL  Performance  Schema     §  Iden4fy  performance  boolenecks   §  Iden4fy  problema4c  queries     §  Get  real  4me  insight  into  locks   §  See  exactly  what  is  happening  within  MySQL     §  Get  real  4me  insight  into  MySQL  internals     §  Get  real  4me  insight  into  query  execu4ons     mysql> select * from ps_top_io_by_file limit 10; +-----------------------------------+------------+------------+-----------+-------------+---------------+-------------+------------ +-----------+ | file | count_read | total_read | avg_read | count_write | total_written | avg_written | total | write_pct | +-----------------------------------+------------+------------+-----------+-------------+---------------+-------------+------------ +-----------+ | @@datadir/ibdata1 | 7974 | 126.56 MiB | 16.25 KiB | 54979 | 12.72 GiB | 242.58 KiB | 12.84 GiB | 99.04 | | @@datadir/ib_logfile0 | 6 | 68.00 KiB | 11.33 KiB | 9348 | 1.25 GiB | 140.41 KiB | 1.25 GiB | 99.99 | | @@datadir/ib_logfile1 | 0 | 0 bytes | 0 bytes | 5447 | 1.21 GiB | 233.23 KiB | 1.21 GiB | 100.00 | | @@datadir/mylab-bin.000001 | 2 | 120 bytes | 60 bytes | 104242 | 1.01 GiB | 10.15 KiB | 1.01 GiB | 100.00 | | @@datadir/mylab-bin.000002 | 0 | 0 bytes | 0 bytes | 98905 | 1.00 GiB | 10.61 KiB | 1.00 GiB | 100.00 | | @@datadir/mylab-bin.000003 | 0 | 0 bytes | 0 bytes | 75053 | 775.10 MiB | 10.58 KiB | 775.10 MiB | 100.00 | | @@datadir/employees/salaries.ibd | 0 | 0 bytes | 0 bytes | 8556 | 270.83 MiB | 32.41 KiB | 270.83 MiB | 100.00 | | @@datadir/employees/titles.ibd | 0 | 0 bytes | 0 bytes | 1950 | 69.08 MiB | 36.27 KiB | 69.08 MiB | 100.00 | | @@datadir/employees/dept_emp.ibd | 0 | 0 bytes | 0 bytes | 1376 | 49.17 MiB | 36.59 KiB | 49.17 MiB | 100.00 | | @@datadir/employees/employees.ibd | 607 | 9.48 MiB | 16.00 KiB | 944 | 35.92 MiB | 38.97 KiB | 45.41 MiB | 79.11 | +-----------------------------------+------------+------------+-----------+-------------+---------------+-------------+------------ +-----------+ 10 rows in set (0.00 sec)
  • 18. Copyright  ©  2014,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   Performance  Monitoring     §  Monitor  MySQL  performance   §  Monitor  OS  performance   §  Monitor  query  performance   §  Advice  on  index  usage   §  Alerts  on  performance  problems  
  • 19. Copyright  ©  2014,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   MySQL  Query  Analyzer   §  Real-­‐4me  query  performance   §  Visual  correla4on  graphs   §  Find  &  fix  expensive  queries   §  Detailed  query  sta4s4cs   §  Query  Response  Time  index  (QRTi)   “With  the  MySQL  Query  Analyzer,  we  were  able  to  iden9fy   and  analyze  problema9c  SQL  code,  and  triple  our  database   performance.  More  importantly,  we  were  able  to   accomplish  this  in  three  days,  rather  than  taking  weeks.”     Keith  Souhrada     Sojware  Development  Engineer     Big  Fish  Games    
  • 20. Copyright  ©  2014,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   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  
  • 21. Copyright  ©  2014,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   Solving  Query  Performance  Problems     1 2 3 4 • Visually Identify Slow Queries • Correlation Graphs • Query Response Time index (QRTi) • Execution Statistics • Tune Queries • Add Indexes • Tune Schemas • Improve Caching • MySQL Explain Plan • Sample Query • Query Graphs Better Performance
  • 22. Copyright  ©  2014,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   Advantages  of  Query  Analyzer   over  Slow  Query  Log     §  See  query  execu4on  sta4s4cs   §  Trace  the  query  origina4on  back  to  the  applica4on  source  code   §  View  the  overall  query  performance  over  4me   §  See  when  the  query  was  first  introduced   §  See  the  explain  plan   §  Focus  on  queries  specific  to  a  par4cular  host  and  4me  period   §  View  query  execu4ons  correlated  with  other  performance  graphs        
  • 23. Copyright  ©  2014,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   InnoDB  Monitoring     §  Monitor  key  performance  metrics   §  Stay  on  top  of  locking  issues     §  Get  configura4on  advice   §  Examine  buffer  pool  usage  
  • 24. Copyright  ©  2014,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   Memory  Usage  Monitoring     §  Monitor  OS  memory  usage   §  Monitor  MySQL  memory  usage     §  Advice  on  configura4on     §  Alerts  on  memory  usage    
  • 25. Copyright  ©  2014,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   Replica4on  Monitoring   §  Auto-­‐discovers  replica4on  topology   §  Master/Slave  performance  monitoring   §  Replica4on  advisor     §  Best  prac4ce  replica4on  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    
  • 26. Copyright  ©  2014,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |    Best  Prac4ce  Advisors   §  Enforce  MySQL  best  prac4ces   §  14  Advisor  categories   §  250+  Advisors   §  Threshold-­‐based  alerts   §  Exponen4al  moving  averages   §  Rate  change  detec4on   §  Expert  problem  resolu4on  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.  Sojware  Engineer   Schneider  Electric  
  • 27. Copyright  ©  2014,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   Disk  Monitoring   §  Capacity  Planning   §  Forecast  capacity  requirements   §  Projec4ons   §  Trend  analysis   §  Timeseries  data       "With  the  monitoring  dashboard  and  advisory  rules,  we   can  accurately  predict  our  capacity  requirements  and   op9mize  MySQL  performance.”     Keith  Souhrada     Sojware  Development  Engineer     Big  Fish  Games    
  • 28. Copyright  ©  2014,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   MySQL  Enterprise  Backup  Monitoring     §  Monitor  backup  results   §  Monitor  backup  performance   §  Ensure  backups  are  up  to  date        
  • 29. Copyright  ©  2014,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   MySQL  Configura4on  Management     Advisors  will  provide   configuraOon  tuning   advice!   §  Centralized  management   §  Organized  by  topic   §  Op4ons  grouped  by  feature   §  See  host  details   §  See  network  details  
  • 30. Copyright  ©  2014,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   Security  Administra4on     §  Account  management   §  Know  when  privileges  change   §  Get  advice  on  best  prac4ces   §  Monitor  access  problems    
  • 31. Copyright  ©  2014,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   Trends  &  Predic4ve  Problem  Detec4on       §  Visual  trend  analysis   §  Iden4fy  outliers   §  Head  off  problems   §  Handle  imminent  capacity  issues  
  • 32. Copyright  ©  2014,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   Customizable  &  Extensible     §  Create  custom     §  Groups   §  Advisors   §  Graphs   §  Filters   §  Event  Handlers  
  • 33. Copyright  ©  2014,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   Solving  Common  Performance  Issues     Causes  of  Performance  Issues   MySQL  Enterprise  Monitor  Helps   Queries  doing  table  scans   See  these  queries  immediately   Excessive  temporary  tables  on  disk   See  the  queries  generaOng  these   CPU  spikes   Find  out  what  caused  it   Disk  I/O  saturaOon   Find  out  what  caused  it   Internal  locking   Get  alerts  when  locking  issues  occur   Hardware  problems   Get  alerts  for  disk  and  network  problems   Database  and  schema  changes   Get  alerts  when  changes  are  made   New  queries  introduced   See  what  queries  are  added  and  when   Poor  MySQL  configuraOon   Get  advice  on  configuraOon  tuning  
  • 34. Copyright  ©  2014,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   Top  10  Performance  Issues  Solved     ✔   Iden4fy  the  most  expensive  queries   ✔   Full  table  scans  (no  indexes)   ✔   Excessive  temporary  tables   ✔   Large  and/or  frequent  filesorts     ✔   CPU  usage  overload   ✔   Disk  I/O  satura4on   ✔   Hardware  problems   ✔   Database  and  schema  changes   ✔   New  queries  introduced   ✔   Poor  MySQL  configura4on   ✔   Internal  locking  issues  
  • 35. Copyright  ©  2014,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   MySQL Enterprise Monitor 3.0 Demo Videos http://www.mysql.com/products/enterprise/demo.html
  • 36. Copyright  ©  2014,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   Try  it  out  now!     Free  30  day   trial!   §  Oracle  Sosware  Delivery  Cloud   §  hop://edelivery.oracle.com/     §  Enterprise  Customers   §  hlp://support.oracle.com/    
  • 37. Copyright  ©  2014,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   MySQL Enterprise Monitor Monitoring & Performance Tools for DBAs
  • 38. Copyright  ©  2014,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   Appendix  –  Proxy  and  Aggregator     hlp://dev.mysql.com/doc/mysql-­‐monitor/3.0/en/mem-­‐qanal-­‐using-­‐proxy.html     hlp://dev.mysql.com/doc/mysql-­‐monitor/3.0/en/mem-­‐qanal-­‐using-­‐aggregator.html                  
  • 39. Copyright  ©  2014,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   Appendix  –  Connector  Plugins     hlp://dev.mysql.com/doc/mysql-­‐monitor/3.0/en/mem-­‐qanal-­‐using-­‐cj.html     hlp://dev.mysql.com/doc/mysql-­‐monitor/3.0/en/mem-­‐qanal-­‐using-­‐cnet.html     hlp://dev.mysql.com/doc/mysql-­‐monitor/3.0/en/mem-­‐qanal-­‐using-­‐cphp.html      
  • 40. Copyright  ©  2014,  Oracle  and/or  its  affiliates.  All  rights  reserved.    |   Oracle  ConfidenOal  –  Internal/Restricted/Highly  Restricted   40