Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

61
Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 1

description

Desenvolvedores e administradores de bancos de dados (DBAs) do MySQL constantemente enfrentam desafios para proteger, otimizar e manter seus aplicativos MySQL, acompanhando a expansão das necessidades comerciais e dos SLAs (contratos de nível de serviço) em novos casos de uso baseados na web e na nuvem. Participe desta sessão e obtenha uma visão geral dos avançados recursos do MySQL Enterprise Edition que oferecem os mais altos níveis de segurança, desempenho e disponibilidade para todas as implantações do MySQL. Esta sessão vai explorar recursos avançados de:• Segurança e auditoria• Desempenho, escalabilidade, análise de consultas e ajuste.• Backup/recuperação• Design, desenvolvimento e implantação de aplicativos• Gerenciamento de MySQL e Oracle com um conjunto de ferramentas comuns

Transcript of Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Page 1: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 1

Page 2: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 2

Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Airton Lastori

[email protected]

Henrique Leandro

[email protected]

Page 3: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 3

The following is intended to outline our general product direction. It is

intended for information purposes only, and may not be incorporated

into any contract. It is not a commitment to deliver any material, code,

or functionality, and should not be relied upon in making purchasing

decision. The development, release, and timing of any features or

functionality described for Oracle’s products remains at the sole

discretion of Oracle.

Safe Harbor Statement

Page 4: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 4

Agenda

Oracle e MySQL

Portfolio MySQL

Disponibilidade, Desempenho e Segurança

Perguntas?

Page 5: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 5

Page 6: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 6

Alguns clientes MySQL

Page 7: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 7

Alguns clientes MySQL

fonte: alexa.com/topsites 10-out-2012

Page 8: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 8

MySQL: casos de sucesso

+ de 20 indústrias

mysql.com/customers

Page 9: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 9

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

Page 10: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 10

MySQL Database Community Server

MySQL Cluster

MySQL Workbench

• MySQL Migration Wizard

• MySQL Utilities em Python

MySQL Connectors

MySQL Proxy

Documentação não GPL

Forums, Lists, Bugs, Blogs…

Compromisso Oracle com MySQL Community Portfólio disponível para download e uso sob GPL

Page 11: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 11

2008 2009 2010 2012

Up to 4 CPU

MySQL 5.0

Up to 16 CPU

(Sun Micro)

MySQL 5.1 (InnoDB

Plugin)

Up to 32 CPU

(Oracle)

MySQL 5.5

Up to 48 CPU

MySQL 5.6

Evolução da escalabilidade do MySQL

Page 12: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 12

Sysbench

32-core

Mesmo Hardware

Tuning ótimo

Benchmarks MySQL 5.5 vs 5.6

Page 13: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 13

Sysbench

32-core

Same Hardware

Optimal Tuning

Sysbench

32-core

Mesmo Hardware

Tuning ótimo

Benchmarks MySQL 5.5 vs 5.6

Page 14: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 14

Novidades MySQL 5.6: resumo •Performance: +234% para Leituras e +151% para Escritas, SSD

•Escalabilidade: 48 cores

•Flexibilidade: Memcached API, Full Text

•Disponibilidade: mudanças online no schema, export/import tablespaces

InnoDB

•Performance: até centenas de vezes mais rápido em alguns cenários, estatísticas persistentes

• Instrumentação: EXPLAINS com traces e para UPDATES e DELETES Otimizador

•Performance: ganhos de 2x a 5x com paralelismo e group commit

•Flexibilidade: novas topologias e rastreabilidade com GTIDs

•Disponibilidade: automatização de failover e recovery Replicação

•PERFORMANCE_SCHEMA mais completa Instrumentação

•Segurança

•Facilidade de uso

•Flexibilidade

• ...E MAIS...

Outras melhorias

dev.mysql.com/tech-resources/articles/mysql-5.6-rc.html

Page 15: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 15

Novo! Migração de SQL Server,

Sybase, PostgreSQL para MySQL

Database Design

Visual Design, modelagem

Engenharia Reversa/Forward

Validação e Documentação do Schema

SQL Development SQL Editor - Syntax Highlighting

Objects - Import/Export, Browse/Edit

Database Administration

Config., Status, Start/Stop

Users, Sessions, GRANTs

Dump Import/Export

mysql.com/why-mysql/white-papers/mysql-wp-workbench.php

MySQL Workbench 5.2

Page 16: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 16

Oracle Premier Lifetime Support

Oracle Product Certifications/Integrations

MySQL Enterprise High Availability

MySQL Enterprise Security

MySQL Enterprise Scalability

MySQL Enterprise Backup

