• Save
MySQL para Desenvolvedores de Games
Upcoming SlideShare
Loading in...5
×
 

MySQL para Desenvolvedores de Games

on

  • 855 views

O MySQL é o banco de dados open source mais popular do mundo, usado em grandes sites, games, aplicações mobile e embarcadas. ...

O MySQL é o banco de dados open source mais popular do mundo, usado em grandes sites, games, aplicações mobile e embarcadas.
Há várias opções de arquiteturas e APIs, oferecendo enorme flexibilidade, escalabilidade e alta-disponibilidade.
Instale e comece a usar em menos de 15min.

Statistics

Views

Total Views
855
Views on SlideShare
854
Embed Views
1

Actions

Likes
0
Downloads
0
Comments
0

1 Embed 1

https://twitter.com 1

Accessibility

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    MySQL para Desenvolvedores de Games MySQL para Desenvolvedores de Games Presentation Transcript

    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 121Airton Lastoriairton.lastori@oracle.com07-jun-2013MySQL para Desenvolvedores de Games
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 122@MySQLBRmeetup.com/MySQL-BRfacebook.com/MySQLBRMySQLBR
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 123Alguns clientes MySQL
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 124Alguns clientes MySQLfonte: alexa.com/topsites 30-jan-2013
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 125Alguns clientes MySQLmysql.com/customers
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 126Alguns clientes MySQLmysql.com/customers
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 127MySQL: casos de sucesso+ de 20 indústriasmysql.com/customers
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 128Indústria: Gamesmysql.com/customers/industry/?id=83
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 129Seu game precisa de um SGBD?Qual o tipo de distribuição do game?Download, Streaming, Online, Mobile...
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1210Quase todos tipos de games modernosnecessitam de um sistema robusto dearmazenamento de dadosDependendo da distribuição, o banco de dados pode serembarcado, centralizado ou distribuído.
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1211Game sem UIMySQLgamemysqlgame.com
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1212Como escolher um SGBD?Desafio de desenvolvedor #1
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1213…pense nos requisitos não funcionais…
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1214Na escolha da solução, considerar...Escalabilidade, performance, disponibilidade,estabilidade, segurança, simplicidade, flexibilidade,custo total de propriedade, conhecimento da equipe...Ah! Não esqueça da fase de produção, dos DBAs...ferramentas, suporte, rotinas de manutenção.
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1215Como o MySQL atendeAlguns destes requisitos?
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1216MySQL para desenvolvedoresPortfolioAmbiente dedesenvolvimentoEscalabilidade eAlta-disponibilidadeConhecendo melhor ouniverso MySQL parafazer boas escolhas…
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1217MySQL para desenvolvedoresPortfolioAmbiente dedesenvolvimentoEscalabilidade eAlta-disponibilidadeConhecendo melhor ouniverso MySQL parafazer boas escolhas…
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1218 MySQL Database Community Server MySQL Cluster MySQL Workbench MySQL Connectors MySQL Proxy Documentação não GPL Forums, Lists, Bugs, Blogs…Compromisso Oracle com MySQL CommunityPortfólio disponível para download e uso sob GPL
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1219Conectores: amplo suporte a várias linguagensOracle• Connector/ODBC• Connector/Net (ADO.NET)• Connector/Python• Connector/J (JDBC)• Connector/C (C API)• Connector/C++ (C++ API)Comunidade• PHP• Perl• Ruby• TCL• Eiffel• …dev.mysql.com/doc/refman/5.5/en/connectors-apis.html
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1220Oracle PremierLifetime SupportOracle ProductCertifications/IntegrationsMySQL EnterpriseHigh AvailabilityMySQL EnterpriseSecurityMySQL EnterpriseScalabilityMySQL EnterpriseBackupMySQL EnterpriseMonitor/Query AnalyzerMySQL WorkbenchMySQL Enterprise EditionMaior produtividade e mitigação de riscosMySQL EnterpriseAudit
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1221MySQL para desenvolvedoresPortfolioAmbiente dedesenvolvimentoEscalabilidade eAlta-disponibilidadeConhecendo melhor ouniverso MySQL parafazer boas escolhas…
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1222Desafio de desenvolvedor #2Instalação básica, ambiente dedesenvolvimento…...em 15 minutos, ou menos!
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1223
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1224mysql.com/downloads/mysqlNo Linux ou Mac, prefira os binários
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1225Clientmysql / mysql.exeServermysqld / mysqld.exeCliente-Servidor
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1226Iniciar ou Parar o servidor MySQL no Windows…ou via MySQL Notifier
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1227Iniciar ou Parar o servidor MySQL no Linux/usr/local/mysql/bin> mysqld_safe --defaults-file=/etc/my.cnf &/usr/local/mysql/bin> mysqladmin shutdownParar:Iniciar:dev.mysql.com/doc/refman/5.5/en/mysqld-safe.html
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1228Primeira conexãoC:Program FilesMySQLMySQL Server 5.5bin>mysql -uroot -pEnter password: ****Welcome to the MySQL monitor. Commands end with ; or g.Your MySQL connection id is 8Server version: 5.5.28 MySQL Community Server (GPL)Copyright (c) 2000, 2012, Oracle and/or its affiliates. All rights reserved.Oracle is a registered trademark of Oracle Corporation and/or itsaffiliates. Other names may be trademarks of their respectiveowners.Type help; or h for help. Type c to clear the current input statement.mysql>
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1229Teste via MySQL Workbench 1/2
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1230Teste via MySQL Workbench 2/2
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1231App + ConnectorJDBC, ODBC, .Net, PHP, Python, Perl, Ruby, Native C API…Servermysqld / mysqld.exeCliente-Servidor
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1232Desafio de desenvolvedor #3Hello World…...em Java
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1233Adicione o driver MySQL ao CLASSPATHcaminho completo do .jarC:>set CLASSPATHCLASSPATH=.;C:Program Files (x86)Javajre6libextQTJava.zip;C:ProgramFilesMySQLmysql-connector-java-5.1.22mysql-connector-java-5.1.22-bin.jarConfira:
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1234HelloMysql.java 1/2import java.sql.*;public class HelloMysql {public static void main(String args[]){System.out.println("Tentando conectar ao MySQL...");try {Class.forName("com.mysql.jdbc.Driver");String url = "jdbc:mysql://localhost:3306/mysql";String usuario = "root";String senha = "root";Connection con = DriverManager.getConnection(url, usuario, senha);System.out.println("URL: " + url);System.out.println("Connection: " + con);Continua…
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1235HelloMysql.java 2/2Statement stmt = con.createStatement(); //objeto StatementResultSet rs; //objeto ResultSetrs = stmt.executeQuery("SELECT * FROM world.country");System.out.println("Ola mundo!");while(rs.next()){String nomePais = rs.getString("Name");System.out.print(nomePais + ", ");}//end whilecon.close();} catch( Exception e ) {e.printStackTrace();}//end catch}//end main}//end class HelloMysqlPRONTO!
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1236java HelloMysqlC:tutorial>javac HelloMysql.javaC:tutorial>java HelloMysqlTentando conectar ao MySQL...URL: jdbc:mysql://localhost:3306/mysqlConnection: com.mysql.jdbc.JDBC4Connection@ed07f45Ola mundo!Aruba, Afghanistan, Angola, Anguilla, Albania, Andorra, Netherlands Antilles, United Arab Emirates, Argentina, Armenia, American Samoa, Antarctica, French Southern territories, Antigua and Barbuda, Australia, Austria, Azerbaijan, Burundi, Belgium, Benin, Burkina Faso, Bangladesh, Bulgaria, Bahrain, Bahamas, Bosnia andHerzegovina, Belarus, Belize, Bermuda, Bolivia, Brazil, Barbados, Brunei, Bhutan…ietnam, Vanuatu, Wallis and Futuna, Samoa, Yemen, Yugoslavia, South Africa, Zambia, Zimbabwe,
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1237Próximo passo: documentaçãoReference Manual1. Tutorial2. SQL Syntax3. Connectors & APIs, Memcached4. Functions, Views, Stored Programs5. Optimizationdev.mysql.com/doc/refman/5.5/en/index.html
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1238MySQL para desenvolvedoresPortfolioAmbiente dedesenvolvimentoEscalabilidade eAlta-disponibilidadeConhecendo melhor ouniverso MySQL parafazer boas escolhas…
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1239Desafio do desenvolvedor #4Projetar uma solução paradisponibilidade 24x7…...a famosa alta-disponibilidade
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1240Alta-Disponibilidade
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1241AplicaçãoMaster Slave• Modelo unidirecional assíncrono (padrão)• Modelo semi-síncrono (a partir da versão 5.5)Escritas & LeiturasReplicação MySQL
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1242AplicaçãoMaster Slave• Master down• Slave promovido para MasterEscritas & LeiturasMySQL failover
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1243Alta-Disponibilidade
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1244Soluções certificadas MySQL HA: resumomysql.com/why-mysql/white-papers/mysql_wp_ha_strategy_guide.phpMySQL 5.6ReplicationWindowsClusterSolarisClusterOracle VMTemplateDRBDMySQLClusterNível de disponibilidade 99.9% 99.95% 99.99% 99.99% 99.99% 99.999%Auto-Failover ✔ ✔ ✔ ✔ ✔ ✔Sem perda de dados durantefailover✔Semi-Sync✔ ✔ ✔ ✔ ✔Plataformas suportadas All Windows Solaris Linux Linux AllModo de clusterizaçãoMaster +SlavesActive /PassiveActive /PassiveActive /PassiveActive /PassiveMulti-MasterDispensa Shared Storage ✔ ✖ ✖ ✖ ✔ ✔Ponto único de suporte ✔ ✖ ✔ ✔ ✔ ✔
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1245Desafio do desenvolvedor #5Projetar uma solução que possacrescer para comportar milhõesde usuários…
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1246Scale Out• Adicionar mais servidores paraaumentar performance• MySQL adota esta abordagemem sistemas altamenteescaláveis em hardwarecommodity (Intel / AMD)Scale Up• Trocar por hardware maispoderoso, adicionar memória,CPU• Outras soluções normalmenteusam hardware proprietário(SMP)Escalabilidade: horizontal vs vertical
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1250Escalabilidade horizontalReplicação MySQL• método mais simples emais comum• indicado para aplicaçõesde LEITURA intensiva• problemas com cacheduplicado em aplicaçõescom datasets grandesParticionamentoFuncional• dividir a carga em múltiplosnós, com responsabilidadesdistintas• os nós podem terredundância via replicaçãopara alta-disponibilidade• normalmente não étransparente para a aplicaçãoe também recorre ao scale uppara cada database funcional,o que impõe limitesData Sharding• método de maior sucessopara escalar aplicaçõesMySQL de grande portehoje• dados compartilhados emtabelas/caches globais,SOA• difícil de adaptaraplicações legadas
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1251Replicação MySQL: escalando LEITURAS• Divisão de leituras e escritas (R/W Split)• É possível adicionar mais slaves, dividir a cargaLeiturasAplicaçãoMaster SlaveEscritas & Leituras LeiturasSlave…
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1252Data Node 1Data Node 2Data Node 3Data Node 4Table T1P2P3P4P1Data Sharding: escalando ESCRITAS
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1253Data Node 1Data Node 2F1Data Node 3Data Node 4Table T1P2P3P4P1Data Sharding: escalando ESCRITAS
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1254Data Node 1Data Node 2F1F3Data Node 3Data Node 4Table T1P2P3P4P1Data Sharding: escalando ESCRITAS
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1255Data Node 1Data Node 2F1F3Data Node 3Data Node 4F2Table T1P2P3P4P1Data Sharding: escalando ESCRITAS
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1256Data Node 1Data Node 2F1F3Data Node 3Data Node 4F2F4Table T1P2P3P4P1Data Sharding: escalando ESCRITAS
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1257Desafios do desenvolvedor #4 + #5É possível combinar alta-disponibilidade e escalabilidade?...assim como Facebook, Twitter, Youtube
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1258Data Node 1Data Node 2F1F1Data Node 3Data Node 4Table T1P2P3P4P1Data Sharding + Replicação
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1259Data Node 1Data Node 2F1 F3F1Data Node 3Data Node 4Table T1P2P3P4P1F3Data Sharding + Replicação
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1260Data Node 1Data Node 2F1 F3F3 F1Data Node 3Data Node 4F2F2Table T1P2P3P4P1Alta-Disponibilidade: Replicação Síncrona
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1261Data Node 1Data Node 2F1 F3F3 F1Data Node 3Data Node 4F2 F4F4 F2Table T1P2P3P4P1Data Sharding + Replicação
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1262Data Node 1Data Node 2F1 F3F3 F1Data Node 3Data Node 4F2 F4F4 F2Group1Table T1P2P3P4P1Data Sharding + ReplicaçãoGroup2
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1263Data Node 1Data Node 2F1 F3F3 F1Data Node 3Data Node 4F2 F4F4 F2Group1Table T1P2P3P4P1Data Sharding + ReplicaçãoGroup2
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1265Desafios do desenvolvedor #4 + #5É possível ter alta-disponibilidadee escalabilidade com menoresforço de implementação?
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1266MySQL Cluster• Arquitetura shared-nothing in-memory parallel• Modelo relacional ACID, SQLCarrier GradeDatabase• 99.999% de disponibilidade• Self-healing, failover abaixo de 1 segundoAlta Disponibilidade• Performance em tempo real para altas cargas• Latência baixa e preditivaAlta Performance• Elasticidade, crescimento incremental• Escalabilidade linear, distribuition awareEscalabilidade• Open Source, hardware commodity• APIs NoSQL (C++, Java, Memcached, Node.js)Open Source
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1267Alguns Clientes MySQL Cluster
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1268Alguns Clientes MySQL Cluster
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1269MySQL Cluster Data NodesData LayerClientsApplication LayerManagementmgm_ndbdMySQL Cluster: auto-shardingTable T1P2P3P4P1F1F3F3F1F2F4F4F2Managementmgm_ndbdmysqldmysqldndbd ndbd ndbd ndbd
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1270MySQL Cluster Data NodesData LayerClientsApplication LayerManagementmgm_ndbdMySQL Cluster: alta-disponibilidadeTable T1F1F3F3F1F2F4F4F2Managementmgm_ndbdmysqldmysqldndbd ndbd ndbd ndbd
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1271MySQL Cluster Data NodesData LayerClientsApplication LayerManagementMySQL Cluster: auto-shardingTable T1P2P3P4P1F1F3F3F1F2F4F4F2Management
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1272•2 milhões usuários, com 30.000 novosusuários por dia•10.000 usuários concorrentes•10.000 Transações Por Segundo•99.999% uptime“The MySQL support service hasbeen essential in helping us fortroubleshooting and givingrecommendations for the productioncluster.”Carlos Morales (DBA), Playfulplay.comblogs.oracle.com/MySQL/entry/mysql_cluster_powers_el_chavoCaso de sucesso
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1273Bônus para o desenvolvedorEscreva via NoSQL (schemaless)e consulte via SQL
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1274Os mesmos dadosacessadossimultaneamenteatravés de interfacesSQL e NoSQLAPIs de Acesso aos Dados
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1275<estado:SP,Campinas>prefix key value<estado:SP,Campinas>key valuePrefix Table Key-col Val-col policyestado: mapa.cidades sigla_estado cidade clusterConfig tablessigla_estado ... cidade ...SP ... Campinas ...Tabela cidades do DB mapavisão da Aplicaçãovisão MySQL ClusterCluster & MemcachedSchema configurávelSELECT * FROM mapa.cidadesWHERE cidade LIKE ’C%’;
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1276Exemplos Memcached APIOn-demand Webinar:NoSQL Memcached API for MySQL Cluster22 August 2012mysql.com/news-and-events/on-demand-webinars/display-od-723.html
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1277Exemplos JavaScript / Node.js APIBlog:Tutorial Getting Started with the NoSQL JavaScript / Node.js API forMySQL Cluster10 June 2012blogs.oracle.com/MySQL/entry/tutorial_getting_started_with_the
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1278MySQL Cluster Auto-Install (beta) Simples de instalar e provisionar clusters multi-node Complementa MySQL Cluster Manager no gerenciamento de cliclo de vida
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12791. Download MCM/Cluster edelivery.oracle.com:2. Unzip e execute o comando com usuário diferente de root:MySQL Cluster ManagerPara testes em uma única máquinaC:MySQLmcmbin> mcmd --bootstrapMySQL Cluster Manager 1.1.2 startedConnect to MySQL Cluster Manager by running “C:MySQLmcmbinmcm" -a NOVA:1862Configuring default cluster mycluster...Starting default cluster mycluster...Cluster mycluster started successfullyndb_mgmd NOVA:1186ndbd NOVAndbd NOVAmysqld NOVA:3306mysqld NOVA:3307ndbapi *Connect to the database by running “C:MySQLmcmclusterbinmysql" -h NOVA -P 3306 -u root
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1280Mais sobre como começar com MySQL ClusterWhitepaper:MySQL Cluster Evaluation GuideFebruary 2012mysql.com/why-mysql/white-papers/mysql-cluster-evaluation-guide/
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1281Sumário O MySQL é o banco de dados open source mais popular domundo, usado em grandes sites, games, aplicações mobile eembarcadas. Há várias opções de arquiteturas e APIs, oferecendo enormeflexibilidade, escalabilidade e alta-disponibilidade. Instale e comece a usar em menos de 15min. Use e abuse dadocumentação!
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1282@MySQLBRmeetup.com/MySQL-BRfacebook.com/MySQLBRObrigado!
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1283Perguntas?MySQL para Desenvolvedores
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1284MySQL Boot CampAcceleratedMySQL PerformanceTuning Boot CampAcceleratedMySQL for BegginersMySQL for DatabaseAdministratorsMySQL PerformanceTuningMySQL High AvailabilityMySQL ClusterMySQL DBAMySQL Boot CampAcceleratedMySQL for DevelopersMySQL PerformanceTuning Boot CampAcceleratedMySQL for BegginersMySQL and PHPDeveloping DynamicWeb ApplicationgMySQL Advanced StoredProceduresMySQLDevelopermysql.com/trainingCertificaçõesOpcionalNecessárioTreinamentos e certificações
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1285Clients & ConnectorsNative C API, JDBC, ODBC, .Net, PHP, Ruby, Python, VB, PerlConnection Pool, SQL Interface, Parser, Optimizer, CachesEnterprise ManagementServices and UtilitiesBackup & RecoveryMonitorWorkbenchUtilitiesmysqldClients and AppsArquitetura MySQL ServerStorage EnginesInnoDB, MyISAM, Memory, Archive, Cluster (NDB API), etc…Filesystems, Files and LogsData, Index, Redo, Undo, Binary, Error, Slow
    • Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 1286Storage EnginesMyISAM InnoDB NDB ClusterTransações ✖ ✔ ✔Nível de Lock Tabela Linha LinhaReplicaçãoAssíncrona ouSemi-síncronaAssíncrona ouSemi-síncronaSíncrona, Multi-masterForeign Keys ✖ ✔ a partir da v7.3Full-text indexes ✔ a partir da v5.6 ✖Compressão de dados somente Leitura ✔ ✖Caches somente Índices Dados e Índices Dados e ÍndicesSuporte Geospacial Tipos de Dados e Índices somente Tipos de Dados somente Tipos de DadosLimite de armazenamento 256TB 64TB 384EBdev.mysql.com/doc/refman/5.5/en/storage-engines.html