MySQL Enterprise Edition
Henrique Lemes
Abril - 2016
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. |2
MySQL é estratégico para Oracle
 Soluções Completas
 #1 em todos os níveis da pilha
 Cloud e On Premise
 MySQL: Web, Mobile & Embedded
 Investimentos na Engenharia do MySQL
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. |3
Strong MySQL Momentum
Source: http://db-engines.com/en/ranking
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. |4
Alguns clientes MySQL
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. |5
MySQL Enterprise Edition
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. |6
MySQL Enterprise Edition
Suporte + Backup + Monitor + Workbench + Plug-ins
Escalabilidade
Segurança
Auditoria
Criptografia
Oracle Enterprise
Manager for MySQL
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. |7
MySQL Enterprise Backup
 Backup online para InnoDB, tamanho ilimitado
 Backups automatizados: completos, incrementais, parciais
 Compressão, Criptografia
 Metadados de status, progresso e histórico
 Compatível SBT, Oracle Secure Backup
 Suporte Cloud (Amazon S3)
 Point in Time Recovery, Parcial ou Completo
 Multi-Plataforma: Windows, Linux, Unix
MEB
Backup
Files
MySQL
Database
Files
mysqlbackup
Backup e Recovery mais rápidos e online.
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. |8
MySQL Enterprise Backup
Menor tempo em backups e restores, menos downtime
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. |9
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. |10
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. |11
 Thread Pool Plug-In
• Adiciona mais inteligência ao modelo padrão de gerenciamento de
threads – agrupa e reutiliza
• Modelo padrão, sem Thread Pool: 1 thread por conexão,
performance excelente, mas limita a escalabilidade ao crescer o
número de conexões de usuários
• Com Thread Pool: reúso de threds, escala o número de conexões
de usuários mantendo os mesmos níveis de performance
• Implementado utilizando Thread Pool API
Assegura desempenho melhor e sustentável, mesmo quando o
número de usuários continua crescendo.
MySQL Enterprise Scalability
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. |12
MySQL 5.7 Sysbench Benchmark: SQL Point
Selects
3x Faster than MySQL 5.6
1,600,000
QPS
0
500.000
1.000.000
1.500.000
2.000.000
8 16 32 64 128 256 512 1.024
QueriesperSecond
Connections
MySQL 5.7: Sysbench OLTP Read Only (SQL Point
Selects) MySQ
L 5.7
MySQ
L 5.6
MySQ
L 5.5
Intel(R) Xeon(R) CPU E7-8890 v3
4 sockets x 18 cores-HT (144 CPU threads)
2.5 Ghz, 512GB RAM
Linux kernel 3.16
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. |13
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. |14
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. |15
 PAM (Pluggable Authentication Modules) Plug-In
• Autenticação externa via métodos externos
• Interface padrão, funciona com Unix, LDAP, Kerberos, outros
• Proxy-users – mapeamento grupos de usuários para 1 usuário
 Windows Plug-In
• Acesso nativo via serviços do Windows
• Autentica usuários já logados no Windows (Single Sign On)
• Grupos/usuários do Windows Active Directory com Proxy-users
Integra o MySQL com a infraestrutura de segurança existente e
SOPs. Mais produtividade na gestão de usuários.
MySQL Enterprise Security
External Authentication Plug-Ins
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. |16
Authenticate
CREATE USER win_joe
IDENTIFIED WITH authentication_windows
AS ‘joe';
LDAP/AD
PAM /
Windows Auth
Usuário/senha definidos no diretório
Privilégios definidos no MySQL e
mapeados para usuários/grupos do diretório
MySQL Enterprise Security
External Authentication Plug-Ins
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. |17
MySQL Enterprise Audit
 Audit Plug-In
• Registro de conexões, logins, queries dos servidores MySQL
• Políticas definidas pelo DBA para filtragem e rotação de logs
• Habilitado ou desabilitado dinamicamente, sem reiniciar o
servidor
• Log em XML de acordo com especificação padrão Oracle Audit
• Requer MySQL 5.5.28 ou superior
• Implementado através MySQL 5.5 Audit API
Adiciona conformidade regulatória em aplicações MySQL:
HIPAA, Sarbanes-Oxley, PCI, etc.
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. |18
2. Usuário conecta-se e executa queries
MySQL Enterprise Audit
1. DBA habilita no Server1
Server1
3. Conexões e queries dos
usuários aparecem no log
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. |19
MySQL Enterprise Firewall
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. |20
MySQL Enterprise Encryption
Standards Based Cryptography
 MySQL encryption libraries