MySQL Enterprise Monitor/Query Analyzer

MySQL Workbench

MySQL Enterprise Edition Maior produtividade e mitigação de riscos

MySQL Enterprise Audit

Page 17: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 17

us

uári

os / d

ep

en

dên

cia

TI cria um website e Data

Mart para o dep. de

vendas para controle de

pedidos e renovações

O web site começa a gerar a

maioria dos pedidos, os

gestores são adicionados

como usuários de BI, dados

contábeis são adicionados ao

Data Mart

“missão crítica”

O web site é responsável

por praticamente todos

novos pedidos, o Data

Mart está consumindo e

produzindo informação

para vários sistemas

usados por toda

empresa, todos os dias

dia 1 6 meses 1 ano

“bom ter”

Evolução das aplicações

Ponto de inflexão onde o

que era “bom ter” passa

a ser “missão crítica”

Page 18: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 18

us

uári

os / d

ep

en

dên

cia

“Eu vou corrigir sozinho”

Investimento de tempo,

mas poupa dinheiro e

tolera riscos

“Eu vou contratar mais DBAs”

Investe ainda mais tempo,

poupa menos dinheiro e não

pode correr tantos riscos

Sem tempo “livre”

“Precisamos de ajuda!”

O time técnico precisa

de ajuda, não há

tolerância a grandes

riscos, desicão por

investir dinheiro.

dia 1 6 meses 1 ano

Tempo “livre”

Qual o custo?

1min de indisponibilidade

= PREJUÍZO $

Page 19: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 19

Otimizações

Disponibilidade

Desempenho

Segurança

3 questões para tratar

com o MySQL Enterprise

Page 20: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 20

Otimizações

Disponibilidade

Desempenho

Segurança

3 questões para tratar

com o MySQL Enterprise

Page 21: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 21

Por que há indisponibilidade não planejada?

gartner.com/DisplayDocument?id=334197

Page 22: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 22

Reduzindo indisponibilidade

soluções

certificadas

Page 23: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 23

MySQL 5.6 Replication

Windows Cluster

Solaris Cluster

Oracle VM Template

DRBD

MySQL Cluster

MySQL com Alta-disponibilidade Soluções Certificadas pela Oracle

mysql.com/why-mysql/white-papers/mysql_wp_ha_strategy_guide.php

Page 24: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 24

Aplicação

Master Slave

• Modelo assíncrono (padrão)

• Modelo semi-síncrono (a partir da versão 5.5)

Escritas & Leituras

Replicação MySQL

Page 25: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 25

Aplicação

Master Slave

• Master down

• Slave promovido para Master

Escritas & Leituras

MySQL failover

Page 26: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 27

Permite self-healing

Failover & recovery automatizado

- mysqlfailover (Utilitário)

Switchover & administração

- mysqlrpladmin (Utilitário)

Alta disponibilidade com MySQL core

- Elimina necessidade de soluções de

terceiros

- Fácil de estender

HA Utilities Monitoramento

Master

Falhou

Slaves

Slave

Promovido

para Master

Replicação no MySQL 5.6 Replication HA Utilities (Python)

Page 27: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 28

Opção nativa do Windows certificada para MySQL Enterprise

Para Falhas ou Manutenção Planejada

Cluster gerenciado pela interface snap-in MS Failover Cluster

Management*, não requer scripts customizados

Perda de serviço = alguns segundos + tempo de recovery do

InnoDB:

• Aplicação vê temporariamente uma perda de conexão e reconecta no

mesmo IP

• Slave na Replicação recupera-se automaticamente

Quorum (3o voto), dados (InnoDB + schema) & binários (opcional)

em armazenamento compartilhado

• teste com iSCSI & FCAL

*suporte técnico do componente MS Failover Cluster Management deve ser contratado da Microsoft

App

Virtual IP

Data Bin

Slave App App

Vote

Windows Server Failover Clustering

mysql.com/why-mysql/white-papers/mysql_wp_windows_failover_clustering.php

Page 29: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 30

Oracle VM Servers

Oracle VM Server Pool

ocfs2

Oracle VM

Manager

SAN / iSCSI

Secure Live

Migration (SSL)

Oracle

VM

Automatic Fault

Detection &

Recovery

Oracle

VM

mysql.com/why-mysql/white-papers/mysql_wp_oracle-vm-template-for-mee.php

• Oracle Linux

• Oracle VM

• Oracle VM Template for MySQL EE

• Oracle Cluster File System 2

(OCFS2)

• MySQL Database 5.5 Enterprise

Edition

Pré-instalado & Configurado

Integrado & Testado

Suporte de um único fornecedor

