Oracle Database Enterprise Edition
-
Upload
daniela-petruzalek -
Category
Technology
-
view
80 -
download
4
Transcript of Oracle Database Enterprise Edition
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Oracle Database Enterprise EditionBenefícios da Tecnologia Oracle para a sua Empresa
Daniela PetruzalekSales ConsultantIndirect SalesMaio, 2015
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Safe Harbor StatementThe 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 Oracle’s products remains at the sole discretion of Oracle.
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Agenda
Estratégia Oracle
Por Que Escolher o Banco Enterprise?
Alta Disponibilidade e Continuidade de Negócios
Performance
Gerenciamento
1
2
3
4
5
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Agenda
Estratégia Oracle
Por Que Escolher o Banco Enterprise?
Alta Disponibilidade e Continuidade de Negócios
Performance
Gerenciamento
1
2
3
4
5
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Estratégia Oracle
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Estratégia Oracle
• “Best-of-breed”• Aberto• Integração Vertical• Extrema Performance• Engineered Systems
Solução de Ponta a Ponta Escolha do Cliente
• On-premise• Cloud Privada• Cloud Pública• Cloud Híbrida
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Agenda
Estratégia Oracle
Por Que Escolher o Banco Enterprise?
Alta Disponibilidade e Continuidade de Negócios
Performance
Gerenciamento
1
2
3
4
5
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Oracle DatabaseEdições e Limites
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Por que escolher o Oracle Enterprise Edition?
• Melhor Disponibilidade• Gerenciamento Simplificado• Mais Segurança• Maior Consolidação / Maior Performance• Options
Inúmeras features e options para otimizar o uso do banco de dados
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Agenda
Estratégia Oracle
Por Que Escolher o Banco Enterprise?
Alta Disponibilidade e Continuidade de Negócios
Performance
Gerenciamento
1
2
3
4
5
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Alta Disponibilidade e Continuidade de Negócio
Falhas Sistemas
Falhas Dados e Desastres
Erros Humanos
Mudanças Sistemas
Mudanças Banco de Dados
DowntimeNão Planejado
DowntimePlanejado
Servidor com Problemas, Queda de Sistema, etc …
Desastres Naturais, Energia Elétrica, Incêndio, etc …
Apagar Tabelas, Erros Administrativos, etc …
Novas versões, correções, Desfragmentação, etc …
Remoção colunas, Tabelas, Criação de Indices, etc ..
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Alta Disponibilidade e Continuidade de Negócio
Falhas Sistemas
Falhas Dados e Desastres
Erros Humanos
Mudanças Sistemas
Mudanças Banco de Dados
DowntimeNão Planejado
DowntimePlanejado
RAC
Data Guard
FlashBack
Reconfiguração Online
Redefinição Online
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Real Application Clusters
• Arquitetura de alta disponibilidade com todos os componentes ativos• Sem ponto único de falha• Roda todas as aplicações compatíveis com banco de dados Oracle• Infraestrutura elástica para escalar sob demanda
HR SALES ERP
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
RAC para Alta Disponibilidade
Aplicação
Banco de Dados em RACX
Usuários
Database
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Data Guard
Site B
Site ATransactions
Transactions
Fast Start Failover
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Data GuardCapacidades
1. Garante consistencia transacional2. Performance extremamente alta3. Transparente para a aplicação4. Failover integrado a aplicação5. Failover automático ou manual6. Garante isolamento de falhas7. Proteção contra corrupção de dados8. Garante zero perda de dados9. Servidores de DR podem ser usados para
testes10. Protege contra downtime planejado e
não planejado11. Independente do fabricante de storage12. Consumo mínimo de rede13. Sem limite de distância
LAN & MAN deployments provide Local HA and DR
Extend to a Wide Area Network and add remote DR
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
FlashbackDetecção e Correção de Erros
• Flashback revoluciona a recuperação de erros– Vê dados ‘bons'em um ponto no passado– Simplesmente desfaça mudanças nos dados (“rewind”)– Tempo para corrigir o erro é igual ao tempo de fazer o erro
• Baixo impacto, fácil – comandos simples, sem procedimentos complexos– Flashback Query, Table, Transaction, Database, Drop– Ex.: SQL> flashback database to <timestamp>;
Series10
20
40
60
80
Tempo de Correção = Tempo do Erro + f(DB_SIZE)
Reco
very
Tim
e
Traditional Recovery
Flashback
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Agenda
Estratégia Oracle
Por Que Escolher o Banco Enterprise?
Alta Disponibilidade e Continuidade de Negócios
Performance
Gerenciamento
1
2
3
4
5
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Paralelismo
100%
0%
0%
0%
Uso de CPU: 25%
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
100%
Paralelismo
100%
100%
100%
Uso de CPU: 100%
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 22
Advanced Compression
xxx xxxxxxx xxxxxxxx xxx
xxx xxxxxxx xxxxxxxx xxx
xxx xxxxxxx xxxxxxxx xxx
xxx xxxxxxx xxxxxxxx xxx
xxx xxxxxxx xxxxxxxx xxx
xxx xxxxxxx xxxxxxxx xxx
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 23
Advanced Compression
• 2 a 4x de compressão• Economia de disco e memória• Melhora performance• Compressão de backup• Transparente para a aplicação
xxx xxxxxxx xxxxxxxx xxx
xxx xxxxxxx xxxxxxxx xxx
xxx xxxxxxx xxxxxxxx xxx
xxx xxxxxxx xxxxxxxx xxx
xxx xxxxxxx xxxxxxxx xxx
xxx xxxxxxx xxxxxxxx xxx
xxx xxx xxx xxxxxx xxx xxx xxxxxx xxx xxx xxxxxx xxxxxxx xxxxxxxx xxx
xxx xxxxxxx xxxxxxxx xxx
xxx xxxxxxx xxxxxxxx xxx
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Partitioning
ORDERS
Aplicação
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Partitioning
• Quebra tabelas grandes em partições
• Mais simples de gerenciar• Melhora performance• Transparente para a aplicação
ORDERS
Jan Feb
Aplicação
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Benefícios CombinadosAdvanced Compression + Partitioning
AdvancedCompression
Partitioning
100 GB
25 ~ 50 GB
2,5 ~ 5 GB
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
TesteO Efeito do Oracle Database Enterprise Edition
No Edition Enabled function Cores
1 SE Standard Edition RAC 12core x 2server(24core)
2 EE EE + Parallel Execution 2core x 1server (2core)
3 EE EE RAC + Internode Parallel Execution 2core x 2server(4core)
4 EE EE RAC + Internode Parallel Execution + Partitioning Option
2core x 2server(4core)
5 EE EE RAC + Internode Parallel Execution + Partitioning Option + Advanced Compression
Option
2core x 2server(4core)
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Volumetria
• Data VolumeDepartments
11,220rows
Time
1,095rows( 365days×3years )
Buyers
500,000 件
Products
10,000,000 件
Ordersfact
1,000,000,000rows( 1Mrows×28day×36month )
108GB( 3GB / month )※In case of using partitioning option, we create this table by range (1 month range) & hash composite partition table
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
A ConsultaTop 10 de um mês de dados de pedidos e compradores
select D1.c1 as c1, D1.c2 as c2 from (select D1.c2 as c1,D1.c1 as c2, Case when D1.c2 is not null then Rank() OVER ( ORDER BY D1.c2 DESC NULLS LAST ) end as c3 from ( select sum(T862.AMOUNT) as c1,T812.BUYERNAME as c2 from TIME T898, BUYERS T812, ORDERSFACT T862 where ( T812.BUYERID = T862.BUYERID and T862.TIMEID = T898.TIMEID and T898.MONTH = ? and T898.YEAR = ? ) group by T812.BUYERNAME) D1) D1 where ( D1.c3 <= 10 ) order by c2 desc;
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
• No caso do Standard Edition, apenas 1 core x 1 servidor é utilizado. O tempo de resposta foi 208 segundos.
ResultadosNo1: Standard Edition RAC (12core x 2server)
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
ResultadosNo2: Enterprise Edition (2core x 1server)
• No ambiente restrito a 2 cores, a performance melhorou para 87 segundos usando o paralelismo do banco Enterprise.
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
• Executando o paralelismo entre nós, usamos 2 cores x 2 servidores, melhorando a performance para 53 segundos. O gargalo agora é I/O.
ResultadosNo3: Enterprise Edition RAC (2core x 2server)
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
ResultadosNo4: EE RAC + Partitioning Option (2core x 2server)
• Usando o Partitioning, reduzimos o I/O de 108 GB para 3 GB, e melhoramos a performance para 16 segundos.
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
• Adcionalmente, com o Advanced Compression conseguimos reduzir ainda mais I/O, melhorando a performance para 12 segundos.
ResultadosNo5: EE RAC+Partitioning /Advanced Comp (2core x 2server)
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
SE 24 core EE 2 core RAC 4core RAC 4core + Partitioning RAC 4core + Part/Advanced Comp0
50
100
150
200
250
Elapsed Ti
me(sec)
208s
87s53s
16s 12s
ResultadosMelhoria Contínua: DBEE + options
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Agenda
Estratégia Oracle
Por Que Escolher o Banco Enterprise?
Alta Disponibilidade e Continuidade de Negócios
Performance
Gerenciamento
1
2
3
4
5
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Diagnostic and Tuning PackOracle Diagnostics Pack for Database
Automatic Database Diagnostic Monitor (ADDM)
Automatic Workload Repository (AWR)
Automatic Session History (ASH)
Oracle Tuning Pack for Database
SQL Tuning Advisor
SQL Access Advisor
Realtime SQL Monitoring
Automatic SQL TuningTempo pararesolução
Correção
Investigação e planejamento
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Exemplos de Problemas Diagnosticados Automaticamente
Top SQL I/O Issues
Parsing Configuration Issues
Application Usage
Excessive Logon/Logoff
Undersized Memory
Hot Blocks and Objects
RAC Service Issues
Locks & ITL contention
Checkpoint causes
PL/SQL, Java Time
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Automatic SQL Tuning
Automatic SQL Tuning• Captures high-load SQL• Tunes SQL using SQL
Profiles• Implements improved
SQL plans (optional)
Performance benefit of advice
provided
SQL Profiling tunes execution plan
without changing SQL text
Enables transparent tuning for packaged
applications
Applications
SQL
High-Load
Packaged Apps +SQL Profile
Customizable Apps + SQL Advice
Customizable Apps + Indexes & MVs + Partitions
Tuned SQL
Automatic Tuning Optimizer
Auto SQL Tuning
Auto SQL AnalysisAccess
Analysis
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Em resumo• O Oracle Database Enterprise Edition...
– Garante a operatividade 24x7 do banco de dados, protegendo contra todos os tipos de indisponibilidade
– Oferece a melhor performance, extraindo ao máximo os recursos do hardware disponível
– Possui recursos de auto-gerenciamento e auto-melhoria, diminuindo o esforço da equipe técnica para “apagar incêndios”, permitindo o time focar em tarefas mais nobres e em projetos estratégicos
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |
Dúvidas
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. |