– Symmetric encryption 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, verification, & validation
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. |21
MySQL Enterprise Encryption
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. |22
90% Dos problemas de
performance.
Fonte: Oracle
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. |23
MySQL Enterprise Monitor 3.0
 Monitoramento em tempo real da
performance e disponibilidade
 Encontre e corrija problemas
visualmente
 Monitore discos e faça capacity
planning
 Comece a monitorar em 10 minutos
 Arquitetura que não exige agentes
 Agente remoto monitora SO
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. |24
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. |25
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. |26
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. |27
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. |28
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. |29
Advisors
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. |30
Capacity Planning
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. |31
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. |32
 Acesso direto 24 x 7 x 365
 Número ilimitado de incidentes
 Base de conhecimento
 Suporte Consultivo
 Tradução para o Português
 Hot Fixes para Bugs
 Releases de manutenção do MySQL
 Maior time de especialistas MySQL no mundo
 Suportados pelos próprios Desenvolvedores do MySQL
"The rep that assisted me was simply
outstanding. He immediately
recognized the cause of my problem
and provided the resolution.”
mysql.com/support/quotes
Oracle Premier Support para MySQL
Engenheiros MySQL como parte do seu time
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. |33
 Revisões: Queries, Schema, Particionamento, Replicação
 Performance Tuning
 Troubleshooting remoto
 Suporte remoto à instalação e upgrades
 Revisão de Código gerado pelo cliente: Stored Routines (Triggers,
Procedures, Functions), Client APIs, User Defined Functions, Server
Extensions
https://www.mysql.com/support/consultative.html
Suporte Consultivo MySQL
Portfolio de serviços
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. |34
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. |35
mysql.com/why-mysql/white-papers/mysql_wp_ha_strategy_guide.php
Escolhendo a melhor solução para sua
necessidade
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. |36
Aplicação
Replicação: Escalabilidade de Leituras e Alta
Disponibilidade
Master Slave A
Escritas & Leituras Leituras/Backup
Slave B Slave C
Leituras/Backup Homologação/DEV
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. |37
Por quê o MySQL? 10 Principais Razões
1. Escalabilidade e flexibilidade 6. Menor Custo benefício
2. Alta Performance 7. Segurança no Banco de Dados
3. Alta Disponibilidade 8. Desenvolvimento de aplicações
4. Suporte Robusto transacional 9. Administração Fácil
5. Seguro Web e Data Warehouse 10. Open Source e suporte 24 x 7
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. |38
Sumário
 Aplicações de missão crítica requerem cuidados especiais.
 O MySQL Enterprise Edition aumenta a disponibilidade, o
desempenho e a segurança destas aplicações.
 O time de engenheiros de suporte MySQL da Oracle aliado às
ferramentas e às soluções certificadas do MySQL Enterprise
Edition eleva a utilização do MySQL a um nível profissional.
Conte conosco!
MySQL Enterprise Edition
Perguntas?
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. |40
@MySQLBR
meetup.com/MySQL-BR
facebook.com/MySQLBR
Obrigado!