Oracle VM Template for MySQL Enterprise

Page 30: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 31

mysql.com/why-mysql/white-papers/mysql_wp_drbd.php

• Certificado e completamente suportado pela

Oracle

• DRBD integrado ao Oracle Linux Unbreakable

Enterprise Kernel R2

• Pacemaker e Corosync para clustering &

failover

• Updates na pilha via ULN channel

• Baseado em storage distribuído, não requer

SAN

• Replicação síncrona elimina o risco de perda

de dados

• Maduro & já utilizado em muitos casos

Oracle Linux + DRBD Stack

Page 31: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 32

Data Nodes

Application Nodes

Management Management

MySQL Cluster

Clients

Performance OK

Escalabilidade OK

Alta-Disponibilidade OK

Facilidade de Uso OK

SQL/Joins OK

Transações ACID OK

Page 32: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 33

Soluções certificadas MySQL HA: resumo

MySQL 5.6

Replication

Windows

Cluster

Solaris

Cluster

Oracle VM

Template DRBD

MySQL

Cluster

Nível de disponibilidade 99.9% 99.95% 99.99% 99.99% 99.99% 99.999%

Auto-Failover ✔ ✔ ✔ ✔ ✔ ✔

Sem perda de dados

durante failover ✔

Semi-Sync ✔ ✔ ✔ ✔ ✔

Plataformas suportadas All Windows Solaris Linux Linux All

Modo de clusterização Master +

Slaves

Active /

Passive

Active /

Passive

Active /

Passive

Active /

Passive

Multi-

Master

Dispensa Shared Storage ✔ ✖ ✖ ✖ ✔ ✔

Ponto único de suporte ✔ ✖ ✔ ✔ ✔ ✔

mysql.com/why-mysql/white-papers/mysql_wp_ha_strategy_guide.php

Page 33: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 34

Reduzindo indisponibilidade

+automação

+conhecimento

+automação

+ferramentas

Page 34: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 35

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

Page 35: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 36

Um assistente virtual dos DBAs

Visão centralizada e global do ambiente MySQL

Monitoramento e alertas automatizados, baseados em regras (integra via SMTP, SNMP)

Captura e análise de query para tuning, correlação com gráficos de monitoramento

Monitoramento visual de aplicações/servidores mais importantes

Monitoramento da replicação em tempo real, descoberta automática das topologias

Integrado com My Oracle Support

MySQL Enterprise Monitor

Page 36: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 37

mais de 80 gráficos + gráficos personalizados

mais de 170 regras + regras personalizadas

Page 37: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 38

MySQL Query Analyzer

Monitoramento centralizado de queries lentas

Dispensa o uso de Slow Query Log, SHOW PROCESSLIST

Visão agregada das estatísticas de queries: counts, time, rows

Navegação visual através dos gráficos e histórico

Rastreabilidade da query até o código-fonte da aplicação

Alimentado via Connectors (Java, .Net, PHP) ou MySQL Proxy

Page 38: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 39

Page 39: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 40

Da Query ao Código-fonte

Exemplo execução de query com substituição de variável

Rastreamento do ponto de origem da query no código-fonte

EXPLAIN da execução

Page 40: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 41

Auto-detecção das topologias, agrupando Master/Slaves

Verificação em tempo real e consolidada do status e sincronização

Notificações no caso de problemas de sincronização

Pró-ativo vs reativo

Monitoramento Automatizado da Replicação

Page 41: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 42

MySQL Enterprise Backup

Backup online para InnoDB

Backups completos, incrementais, parciais (automatizados via script)

Compressão

Opções de Recovery: Point in Time, Completo, Parcial

Metadados de status, progresso e histórico

Tamanho ilimitado do BD

Multi-Plataforma

Windows, Linux, Unix

Certificado para Oracle Secure Backup, compatível SBT

MEB Backup

Files

MySQL Database

Files

mysqlbackup

Backup e Recovery mais rápidos e online.

Page 42: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 43

Otimizações

Disponibilidade

Desempenho

Segurança

3 questões para tratar

com o MySQL Enterprise

Page 43: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 44

MySQL Enterprise Edition ComThread Pool

MySQL Community Server Sem Thread Pool

20x Melhor Escalabilidade comThread Pool

0

1.000

2.000

3.000

4.000

5.000

6.000

7.000

8.000

Tra

ns

õe

s p

or

se

gu

nd

o

Conexões Simultâneas no Banco de Dados

MySQL 5.5 Sysbench OLTP Leitura/Escrita

MySQL 5.5.16

Oracle Linux 6.1, Unbreakable Kernel 2.6.32

2 sockets, 24 cores, 2 X 12-core

