Mais conteúdo relacionado Semelhante a 10 Razões para Usar MySQL em Startups (20) Mais de MySQL Brasil (20) 10 Razões para Usar MySQL em Startups1. 10 razões para usar
MySQL em Start Ups
Airton Lastori
airton.lastori@oracle.com
Abril-2017
2. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 2
http://db-engines.com/en/ranking_categories
183NoSQL
12categorias
3. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 3
Objetivo:
Ajudar a escolher uma boa tecnologia
de armazenamento de dados para seu
novo projeto.
4. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
MySQL: evolução com foco nas necessidades dos usuários
4
Web, Cloud, Distribuído e Embarcado…
5. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 5
Todas foram start ups há poucos anos,
começaram e cresceram com MySQL
6. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 6
7. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 7
Hoje continuamos com muitos
motivos para começar com MySQL.
Vamos aos 10 principais.
8. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
O MySQL continua cool
motivo 1
9. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 9
NoSQL são legais, mas não deixe de
acompanhar as novidades do MySQL.
(inclusive funções NoSQL)
10. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Oracle elevando o nível
Um MySQL cada vez melhor, 5 anos de investimento
2x Engineering Staff
3x QA Staff
2x Support Staff
11. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Código-fonte no GitHub
github.com/mysql
12. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
dev.mysql.com
13. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Performance
motivo 2
14. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
0
100,000
200,000
300,000
400,000
500,000
600,000
700,000
8 16 32 64 128 256 512 1,024
QueriesperSecond
Connections
MySQL 5.7: Sysbench Read Only (Point Select)
MySQL 5.7
MySQL 5.6
MySQL 5.5
MySQL 5.7: Sysbench Read Only Point Select
Intel(R) Xeon(R) CPU E7-4860 x86_64
4 sockets x 10 cores-HT (80 CPU threads)
2.3 GHz, 512 GB RAM
Oracle Linux 6.5
2x mais rápido que MySQL 5.6
3x mais rápido que MySQL 5.5
645,000 QPS
14
15. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Escalabilidade
motivo 3
16. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Aplicação
Replicação MySQL
Master Slave
Escritas & Leituras Leituras
Exemplos de uso:
dividir carga OLTP e OLAP
backup
contingência
distribuição geográfica
etc.
17. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Aplicação
Replicação: Escalabilidade de Leituras
Master Slave
Escritas & Leituras Leituras
Slave Slave
Leituras Leituras
18. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 18
MySQL Cluster: Escalabilidade de Escritas
19. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Alta disponibilidade
motivo 4
20. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Master-Slave Replication
Replication vs. Group Replication
Group Replication
Router RouterRouter
App AppApp
VIP
mysqlfailover
Read-write
Read-only
21. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
MySQL Group Replication: O que fornece?
• Uma camada de banco de dados distribuída, simples de usar e com
alta disponibilidade
– Topologias Ativo-Ativo, escreva em qualquer nó
• Detecção e resolução automática de conflitos
– Reconfiguração automática ao adicionar, remover nós, crashes e falhas
– Distribuído e tolerante a falhas
– Arquitetura shared-nothing , sem necessidade de storage compartilhado
– Compatível com InnoDB
– Modos de operação single-primary ou multi-primary
21
22. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Maturidade e Popularidade
motivo 5
23. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 23
Softwares contém bugs!
Se o software tem mais tempo de
desenvolvimento e é largamente
utilizado, menor a probabilidade de
falhar em funções básicas.
24. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Fonte: http://db-engines.com/en/ranking_trend (junho/15)
25. 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 25
26. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 26
Comunidade enorme onde muitos já
passaram por problemas. Não corra o
risco de ser o primeiro e não ter a
quem recorrer.
27. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Participe com seu Feedback
bugs.mysql.com
28. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 28
Mais facilidade em encontrar
profissionais.
29. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 29
30. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Menos marketing, mais referências
motivo 6
31. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 31
Novas tecnologias investem muito em marketing.
Cuidado com material escrito pelo pessoal de marketing.
Você vai ouvir muito que a nova tecnologia finalmente é a
bala de prata.
Pode até ser uma tecnologia incrível, mas as falhas e
limitações serão obfuscadas. Fale com quem já fez!
32. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Onde achar casos de sucesso reais
Oracle Confidential – Internal/Restricted/Highly Restricted 32
busque no Youtube por palestra em eventos
MySQL Central Oracle Open World
Percona Live
33. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
@MySQLBR meetup.com/MySQL-BRfacebook.com/MySQLBR
pt.planet.mysql.com
34. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Fácil de instalar e administrar
motivo 7
35. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
No Windows: MySQL Installer
Next, Next... Finish!
dev.mysql.com/downloads/windows/installer
36. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
No Linux: repositórios YUM e APT para MySQL
• Suporta as distribuições Enterprise Linux
– RedHat Enterprise/Oracle Linux
– Fedora
– Debian/Ubuntu
• Inclui os pacotes mais atuais
– MySQL Database
– MySQL Workbench
– MySQL Connectors
– MySQL Utilities
Maneira simples e conveniente de instalar e atualizar produtos MySQL
Mais de 50% dos downloads
para Fedora/RedHat já são
feitos do repositório
www.alastori.com.br/2014/05/tutorial-de-
instalacao-do-mysql-56-e.html
37. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
…ou manualmente via binários pré-compilados
38. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 38
39. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 39
40. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 40
41. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 41
42. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 42
43. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Flexível para os desenvolvedores
motivo 8
44. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 44
45. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 45
46. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 46
50. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
MySQL 5.7: InnoDB, NoSQL com Memcached
6x mais rápido que MySQL 5.6
Contribuição do Facebook
0
200,000
400,000
600,000
800,000
1,000,000
1,200,000
8 16 32 64 128 256 512 1,024
QueriesperSecond
Connections
MySQL 5.7 vs 5.6 - InnoDB & Memcached
MySQL 5.7
MySQL 5.6
1 Milhão de QPS
50
Intel(R) Xeon(R) CPU E7-4860 x86_64
4 sockets x 10 cores-HT (80 CPU threads)
2.3 GHz, 512 GB RAM
Oracle Linux 6.5
51. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Artigo no iMasters por Marcelo Altmann
http://imasters.com.br/banco-de-dados/mysql-e-nosql-memcached-plugin/
Ondemand Webinar:
NoSQL Memcached API for MySQL Cluster
22 August 2012
mysql.com/news-and-events/on-demand-webinars/display-od-723.html
Slides:
https://www.mysql.com/why-mysql/presentations/mysql-cluster-nosql-memcached-api
Exemplos Memcached API
52. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Suporte da Oracle
motivo 9
54. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
• Troubleshooting remoto
• Revisões: Queries, Schema, Replicação, Particionamento
• Performance Tuning
• Suporte remoto à instalação e upgrades
• Revisão de Código gerado pelo cliente: Client APIs, User Defined
Functions, Server Extensions, Stored Routines (Triggers, Procedures,
Functions)
https://www.mysql.com/support/consultative.html
Suporte Consultivo MySQL
Portfolio de serviços
55. 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
56. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | 56cloud.oracle.com/mysql
57. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
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 Oracle University
Oracle Certified
Professional, MySQL 5.6
DBA
Certificações
Oracle Certified
Professional, MySQL 5.6
Developer
58. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Custo
motivo 10 (e não menos importante)
59. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 59
http://mysql.com/tco
60. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Sumário
1. O MySQL continua cool
2. Performance
3. Escalabilidade
4. Alta disponibilidade
5. Maduro e Popular
6. - Marketing, + Referências
7. Fácil
8. Flexível
9. Suporte da Oracle
10.Custo
Na escolha da melhor tecnologia, busque estas características!
61. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Obrigado!
Copyright © 2014, Oracle and/or its affiliates. All rights reserved.
62. Copyright © 2015 Oracle and/or its affiliates. All rights reserved. |
Perguntas?
10 razões para usar MySQL em Start Ups
Contato:
airton.lastori@oracle.com
twitter.com/mysqlbr
facebook.com/mysqlbr