Apresentação MySQL Enterprise

  • 1.
  • 2.
    Copyright © 2013,Oracle and/or its affiliates. All rights reserved. |2 MySQL é estratégico para Oracle  Soluções Completas  #1 em todos os níveis da pilha  Cloud e On Premise  MySQL: Web, Mobile & Embedded  Investimentos na Engenharia do MySQL
  • 3.
    Copyright © 2013,Oracle and/or its affiliates. All rights reserved. |3 Strong MySQL Momentum Source: http://db-engines.com/en/ranking
  • 4.
    Copyright © 2013,Oracle and/or its affiliates. All rights reserved. |4 Alguns clientes MySQL
  • 5.
    Copyright © 2013,Oracle and/or its affiliates. All rights reserved. |5 MySQL Enterprise Edition
  • 6.
    Copyright © 2013,Oracle and/or its affiliates. All rights reserved. |6 MySQL Enterprise Edition Suporte + Backup + Monitor + Workbench + Plug-ins Escalabilidade Segurança Auditoria Criptografia Oracle Enterprise Manager for MySQL
  • 7.
    Copyright © 2013,Oracle and/or its affiliates. All rights reserved. |7 MySQL Enterprise Backup  Backup online para InnoDB, tamanho ilimitado  Backups automatizados: completos, incrementais, parciais  Compressão, Criptografia  Metadados de status, progresso e histórico  Compatível SBT, Oracle Secure Backup  Suporte Cloud (Amazon S3)  Point in Time Recovery, Parcial ou Completo  Multi-Plataforma: Windows, Linux, Unix MEB Backup Files MySQL Database Files mysqlbackup Backup e Recovery mais rápidos e online.
  • 8.
    Copyright © 2013,Oracle and/or its affiliates. All rights reserved. |8 MySQL Enterprise Backup Menor tempo em backups e restores, menos downtime
  • 9.
    Copyright © 2013,Oracle and/or its affiliates. All rights reserved. |9
  • 10.
    Copyright © 2013,Oracle and/or its affiliates. All rights reserved. |10
  • 11.
    Copyright © 2013,Oracle and/or its affiliates. All rights reserved. |11  Thread Pool Plug-In • Adiciona mais inteligência ao modelo padrão de gerenciamento de threads – agrupa e reutiliza • Modelo padrão, sem Thread Pool: 1 thread por conexão, performance excelente, mas limita a escalabilidade ao crescer o número de conexões de usuários • Com Thread Pool: reúso de threds, escala o número de conexões de usuários mantendo os mesmos níveis de performance • Implementado utilizando Thread Pool API Assegura desempenho melhor e sustentável, mesmo quando o número de usuários continua crescendo. MySQL Enterprise Scalability
  • 12.
    Copyright © 2013,Oracle and/or its affiliates. All rights reserved. |12 MySQL 5.7 Sysbench Benchmark: SQL Point Selects 3x Faster than MySQL 5.6 1,600,000 QPS 0 500.000 1.000.000 1.500.000 2.000.000 8 16 32 64 128 256 512 1.024 QueriesperSecond Connections MySQL 5.7: Sysbench OLTP Read Only (SQL Point Selects) MySQ L 5.7 MySQ L 5.6 MySQ L 5.5 Intel(R) Xeon(R) CPU E7-8890 v3 4 sockets x 18 cores-HT (144 CPU threads) 2.5 Ghz, 512GB RAM Linux kernel 3.16
  • 13.
    Copyright © 2013,Oracle and/or its affiliates. All rights reserved. |13
  • 14.
    Copyright © 2013,Oracle and/or its affiliates. All rights reserved. |14
  • 15.
    Copyright © 2013,Oracle and/or its affiliates. All rights reserved. |15  PAM (Pluggable Authentication Modules) Plug-In • Autenticação externa via métodos externos • Interface padrão, funciona com Unix, LDAP, Kerberos, outros • Proxy-users – mapeamento grupos de usuários para 1 usuário  Windows Plug-In • Acesso nativo via serviços do Windows • Autentica usuários já logados no Windows (Single Sign On) • Grupos/usuários do Windows Active Directory com Proxy-users Integra o MySQL com a infraestrutura de segurança existente e SOPs. Mais produtividade na gestão de usuários. MySQL Enterprise Security External Authentication Plug-Ins
  • 16.
    Copyright © 2013,Oracle and/or its affiliates. All rights reserved. |16 Authenticate CREATE USER win_joe IDENTIFIED WITH authentication_windows AS ‘joe'; LDAP/AD PAM / Windows Auth Usuário/senha definidos no diretório Privilégios definidos no MySQL e mapeados para usuários/grupos do diretório MySQL Enterprise Security External Authentication Plug-Ins
  • 17.
    Copyright © 2013,Oracle and/or its affiliates. All rights reserved. |17 MySQL Enterprise Audit  Audit Plug-In • Registro de conexões, logins, queries dos servidores MySQL • Políticas definidas pelo DBA para filtragem e rotação de logs • Habilitado ou desabilitado dinamicamente, sem reiniciar o servidor • Log em XML de acordo com especificação padrão Oracle Audit • Requer MySQL 5.5.28 ou superior • Implementado através MySQL 5.5 Audit API Adiciona conformidade regulatória em aplicações MySQL: HIPAA, Sarbanes-Oxley, PCI, etc.
  • 18.
    Copyright © 2013,Oracle and/or its affiliates. All rights reserved. |18 2. Usuário conecta-se e executa queries MySQL Enterprise Audit 1. DBA habilita no Server1 Server1 3. Conexões e queries dos usuários aparecem no log
  • 19.
    Copyright © 2013,Oracle and/or its affiliates. All rights reserved. |19 MySQL Enterprise Firewall
  • 20.
    Copyright © 2013,Oracle and/or its affiliates. All rights reserved. |20 MySQL Enterprise Encryption Standards Based Cryptography  MySQL encryption libraries – Symmetric encryption 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, verification, & validation
  • 21.
    Copyright © 2013,Oracle and/or its affiliates. All rights reserved. |21 MySQL Enterprise Encryption
  • 22.
    Copyright © 2013,Oracle and/or its affiliates. All rights reserved. |22 90% Dos problemas de performance. Fonte: Oracle
  • 23.
    Copyright © 2013,Oracle and/or its affiliates. All rights reserved. |23 MySQL Enterprise Monitor 3.0  Monitoramento em tempo real da performance e disponibilidade  Encontre e corrija problemas visualmente  Monitore discos e faça capacity planning  Comece a monitorar em 10 minutos  Arquitetura que não exige agentes  Agente remoto monitora SO
  • 24.
    Copyright © 2013,Oracle and/or its affiliates. All rights reserved. |24
  • 25.
    Copyright © 2013,Oracle and/or its affiliates. All rights reserved. |25
  • 26.
    Copyright © 2013,Oracle and/or its affiliates. All rights reserved. |26
  • 27.
    Copyright © 2013,Oracle and/or its affiliates. All rights reserved. |27
  • 28.
    Copyright © 2013,Oracle and/or its affiliates. All rights reserved. |28
  • 29.
    Copyright © 2013,Oracle and/or its affiliates. All rights reserved. |29 Advisors
  • 30.
    Copyright © 2013,Oracle and/or its affiliates. All rights reserved. |30 Capacity Planning
  • 31.
    Copyright © 2013,Oracle and/or its affiliates. All rights reserved. |31
  • 32.
    Copyright © 2013,Oracle and/or its affiliates. All rights reserved. |32  Acesso direto 24 x 7 x 365  Número ilimitado de incidentes  Base de conhecimento  Suporte Consultivo  Tradução para o Português  Hot Fixes para Bugs  Releases de manutenção do MySQL  Maior time de especialistas MySQL no mundo  Suportados pelos próprios Desenvolvedores do MySQL "The rep that assisted me was simply outstanding. He immediately recognized the cause of my problem and provided the resolution.” mysql.com/support/quotes Oracle Premier Support para MySQL Engenheiros MySQL como parte do seu time
  • 33.
    Copyright © 2013,Oracle and/or its affiliates. All rights reserved. |33  Revisões: Queries, Schema, Particionamento, Replicação  Performance Tuning  Troubleshooting remoto  Suporte remoto à instalação e upgrades  Revisão de Código gerado pelo cliente: Stored Routines (Triggers, Procedures, Functions), Client APIs, User Defined Functions, Server Extensions https://www.mysql.com/support/consultative.html Suporte Consultivo MySQL Portfolio de serviços
  • 34.
    Copyright © 2013,Oracle and/or its affiliates. All rights reserved. |34
  • 35.
    Copyright © 2013,Oracle and/or its affiliates. All rights reserved. |35 mysql.com/why-mysql/white-papers/mysql_wp_ha_strategy_guide.php Escolhendo a melhor solução para sua necessidade
  • 36.
    Copyright © 2013,Oracle and/or its affiliates. All rights reserved. |36 Aplicação Replicação: Escalabilidade de Leituras e Alta Disponibilidade Master Slave A Escritas & Leituras Leituras/Backup Slave B Slave C Leituras/Backup Homologação/DEV
  • 37.
    Copyright © 2013,Oracle and/or its affiliates. All rights reserved. |37 Por quê o MySQL? 10 Principais Razões 1. Escalabilidade e flexibilidade 6. Menor Custo benefício 2. Alta Performance 7. Segurança no Banco de Dados 3. Alta Disponibilidade 8. Desenvolvimento de aplicações 4. Suporte Robusto transacional 9. Administração Fácil 5. Seguro Web e Data Warehouse 10. Open Source e suporte 24 x 7
  • 38.
    Copyright © 2013,Oracle and/or its affiliates. All rights reserved. |38 Sumário  Aplicações de missão crítica requerem cuidados especiais.  O MySQL Enterprise Edition aumenta a disponibilidade, o desempenho e a segurança destas aplicações.  O time de engenheiros de suporte MySQL da Oracle aliado às ferramentas e às soluções certificadas do MySQL Enterprise Edition eleva a utilização do MySQL a um nível profissional. Conte conosco!
  • 39.
  • 40.
    Copyright © 2013,Oracle and/or its affiliates. All rights reserved. |40 @MySQLBR meetup.com/MySQL-BR facebook.com/MySQLBR Obrigado!