Intel(R) Xeon(R) X5670 2.93GHz CPUs

72GB DDR3 RAM

2 X LSI SCSI Disk (MR9261-8i) (597GB)

Thread Pool habilitado/desabilitado

Page 44: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 45

MySQL Enterprise Edition ComThread Pool

MySQL Community Server SemThread Pool

3x Melhor Escalabilidade com Thread Pool

MySQL 5.5.16

Oracle Linux 6.1, Unbreakable Kernel 2.6.32

2 sockets, 24 cores, 2 X 12-core

Intel(R) Xeon(R) X5670 2.93GHz CPUs

72GB DDR3 RAM

2 X LSI SCSI Disk (MR9261-8i) (597GB)

0

2.000

4.000

6.000

8.000

10.000

12.000

Tra

ns

õe

s p

or

se

gu

nd

o

Conexões Simultâneas no Banco de Dados

MySQL 5.5 Sysbench OLTP Apenas Leitura

Thread Pool habilitado/desabilitado

Page 45: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 46

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

Page 46: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 47

Otimizações

Disponibilidade

Desempenho

Segurança

3 questões para tratar

com o MySQL Enterprise

Page 47: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 48

2. Usuário conecta-se e executa queries no Server1

MySQL Enterprise Audit

1. DBA habilita no Server1 Server1

3. Conexões e queries dos usuários aparecem no log

Page 48: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 49

MySQL Enterprise Audit

Audit Plug-In

• Log 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.

Page 49: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 50

Authenticate

CREATE USER win_joe

IDENTIFIED WITH authentication_windows

AS ‘joe';

Usuário/senha definidos no diretório

Privilégios definidos no MySQL e

mapeados para usuários/grupos do diretório

PAM /

Windows Auth LDAP/AD

MySQL Enterprise Security External Authentication Plug-Ins

Page 50: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 51

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 e políticas existentes. Mais produtividade na gestão de usuários.

MySQL Enterprise Security External Authentication Plug-Ins

Page 51: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 52

Oracle Premier Lifetime Support

Oracle Product Certifications/Integrations

MySQL Enterprise High Availability

MySQL Enterprise Security

MySQL Enterprise Scalability

MySQL Enterprise Backup

MySQL Enterprise Monitor/Query Analyzer

MySQL Workbench

MySQL Enterprise Edition

MySQL Enterprise Audit

Capacidade de expandir e gerenciar o MySQL com ferramentas/soluções Oracle que você já conhece ou utiliza.

Page 52: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 53

• Oracle Linux

• Oracle VM

• Oracle VM Template for MySQL

Enterprise Edition

• Oracle GoldenGate

• Oracle Secure Backup

• Oracle Database Firewall

• My Oracle Online Support

Soluções integradas e certificadas: mais valor agregado.

MySQL Enterprise Oracle Certifications

Page 53: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 54

• WebLogic Server

• Database Adapter for Oracle SOA Suite **

• Oracle Business Process Management **

• Oracle Virtual Directory

• Oracle Data Integrator

• Oracle Enterprise Performance Management **

• Oracle Identity Analytics

• Open SSO STS, Open SSO Fedlet

• Todos já incluem MySQL 5.x JDBC driver

** MySQL como opção de Metadata Repository

MySQL Enterprise Oracle Certifications

Page 54: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 55

Oracle Fusion MiddleWare

- WebCenter Suite

- Enterprise Content Management

- Oracle Business Intelligence Suite

Oracle Clusterware

Oracle Audit Vault

Oracle Enterprise Manager

E Mais…

MySQL Enterprise Oracle Certifications Em progresso

Page 55: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 56

MySQL Boot Camp

Accelerated

MySQL Performance

Tuning Boot Camp

Accelerated

MySQL for Begginers

MySQL for Database

Administrators

MySQL Performance

Tuning

MySQL High Availability

MySQL Cluster

MySQL DBA

MySQL Boot Camp

Accelerated

MySQL for Developers

MySQL Performance

Tuning Boot Camp

Accelerated

MySQL for Begginers

MySQL and PHP

Developing Dynamic

Web Applicationg

MySQL Advanced Stored

Procedures

MySQLDeveloper

mysql.com/training

Certificações

Opcional Necessário

Treinamentos e certificações

Page 56: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 57

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

Page 57: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 58

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!

Page 58: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 59

@MySQLBR

meetup.com/MySQL-BR

facebook.com/MySQLBR

Obrigado!

Page 59: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 60

Page 60: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 61

Page 61: Otimizando a segurança, o desempenho e a disponibilidade com o MySQL Enterprise Edition

Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 62

Graphic Section Divider