mysql enterprise edition portfolio
DESCRIPTION
O queTRANSCRIPT
MySQL Enterprise Edition
Airton Lastori set-2014
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. | 3
Agenda Estratégia Oracle para MySQL
MySQL 5.6 – novidades
Pacote MySQL Enterprise Edition
– MySQL Enterprise Monitor 3.0
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. | 4
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. | 5
Compromisso Oracle com MySQL
https://blogs.oracle.com/MySQL/entry/mysql_connect_keynotes_and_news
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. | 6
Alguns clientes MySQL
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. | 7
@MySQLBR
meetup.com/MySQL-BR
facebook.com/MySQLBR
MySQLBR
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. | 8
Melhorias no MySQL 5.6
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. | 9
2008
até 4 CPU
MySQL 5.0
MySQL AB
até 16 CPU
MySQL 5.1
Sun
até 32 CPU
MySQL 5.5
Oracle
até 48 CPU
MySQL 5.6
Evolução da escalabilidade do MySQL
2009 2010 2013
Atualize o MySQL e use InnoDB.
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. | 10
Enterprise Management
Services and Utilities
Backup & Recovery
Monitor
Workbench
Utilities
Connection Pool, SQL Interface, Parser, Optimizer, Caches
Clients & Connectors Native C API, JDBC, ODBC, .Net, PHP, Ruby, Python, VB, Perl mysqld
Clients and Apps
Arquitetura MySQL Server
Storage Engines
InnoDB, MyISAM, Memory, Archive, Cluster (NDB API), etc…
Filesystems, Files & Logs
Data, Index, Logs…
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. | 11
Default Storage Engine InnoDB
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. | 12
Storage Engines
MyISAM InnoDB NDB Cluster
Transações ✖ ✔ ✔
Nível de Lock Tabela Linha Linha
Replicação Assíncrona ou
Semi-síncrona
Assíncrona ou
Semi-síncrona, crash-safe
Síncrona, Multi-master,
crash-safe sem SPOF
Foreign Keys ✖ ✔ ✔
Full-text indexes ✔ ✔ ✖
Compressão de dados somente Leitura ✔ ✖
Caches somente Índices Dados e Índices Dados e Índices
Suporte Geoespacial Tipos de Dados e Índices Somente Tipos de Dados somente Tipos de Dados
Limite de armazenamento 256TB 64TB 384EB (~3TB em RAM)
dev.mysql.com/doc/refman/5.6/en/storage-engines.html
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. | 13
MySQL 5.5.28
MySQL 5.6.7
+234% Ganhos de Performance
0
2.000
4.000
6.000
8.000
10.000
12.000
14.000
16.000
18.000
32 64 128 256 512
Tra
nsaçõ
es p
or
Seg
un
do
Conexões
MySQL 5.6 vs. 5.5 - Leituras (Linux)
Oracle Linux 6
Intel(R) Xeon(R) E7540 x86_64
MySQL leveraging:
- 48 of 96 available CPU threads
- 2 GHz, 512GB RAM
Performance MySQL 5.6: InnoDB SysBench Benchmarks
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. | 14
MySQL 5.5.28
MySQL 5.6.7
+151% Ganhos de Performance
0
2.000
4.000
6.000
8.000
10.000
12.000
32 64 128 256 512 Tra
nsaçõ
es p
or
Seg
un
do
Conexões
MySQL 5.6 vs. 5.5 – Escritas+Leituras (Linux)
Oracle Linux 6
Intel(R) Xeon(R) E7540 x86_64
MySQL leveraging:
- 48 of 96 available CPU threads
- 2 GHz, 512GB RAM
Performance MySQL 5.6: InnoDB SysBench Benchmarks
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. | 15
60x Melhor Escalabilidade comThread Pool
MySQL 5.6.11
Oracle Linux 6.3, Unbreakable Kernel 2.6.32
4 sockets, 24 cores, 48 Threads
Intel(R) Xeon(R) E7540 2GHz CPUs
512GB DDR3 RAM
Thread Pool habilitado/desabilitado
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. | 16
18x Melhor Escalabilidade com Thread Pool
Thread Pool habilitado/desabilitado
MySQL 5.6.11
Oracle Linux 6.3, Unbreakable Kernel 2.6.32
4 sockets, 24 cores, 48 Threads
Intel(R) Xeon(R) E7540 2GHz CPUs
512GB DDR3 RAM
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. | 17
Mais Instrumentação no MySQL 5.6 PERFORMANCE_SCHEMA: baixa sobrecarga e ligado por padrão
Statements/Stages
Quais queries mais custosas? Quando elas gastam tempo?
Table/Index I/O, Table Locks
Quais tabelas/índices causam maior carga e/ou contenção?
Network I/O
Qual o comportamento de carga de rede? Quanto tempo as sessões ficam
ociosas?
Users/Hosts/Accounts
Quais usuários/hosts/contas consomem mais recursos?
Summaries
Estatísticas agregadas, agrupadas por thread, user, host, account ou object
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. | 18
MySQL Workbench 6.1 Dashboards: Performance & Status
Analyze hotspots, costly SQL statements, wait
times, locks, InnoDB stats, and more
Network, Server, InnoDB
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. | 19
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. | 20
Novas configurações padrão, mais adequadas ao hardware atual
Particionamento melhorado
import/export
mais capacidade e performance
seleção explícita
Backup remoto do Binlog
Slaves com atraso programado
Identificador único universal para servidor (server UUID)
TIME/TIMESTAMP/DATETIME
precisão de fração de segundo
CURRENT_TIMESTAMP default /auto update
TIMESTAMP nullable por padrão
GIS: operações espaciais precisas
E MAIS...
Outras melhorias no MySQL 5.6 Mais facilidade de uso e flexibilidade
mysql.com/why-mysql/white-papers/whats-new-mysql-5-6
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. | 21
MySQL Enterprise Edition
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. | 22
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. | 23
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. | 24
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. | 25
MySQL Enterprise Backup Menor tempo em backups e restores, menos downtime
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
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. | 29
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. | 30
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. | 31
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. | 32
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. | 33
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. | 34
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. | 35
Single Dashboard to manage Oracle stack for Web & Cloud
An estimated 70% of Oracle customers also use MySQL
– For Web, custom, departmental and embedded applications
– #1 Requested integration
Oracle Enterprise Manager for MySQL
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. | 36
Performance Security
Availability
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. | 37
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. | 38
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. | 39
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. | 40
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. | 41
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. | 42
Explain Query
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. | 43
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. | 44
QRTi Query Response Time Index
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. | 45
Eventos
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. | 46
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. | 47
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. | 48
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. | 49
Advisors
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. | 50
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. | 51
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. | 52
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. | 53
Capacity Planning
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. | 54
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. | 57
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. | 58
MySQL for
Beginners Ed 3
MySQL for Database
Administrators Ed 3.1
MySQL Performance
Tuning
MySQL High Availability
MySQL Cluster
MySQL DBA
Introduction to
MySQL 5.5
MySQL Developers
Techniques
MySQL for
Beginners Ed 3
MySQL and PHP
Developing Dynamic
Web Applications
MySQL for Developers
Ed 2
MySQL Advanced Stored
Procedures
MySQLDeveloper
education.oracle.com/mysql
Opcional
Necessário
Treinamentos e certificações
Oracle Certified
Professional, MySQL 5.6
DBA
Oracle Certified Expert,
MySQL Cluster DBA
Certificações
Oracle Certified
Professional, MySQL 5.6
Developer
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. | 59
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!
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. | 60
Downloads & Trials
dev.mysql.com
labs.mysql.com
edelivery.oracle.com
Documentação, Blogs & Fóruns
dev.mysql.com/doc
planet.mysql.com
forums.mysql.com
Artigos & Casos de Sucesso
mysql.com/why-mysql/white-papers
mysql.com/customers
Aprenda mais
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. | 61
@MySQLBR
meetup.com/MySQL-BR
facebook.com/MySQLBR
Obrigado!
MySQL Enterprise Edition
Perguntas?