Upload
mysql-brasil
View
232
Download
2
Embed Size (px)
Citation preview
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
O MySQL é largamente utilizado motivo 1
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Grandes usuários MySQL
3
Web, Cloud, Distribuído e Embarcado…
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 4
Muitas foram start ups há poucos anos, começaram e cresceram com
MySQL
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 5
http://db-engines.com/en/ranking_trend (mar-2016)
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 6
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Componentes do TCO
Licença
Hardware
Operação
Pessoal
1
2
3
4
8
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Componentes do TCO
Licença
Hardware
Operação
Pessoal
1
2
3
4
9
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 10
http://mysql.com/tco
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Componentes do TCO
Licença
Hardware
Operação
Pessoal
1
2
3
4
11
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 12
www.youtube.com/watch?v=K0rXxKvS23Y
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
MySQL 5.7 Sysbench Benchmark: SQL Point Selects 3x Faster than MySQL 5.6
1,600,000 QPS
0
200,000
400,000
600,000
800,000
1,000,000
1,200,000
1,400,000
1,600,000
1,800,000
8 16 32 64 128 256 512 1,024
Qu
eri
es
pe
r Se
con
d
Connections
MySQL 5.7: Sysbench OLTP Read Only (SQL Point Selects)
MySQL 5.7
MySQL 5.6
MySQL 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 © 2015 Oracle and/or its affiliates. All rights reserved. |
Componentes do TCO
Licença
Hardware
Operação
Pessoal
1
2
3
4
14
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 16
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
• Simples & Automatizado
• Integrado
• Oracle Premier Support
• Enterprise Backup, Monitor, Security
17
Novo! MySQL Cloud Service
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
MySQL é o banco de dados padrão no OpenStack
Source: http://superuser.openstack.org/articles/openstack-user-survey-insights-november-2014
18
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
MySQL no Docker Introdução ao conceito de MySQL rodando em Linux Containers
• [blog post] http://www.alastori.com.br/2015/03/mysql-no-docker.html
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Componentes do TCO
Licença
Hardware
Operação
Pessoal
1
2
3
4
20
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 22
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 23
Treinamentos e Certificações
MySQL 5.6 Database Administrator MySQL 5.6 Developer
education.oracle.com/mysql
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
MySQL Enterprise Edition Suporte + Backup + Monitor + Workbench + Plug-ins
Escalabilidade Segurança
Firewall Auditoria
Criptografia
Oracle Enterprise Manager for MySQL
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 26
Condições do Mercado na era da Transformação Digital
Fonte: Forrester – Advance to Next Generation Personalization, 2014
Difícil reters clientes e parceiros
Maior complexidade e
pressão nos custos
“Commoditização” e menores barreiras de
entrada de competidores
?
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 27
A questão essencial de Cloud para empresas mudou nos últimos 3 anos de “devemos migrar?” para “o quê e onde?”
Fonte: Sheridan Nye, Principal Analyst, Frost & Sullivan
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Fatos
Oracle Confidential – Internal/Restricted/Highly Restricted 29
Empresas na Web inovam ou morrem
A Web é Open Source porque precisa inovar com agilidade
O MySQL é o banco #1 na Web
Os requisitos da Web orientam a evolução do MySQL
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Standalone
Clusterizado
Oracle Confidential – Internal/Restricted/Highly Restricted 30
Duas visões sobre a evolução do MySQL
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Standalone
Clusterizado
Oracle Confidential – Internal/Restricted/Highly Restricted 31
Duas visões sobre a evolução do MySQL
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Novidades no core do MySQL 5.7 para acelerar a inovação
• MySQL como Document Store: schemaless com o poder das consultas SQL
• Mais operações online
• Mais eficiência em lidar com conexões simultâneas
• Mais performance e escalabilidade em arquiteturas multi-core
• Mais otimizações para trabalhar com SSD
• Facilidade no debug e gerenciamento com Sys e Performance Schemas
• Melhores planos de execução com novo otimizador baseado em custo
• Mais segurança por defatult e criptografia transparente
Oracle Confidential – Internal/Restricted/Highly Restricted 32
https://www.mysql.com/why-mysql/white-papers/whats-new-mysql-5-7
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Standalone
Clusterizado
Oracle Confidential – Internal/Restricted/Highly Restricted 33
Duas visões sobre a evolução do MySQL
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Evaluated several alternatives & selected MySQL: Very low latency variations, optimized with Flash, proven technology at Facebook.
Highly valued the new MySQL 5.6 features: GTIDs & Multi-threaded Slaves improving write scalability, and leverages semi-synchronous replication, improving reliability.
New IRIS application in production handling several millions of mobile to mobile messages/sec.
“No Data Loss” system and 10X improvement in write scalability.
Implement new messaging system to improve mobile to mobile communications management.
User facing application with the following requirements:
Very high reliability
Very low response times
Consistency across devices
Challenges Solution
Benefits
Novo sistema de mensagens Mobile to Mobile
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 35
A colaboração com o Suporte e Engenharia da Oracle permite colocar novos produtos em produção muito mais rápido e escalar a operação para níveis globais.
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Usa MySQL como NoSQL
eng.uber.com/schemaless-part-one
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 37
Replicação: base para usos incríveis do MySQL
Master
Slaves
Web / App Servers
Writes & Reads Reads
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 38
Replicação Multi-Source: mais flexibilidade nas topologias
Binlog
Master 1
Binlog
Master 2
…
…
Binlog
Master N
IO 1
Relay 1
Coordinator
W1 W2 … WX
IO 2
Relay 2
Coordinator
W1 W2 … WX
…
…
Coordinator
W1 W2 … WX
IO N
Relay N
Coordinator
W1 W2 … WX
Slave
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 39
MySQL InnoDB Cluster: multi-master Ativo-Ativo
Router
App
Virtually Synchronous Replication
App App
labs
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 40
MySQL Cluster: escalabilidade de escritas via auto-sharding
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Características do MySQL Cluster
41
• workloads transacionais (OLTP, ACID)
• disponibilidade de 99,999% e replicação geográfica ativo-ativo
• escalabilidade praticamente linear (inclusive de escritas)
• capacidade de atender dezenas de milhares de transações por segundo
• tempos de respostas consistentes da ordem de milésimos de segundo (in-memory systems)
• desenvolvido, mantido e com suporte da Oracle
http://dev.mysql.com/doc/refman/5.7/en/mysql-cluster.html
http://www.mysql.com/why-mysql/benchmarks/mysql-cluster
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
MySQL Cluster 7.2: 1.2 Billion UPDATEs por Minuto
• NoSQL C++ API, flexaSynch benchmark
• 30 x Intel E5-2600 Intel Servers, 2 socket, 64GB
• ACID Transactions, with Synchronous Replication
http://www.mysql.com/why-mysql/white-papers/mysql-cluster-benchmarks-1-billion-writes-per-minute/ 0
5
10
15
20
25
2 4 6 8 10 12 14 16 18 20 22 24 26 28 30
Milh
õe
s d
e U
PD
ATE
s p
or
Segu
nd
o
MySQL Cluster Data Nodes
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Company Overview PayPal allows any business or individual with an email address to securely, conveniently and cost-effectively send and receive payments online.
Application PayPal built a cloud-based globally-distributed database with 100 TB of user-related data based on MySQL Cluster. “Must NOT lose data” system, delivering 99,999% availability, transactional, with data available WW anywhere in < 1 Sec. Why MySQL Cluster? “You can achieve high performance and availability without giving up relational models and read consistency.” Daniel Austin, Chief Architect, PayPal
PayPal
09/11/2016 Copyright 2015, Oracle and/or its affiliates. All rights reserved 43
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 45
Se o software tem mais tempo de desenvolvimento e é largamente
utilizado, menor a probabilidade de falhar em funções básicas.
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Histórico
2001: primeira release estável do MySQL Database
lançada pela MySQL AB
2003: MySQL AB adquire a Alzato,
spin-off da Ericsson, criadora
do NDB Cluster
2005: Oracle adquire a
Innobase Oy, ciradora do
InnoDB
2008: Sun Microsystems
adiquire a MySQL AB
2010: Oracle adquire a Sun Microsystems
46
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Oracle elevando o nível Um MySQL cada vez melhor
2x Engineering Staff
3x QA Staff
2x Support Staff
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Evolução da escalabilidade vertical do MySQL
Read-only Read-write
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
“We had an unexpected loss of data on nearly every technology we used at one time or another, except MySQL.”
– Pinterest Engineering
Oracle Confidential – Internal/Restricted/Highly Restricted 49
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Sistema de workflow para processos judiciais dos estados de RS, PR e SC, desenvolvido internamente com MySQL+PHP
Infraestrutura implementada com alta-disponibilidade, segurança e escalabilidade incremental
Mais de 25 milhões de documentos com picos de acesso de 3,5 mil usuários simultâneos em 2012.
Facilidade no desenvolvimento e administração, compartilhando com sucesso o código com outras entidades públicas.
Gerenciar milhões de documentos digitais, provendo acesso seguro via Internet aos juízes, procuradores, advogados e envolvidos.
Manter histórico em repositório confiável.
Arquitetura ágil baseada em tecnologias consolidadas que possam prover alto nível de disponibilidade.
Desafios Solução
Benefits
Confiança no MySQL
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
MySQL Enterprise Secutiry
• External Authentication Plugins
• Delega autenticação para diretório de usuários, como AD, LDAP
• Linux e Windows
MySQL Enterprise Firewall
• Bloqueio online de ameaças
• Transparente para Aplicação
• Alertas & Logs
Oracle Confidential – Internal/Restricted/Highly Restricted 52
MySQL Enterprise Audit
• Implementa logs de auditoria com um único comando de instalação
• Flexibilidade na configuração
• Aderente às principais normas de regulação
MySQL Enterprise Encryption & TDE
• Funções de Criptografia Assimétrica via SQL
• Criptografia Transparente dos Dados
• Gerenciamento de Certificados
Plugins para aumentar Segurança
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Sumário
1. #1 no mundo Open Source
2. Baixo Custo
3. Inovação
4. Solução madura
5. Seguro
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 54 cloud.oracle.com/mysql
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Obrigado!
Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Perguntas?
5 razões estratégicas para usar MySQL Contato: [email protected] twitter.com/mysqlbr facebook.com/mysqlbr