Mais performance com o MySQL 5.6

download Mais performance com o MySQL 5.6

If you can't read please download the document

description

O MySQL 5.6 já está pronto para produção desde fevereiro de 2013 e inclui um número impressionante de melhorias de performance e recursos para diagnóstico o tuning. Nesta apresentação serão mostradas estas melhorias e alguns exemplos de como ajustar o MySQL para um desempenho ainda maior, identificando e resolvendo rapidamente os gargalos mais comuns. Serão discutidas: -Melhorias de performance com o upgrade para MySQL 5.6 -Configurações do servidor relacionados à performance -Como usar índices de maneira eficiente -Como usar o novo visual EXPLAIN para verificar os planos de execução de consulta -Quais os problemas de performance mais comuns, como identificá-los e resolvê-los

Transcript of Mais performance com o MySQL 5.6

  • 1. Mais performance com MySQL 5.6Airton Lastori 30-nov-2013

2. Safe Harbour Statement 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 decisions. The development, release, and timing of any features or functionality described for Oracles products remains at the sole discretion of Oracle.2Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 3. Agenda Melhorias no MySQL 5.6 Tuning do servidor ndices eficientes Visual EXPLAIN Performance Schema3Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 4. MySQL estratgico para Oracle Solues Completas #1 em todos os nveis da pilha Cloud e On Premise MySQL: Web, Mobile & Embedded Investimentos na Engenharia do MySQL4Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 5. Alguns clientes MySQL5Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 6. Compromisso Oracle com MySQLhttps://blogs.oracle.com/MySQL/entry/mysql_connect_keynotes_and_news 6Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 7. @MySQLBRfacebook.com/MySQLBRmeetup.com/MySQL-BR7Copyright 2013, Oracle and/or its affiliates. All rights reserved. |MySQLBR 8. Melhorias no MySQL 5.68Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 9. Arquitetura MySQL Server Clients & Connectors Native C API, JDBC, ODBC, .Net, PHP, Ruby, Python, VB, PerlClients and AppsmysqldConnection Pool, SQL Interface, Parser, Optimizer, CachesEnterprise Management Services and Utilities Storage Engines InnoDB, MyISAM, Memory, Archive, Cluster (NDB API), etcFilesystems, Files & Logs Data, Index, Logs9Copyright 2013, Oracle and/or its affiliates. All rights reserved. |Backup & Recovery Monitor Workbench Utilities 10. Default Storage Engine InnoDB10Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 11. Storage Engines MyISAMInnoDBNDB ClusterTabelaLinhaLinhaAssncrona ou Semi-sncronaAssncrona ou Semi-sncrona, crash-safeSncrona, Multi-master, crash-safe sem SPOFForeign KeysFull-text indexesCompresso de dadossomente LeituraCachessomente ndicesDados e ndicesDados e ndicesTipos de Dados e ndicesSomente Tipos de Dadossomente Tipos de Dados256TB64TB384EB (~3TB em RAM)Transaes Nvel de Lock ReplicaoSuporte Geoespacial Limite de armazenamentodev.mysql.com/doc/refman/5.6/en/storage-engines.html 11Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 12. Evoluo da escalabilidade do MySQL2008200920102013at 4 CPU MySQL 5.0at 16 CPU MySQL 5.1at 32 CPU MySQL 5.5at 48 CPU MySQL 5.6MySQL ABSunOracleAtualize o MySQL e use InnoDB. 12Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 13. Performance MySQL 5.6: InnoDB SysBench BenchmarksTransaes por SegundoMySQL 5.6 vs. 5.5 - Leituras (Linux) 18.000 16.000 14.000 12.000 10.000 8.000 6.000 4.000 2.000 0MySQL 5.6.7MySQL 5.5.283264128 Conexes256512+234% Ganhos de Performance 13Copyright 2013, Oracle and/or its affiliates. All rights reserved. |Oracle Linux 6 Intel(R) Xeon(R) E7540 x86_64 MySQL leveraging: - 48 of 96 available CPU threads - 2 GHz, 512GB RAM 14. Performance MySQL 5.6: InnoDB SysBench BenchmarksTransaes por SegundoMySQL 5.6 vs. 5.5 Escritas+Leituras (Linux) 12.000MySQL 5.6.710.000 8.0006.000MySQL 5.5.284.000 2.000 0 3264128 Conexes256512+151% Ganhos de Performance 14Copyright 2013, Oracle and/or its affiliates. All rights reserved. |Oracle Linux 6 Intel(R) Xeon(R) E7540 x86_64 MySQL leveraging: - 48 of 96 available CPU threads - 2 GHz, 512GB RAM 15. MySQL Enterprise Scalability Thread Pool Plug-In Adiciona mais inteligncia ao modelo padro de gerenciamento de threads agrupa e reutiliza Modelo padro, sem Thread Pool: 1 thread por conexo, performance excelente, mas limita a escalabilidade ao crescer o nmero de conexes de usurios Com Thread Pool: reso de threds, escala o nmero de conexes de usurios mantendo os mesmos nveis de performance Implementado utilizando Thread Pool APIAssegura desempenho melhor e sustentvel, mesmo quando o nmero de usurios continua crescendo. 15Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 16. Thread Pool habilitado/desabilitado60x Melhor Escalabilidade comThread Pool 16Copyright 2013, Oracle and/or its affiliates. All rights reserved. |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 17. Thread Pool habilitado/desabilitado18x Melhor Escalabilidade com Thread Pool 17Copyright 2013, Oracle and/or its affiliates. All rights reserved. |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 18. Otimizador do MySQL 5.6 Resoluo de problemas com Subqueries SELECT title FROM film WHERE film_id IN (SELECT film_id FROM film_actor GROUP BY film_id HAVING count(*) > 12); Sem necessidade de transformar em JOINs Table pull-out Semi-join Subquery MaterializationTempo de execuo baixou de DIAS para segundos Benchmark DBT3 Query #1818Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 19. Otimizador do MySQL 5.6 Ordenao de arquivo com limites pequenos CREATE TABLE products( productid int auto_increment PRIMARY KEY, productname varchar(200) ); SELECT * FROM products ORDER BY productname LIMIT 100; Caso de uso: listar os 100 primeiros produtos ordenados por nome Evita passos intermedirios: criar arquivos ordenados, mais de um table scan Testes numa tabela com 20 milhes de linhas, sort buffer default4x mais rpido: caiu de 40s para 10s 19Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 20. Otimizador do MySQL 5.6 ICP: Index Condition Pushdown CREATE TABLE person ( personid INTEGER PRIMARY KEY, firstname CHAR(20), lastname CHAR(20), postalcode INTEGER, age INTEGER, address CHAR(50), KEY k1 (postalcode,age) ) ENGINE=InnoDB;pe test rSELECT lastname, firstname FROM person WHERE postalcode BETWEEN 5000 AND 5500 AND age BETWEEN 21 AND 22; ICP Desabilitado: 15 s (buffer pool 128 MB) e 1,4 s (buffer pool 1.5 GB) 90ms em ambos = melhoria de 15x a 170x em ambas configuraes de buffer pool20Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 21. Otimizador do MySQL 5.6 Postpone Materialization EXPLAIN SELECT * FROM (SELECT * FROM a_big_table); SELECT FROM derived_table AS dt join table AS t WHERE dt.fld = t.dlf Permite EXPLAINs mais rpidos para views/subqueries Evita materializao quando possvel, recuperao mais rpida Uma chave pode ser gerada para tabelas derivadas240x mais rpido: caiu de ~8min para ~2s21Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 22. Otimizador do MySQL 5.6 Batched Key Access (BKA) and Multi-Range Read (MRR) Melhora performance de JOINs 5000 2821DBT3 Query 13: Customer Distribution QueryQuery Time (secs)1225500No BKA BKA 509.635 0816243240Join Buffer Size (MB)22Copyright 2013, Oracle and/or its affiliates. All rights reserved. |485664290x mais rpido 23. Otimizador do MySQL 5.6 Melhor intrumentao para diagnsticos EXPLAIN - INSERT, UPDATE e DELETE - Sada estruturada para EXPLAIN Optimizer Traces SET SESSION OPTIMIZER_TRACE=enabled=on; SELECT (SELECT 1 FROM t6 WHERE d = c)AS RESULT FROM t5; SELECT * FROM information_schema.OPTIMIZER_TRACE;23Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 24. Otimizador do MySQL 5.6 Melhorias na inicializao e estabilizao Estatsticas Persistentes do Otimizador - Aumento de estabilidade e consistncia dos tempos de execuo - Estatsticas mais precisas, melhor otimizao - Melhor controle do usurio: automtico ou manual [mysqld] innodb_stats_persistent = 124Copyright 2013, Oracle and/or its affiliates. All rights reserved. |# use ANALYZE TABLE periodicamente para todas tabelas 25. Mais Instrumentao no MySQL 5.6 PERFORMANCE_SCHEMA: baixa sobrecarga e ligado por padro Statements/Stages Quais queries mais custosas? Quando elas gastam tempo? Table/Index I/O, Table Locks Quais tabelas/ndices causam maior carga e/ou conteno? Network I/O Qual o comportamento de carga de rede? Quanto tempo as sesses ficam ociosas? Users/Hosts/Accounts Quais usurios/hosts/contas consomem mais recursos? Summaries Estatsticas agregadas, agrupadas por thread, user, host, account ou object 25Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 26. Outras melhorias no MySQL 5.6 Mais facilidade de uso e flexibilidade Novas configuraes padro, mais adequadas ao hardware atual Particionamento melhorado import/export mais capacidade e performance seleo explcita Backup remoto do Binlog Slaves com atraso programado Identificador nico universal para servidor (server UUID) TIME/TIMESTAMP/DATETIME preciso de frao de segundo CURRENT_TIMESTAMP default /auto update TIMESTAMP nullable por padro GIS: operaes espaciais precisas E MAIS... 26Copyright 2013, Oracle and/or its affiliates. All rights reserved. |mysql.com/why-mysql/white-papers/whats-new-mysql-5-6 27. Tuning do MySQL Server27Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 28. O loop infinito do tuning... Monitoramentoetc...Melhorias28Copyright 2013, Oracle and/or its affiliates. All rights reserved. |TuningOtimizaes 29. O loop infinito do tuning... Monitoramentoetc...Melhorias29Copyright 2013, Oracle and/or its affiliates. All rights reserved. |Em mais de 90% dos casos o problema est na aplicao TuningOtimizaes 30. Sistema Operacional Linux Usar malloc() lib jemalloc Oracle Solaris Usar malloc() lib libumem Microsoft Windowshttp://www.mysql.com/support/supportedplatforms/database.html30Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 31. O hardware ideal para o MySQL Server At 64 CPU threads x86-64 bit (requer MySQL 5.6 ousuperior) RAM igual ou maior que dataset mais quente (acessado com maior frequncia) 2 x placas de rede 2 x fontes de alimentao31Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 32. O hardware ideal para o MySQL Server Mnimo de 4 x SSDs ou HDDs. 816 drivesaumentaro a performance para cargas de I/O intensivo Hardware RAID com battery-backed cache RAID 10 recomendado; RAID 5 est OK se carga deleitura intensiva Rede redundante Alimentao redundante32Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 33. Performance Tuning do MySQL Server Principal dica: use seu crebro! Receitas de bolo so limitidas, o contexto muda tudo Treinamento oficial 4 dias, education.oracle.com/mysqlesta apresentao: 50min! Regras bsicas Nunca faa mudanas diretamente em produo Tenha um bom mtodo de benchmark ou carga regular Tenha as mtricas iniciais (baseline) e v ajustando atconseguir seu objetivo; monitore e saiba quando parar Apenas 1 mudana de cada vez33Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 34. Benchmark mysqlslaphttp://dev.mysql.com/doc/refman/5.6/en/mysqlslap.html supersmack http://vegan.net/tony/supersmack mybench http://jeremy.zawodny.com/mysql/mybench SysBench http://sysbench.sourceforge.net DBT2 http://osdldbt.sourceforge.net/ Faa voc mesmo: general query log output (table/file) JMeter, LoadRunner, Visual Studio34Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 35. Monitoramento Monitore, documente e salve os resultados Mtricas de Query throughput single query time average query time Mtricas CPU: top, vmstat Mtricas IO: iostat, top, vmstat, bonnie++ Ferramentas: MySQL Enterprise Monitor, slow querylog, status variables, Performance_Schema, etc.35Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 36. 36Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 37. 37Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 38. Variveis Configure as System Variables (aka Options) ex. datadir, port, innodb_buffer_pool_size my.cnf ou linha de comando SHOW VARIABLES Algumas Dnamicas (altere via comando SET); outras podemprecisar de inicializao: Monitore as Status Variables SHOW STATUS VARIABLES mysqladmin ext -ri10 > arquivo.txthttp://dev.mysql.com/doc/refman/5.6/en/server-system-variables.html http://dev.mysql.com/doc/refman/5.6/en/server-status-variables.html http://dev.mysql.com/doc/mysqld-version-reference/en/index.html 38Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 39. System Variables / Options 5.6 Updated Defaults for Modern Systems Auto-sized Variables Prior to 5.6 Out-of-date Configuration File Samples example: my-innodb-heavy-4G.cnf Advice: Consider 5.6 Defaults Re-evaluate older config file entries39Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 40. Tuning do InnoDBMonitore innodb_buffer_pool_reads innodb_buffer_pool_read_requests mysql> show status like 'Innodb_buffer%' ;40Copyright 2013, Oracle and/or its affiliates. All rights reserved. |Tune innodb_buffer_pool_size por volta de 80% da memria disponvel innodb_log_file_size = ~512MB 5.5+ tradeoff: tempo de recuperao vs. performance Muitas escritas 41. Tuning do InnoDB, prximo nvel depende do seu workload innodb_flush_log_at_trx_commit (cuidado!) valor 1: sync para arquivo (fsync) a cada commit valores 0/2: pode perder 1 segundo de dados innodb_flush_method = O_Direct Depende do workload e hardware innodb_buffer_pool_instances = 8 Somente 5.5 e 5.6http://dev.mysql.com/doc/refman/5.6/en/innodb-parameters.html 41Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 42. Tuning do MyISAM Monitore key_read_requests key_reads key_buffer_sizeTune Caches key_buffer_cache 25% da memria disponvel System Cache 75% da memria disponvel Mltiplos Key Buffers Pr-carregamento de Key Buffershttp://dev.mysql.com/doc/refman/5.6/en/myisam-key-cache.html 42Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 43. Query Cache depende do seu workload Monitore have_query_cache qcache_hits qcache_inserts qcache_not_cached qcache_total_blocks qcache_free_memory43Copyright 2013, Oracle and/or its affiliates. All rights reserved. |Tune Use apenas quando: Queries e ResultSets so idnticos Poucos Inserts/Updates/Deletes query_cache_type 0 ou OFF 1 ou ON tudo, exceto hints SELECT SQL_NO_CACHE 2 or DEMAND nada, exceto hint SELECT SQL_CACHE 44. Tabelas Temporrias cuidado com consumo excessivo de RAMMonitore created_tmp_tables created_tmp_disk_tablesTune tmp_table_size tamanho mximo para tabelas in memory Se temporary table > tmp_table_size || max_heap_table_size || BLOB/TEXT Ento converte para tabela MyISAM em discohttp://dev.mysql.com/doc/refman/5.6/en/internal-temporary-tables.html 44Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 45. Outras variveis de uso geral 1 normalmente passam por tuningMonitore %opened% %thread% threads_created45Copyright 2013, Oracle and/or its affiliates. All rights reserved. |Tune table_open_cache 5.6 mudou default de 400 - 2000 thread_cache_size meta threads_created ~ thread_cache_size 46. Outras variveis de uso geral 2 cuidado com tamanhos maioresMonitore %opened% %thread% threads_createdDepende do workload ou query Maior nem sempre melhor Usa memria por Thread ou JOINTune sort_buffer_size sorting for group by and order by If 100M = 100M of RAM per sort mixed results in lab 2M -> 256K in 5.6 Dicas: Comece com o default v alterando gradualmente Ajuste dinamicamente46Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 47. Outras variveis de uso geral 3 cuidado com tamanhos maioresMonitore select_full_joinDepende do workload ou query Maior nem sempre melhor Usa memria por Thread ou JOINTune join_buffer_size JOINS que no usam indices Alocado por JOIN por thread! Dicas: Comece com o default v alterando gradualmente Ajuste dinamicamente Invista na otimizao da Query47Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 48. Resumo Menos tuning necessrio com defaults do MySQL 5.6 Tuning obrigatrio: thread_cache_size 0->8+max_con/100 InnoDB Buffer Pool query cache Key Buffer Cache (MyISAM) tmp_table_sizeTune e Avalie resultados:Cuidado: innodb_log_file_size 5M->48M sort_buffer_size 2MB->256K innodb_flush_log_at_trx_commit join_buffer_size 128K->256K innodb_flush_method read_buffer_size (MyISAM) innodb_buffer_pool_instances 1->8 read_rnd_buffer_size table_open_cache 400->2000http://blogs.oracle.com/supportingmysql/entry/server_defaults_changes_in_mysql 49Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 49. ndices eficientes50Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 50. 51Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 51. 52Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 52. 53Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 53. 54Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 54. 55Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 55. 56Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 56. 57Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 57. 58Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 58. 59Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 59. 60Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 60. Visual EXPLAIN61Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 61. 62Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 62. 63Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 63. 64Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 64. 65Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 65. 66Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 66. 67Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 67. 68Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 68. Performance Schema70Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 69. 71Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 70. 72Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 71. 73Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 72. 74Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 73. 75Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 74. Considere MySQL Enterprise para implementar boas prticas77Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 75. Binrios MySQL comunidade Pacote Enterprise: Suporte + Backup + Monitor & Workbench SuportePlug-insBackupMonitor & Workbench78Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 76. Binrios MySQL comerciais Certificado no stack Oracle + patches e hotfixes SuporteEscalabilidade Segurana AuditoriaPlug-insBackupMonitor & Workbench79Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 77. MySQL Cluster Carrier-Grade Edition Subscrio com renovao anual: ferramentas + servios Gerenciamento ConsolidadoCluster ManagerPlug-insSuporteClusterMonitor & Workbench80Copyright 2013, Oracle and/or its affiliates. All rights reserved. |Backup 78. 84Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 79. MySQL Enterprise Backup Backup online para InnoDB Backups completos, incrementais, parciais (automatizados via script) Compresso Opes de Recovery: Point in Time, Completo, Parcial Metadados de status, progresso e histrico mysqlbackup Tamanho ilimitado do BD Multi-Plataforma MEB MySQL Backup Database Files Files Windows, Linux, Unix Certificado para Oracle Secure Backup, compatvel SBT Backup e Recovery mais rpidos e online.85Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 80. MySQL Enterprise Audit Audit Plug-In Registro de conexes, logins, queries dos servidores MySQL Polticas definidas pelo DBA para filtragem e rotao de logs Habilitado ou desabilitado dinamicamente, sem reiniciar oservidor Log em XML de acordo com especificao padro Oracle Audit Requer MySQL 5.5.28 ou superior Implementado atravs MySQL 5.5 Audit APIAdiciona conformidade regulatria em aplicaes MySQL: HIPAA, Sarbanes-Oxley, PCI, etc. 86Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 81. MySQL Enterprise Audit 3. Conexes e queries dos usurios aparecem no log1. DBA habilita no Server1Server12. Usurio conecta-se e executa queries 87Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 82. MySQL Enterprise Security External Authentication Plug-Ins PAM (Pluggable Authentication Modules) Plug-In Autenticao externa via mtodos externos Interface padro, funciona com Unix, LDAP, Kerberos, outros Proxy-users mapeamento grupos de usurios para 1 usurio Windows Plug-In Acesso nativo via servios do Windows Autentica usurios j logados no Windows (Single Sign On) Grupos/usurios do Windows Active Directory com Proxy-usersIntegra o MySQL com a infraestrutura de segurana existente e SOPs. Mais produtividade na gesto de usurios. 88Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 83. MySQL Enterprise Security External Authentication Plug-Ins Usurio/senha definidos no diretrio Privilgios definidos no MySQL e mapeados para usurios/grupos do diretrio PAM / Windows AuthLDAP/AD AuthenticateCREATE USER win_joe IDENTIFIED WITH authentication_windows AS joe';89Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 84. Concluso MySQL 5.6, vrias melhorias na performance Sobre tuning: metodologia e outros componentes da pilha Tuning do MySQL 5.6 Variveis ndices Visual Explain e Performance Schema MySQL Enterprise90Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 85. Saiba Mais Treinamento oficial MySQL Performance Tuning http://education.oracle.com/mysql Performance Tuning Webinars http://www.mysql.com/news-and-events/on-demand-webinars MySQL Performance Forum http://forums.mysql.com/list.php?24 Download MySQL 5.6 http://www.mysql.com/downloads/mysql MySQL Enterprise Monitor (trial 30 dias) http://www.mysql.com/trials91Copyright 2013, Oracle and/or its affiliates. All rights reserved. | 86. @MySQLBRfacebook.com/MySQLBRmeetup.com/MySQL-BR92Copyright 2013, Oracle and/or its affiliates. All rights reserved. |Obrigado! 87. Mais performance com MySQL 5.6Perguntas?