29
Oracle Autonomous Database Cloud 101 Matheus Boesing

Oracle Autonomous DatabaseCloud 101matheusdba.com.br/recursos/GUORS_AutonomousDatabase.pdfOracle Database11g Performance Tuning Certified Expert (OCE) Oracle Real Application Clusters

  • Upload
    others

  • View
    15

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Oracle Autonomous DatabaseCloud 101matheusdba.com.br/recursos/GUORS_AutonomousDatabase.pdfOracle Database11g Performance Tuning Certified Expert (OCE) Oracle Real Application Clusters

OracleAutonomousDatabase Cloud 101

MatheusBoesing

Page 2: Oracle Autonomous DatabaseCloud 101matheusdba.com.br/recursos/GUORS_AutonomousDatabase.pdfOracle Database11g Performance Tuning Certified Expert (OCE) Oracle Real Application Clusters

MatheusBoesing

@matheusdba

linkedin.com/in/matheusboesing/

[email protected]

OracleDatabase12cAdministratorCertified Professional (OCP)OracleDatabase SQLCertified Expert(OCE)OracleDatabase11gPerformanceTuning Certified Expert(OCE)OracleRealApplication Clusters11gCertified Implementation Specialist (OCS)OracleDatabase11gCertified Implementation Specialist (OCS)OracleDatabase11gAdministratorCertified Professional (OCP)OracleDatabase11gAdministratorCertified Associate (OCA)EXIN:Certified Integrator Secure Cloud ServicesEXIN:Cloud Computing FoundationITIL®Foundation Certificate inITServiceManagementISO/IEC20000– ITServiceManagementFoundationISO/IEC27002– Information SecurityFoundationEXIN:GreenITCitizenCOBIT4.1Foundation forITServicesMicrosoftTechnologyAssociate – SQLServer(MTA)

Page 3: Oracle Autonomous DatabaseCloud 101matheusdba.com.br/recursos/GUORS_AutonomousDatabase.pdfOracle Database11g Performance Tuning Certified Expert (OCE) Oracle Real Application Clusters

Pythian

Systems currently managed by Pythian

EXPERIENCED

Pythian experts in 35 countries

GLOBAL

Millennia of experience gathered and shared

over 19 years

EXPERTS

11,800 2400

Page 4: Oracle Autonomous DatabaseCloud 101matheusdba.com.br/recursos/GUORS_AutonomousDatabase.pdfOracle Database11g Performance Tuning Certified Expert (OCE) Oracle Real Application Clusters

Segunda Terça Quarta Quinta Sexta

Database Managementand Performance(15)

7autores |+350posts|12kaccessos/mês |184países

Page 5: Oracle Autonomous DatabaseCloud 101matheusdba.com.br/recursos/GUORS_AutonomousDatabase.pdfOracle Database11g Performance Tuning Certified Expert (OCE) Oracle Real Application Clusters

AGENDA

@matheusdba [email protected]

• Contexto - Cloud

• Oracle Autonomous Database Cloud: O que é?

• O que ele faz e como?

• O que não me dizem que ele faz mas ele faz?

• Mitos x Verdades

• Como encarar isso tudo?

• Considerações

Page 6: Oracle Autonomous DatabaseCloud 101matheusdba.com.br/recursos/GUORS_AutonomousDatabase.pdfOracle Database11g Performance Tuning Certified Expert (OCE) Oracle Real Application Clusters

SAFEHARBORSTATEMENT

@matheusdba [email protected]

Tim Hall

Page 7: Oracle Autonomous DatabaseCloud 101matheusdba.com.br/recursos/GUORS_AutonomousDatabase.pdfOracle Database11g Performance Tuning Certified Expert (OCE) Oracle Real Application Clusters

”CLOUD”

@matheusdba [email protected]

Page 8: Oracle Autonomous DatabaseCloud 101matheusdba.com.br/recursos/GUORS_AutonomousDatabase.pdfOracle Database11g Performance Tuning Certified Expert (OCE) Oracle Real Application Clusters

”CLOUD”

@matheusdba [email protected]

2025 por Mark Hurd• 80% of all production apps will be in the cloud. “Today it’s about 25 percent”.

• Two software-as-a-service (SaaS) suite providers will have 80% of the cloud

enterprise application market.

• 100% of software development/testing efforts will be conducted in the cloud.

• 100% of enterprise data will be stored virtually in the cloud.

• The enterprise cloud will be the most secure IT environment.

Page 9: Oracle Autonomous DatabaseCloud 101matheusdba.com.br/recursos/GUORS_AutonomousDatabase.pdfOracle Database11g Performance Tuning Certified Expert (OCE) Oracle Real Application Clusters

2025 por Mark Hurd• 80% of all production apps will be in the cloud. “Today it’s about 25 percent”.

• Two software-as-a-service (SaaS) suite providers will have 80% of the cloud

enterprise application market.

• 100% of software development/testing efforts will be conducted in the cloud.

• 100% of enterprise data will be stored virtually in the cloud.

• The enterprise cloud will be the most secure IT environment.

”CLOUD”

@matheusdba [email protected]

Page 10: Oracle Autonomous DatabaseCloud 101matheusdba.com.br/recursos/GUORS_AutonomousDatabase.pdfOracle Database11g Performance Tuning Certified Expert (OCE) Oracle Real Application Clusters

2025 por Mark Hurd• 80% of all production apps will be in the cloud. “Today it’s about 25 percent”.

• Two software-as-a-service (SaaS) suite providers will have 80% of the cloud

enterprise application market.

• 100% of software development/testing efforts will be conducted in the cloud.

• 100% of enterprise data will be stored virtually in the cloud.

• The enterprise cloud will be the most secure IT environment.

”CLOUD”

@matheusdba [email protected]

Page 11: Oracle Autonomous DatabaseCloud 101matheusdba.com.br/recursos/GUORS_AutonomousDatabase.pdfOracle Database11g Performance Tuning Certified Expert (OCE) Oracle Real Application Clusters

2025 por Mark Hurd• 80% of all production apps will be in the cloud. “Today it’s about 25 percent”.

• Two software-as-a-service (SaaS) suite providers will have 80% of the cloud

enterprise application market.

• 100% of software development/testing efforts will be conducted in the cloud.

• 100% of enterprise data will be stored virtually in the cloud.

• The enterprise cloud will be the most secure IT environment.

AUTOMAÇÃO

”CLOUD”

@matheusdba [email protected]

"+Something else...”

Page 12: Oracle Autonomous DatabaseCloud 101matheusdba.com.br/recursos/GUORS_AutonomousDatabase.pdfOracle Database11g Performance Tuning Certified Expert (OCE) Oracle Real Application Clusters

2025 por Mark Hurd• 80% of all production apps will be in the cloud. “Today it’s about 25 percent”.

• Two software-as-a-service (SaaS) suite providers will have 80% of the cloud

enterprise application market.

• 100% of software development/testing efforts will be conducted in the cloud.

• 100% of enterprise data will be stored virtually in the cloud.

• The enterprise cloud will be the most secure IT environment.

AUTOMAÇÃO

”CLOUD”

@matheusdba [email protected]

"+Something else...”

Page 13: Oracle Autonomous DatabaseCloud 101matheusdba.com.br/recursos/GUORS_AutonomousDatabase.pdfOracle Database11g Performance Tuning Certified Expert (OCE) Oracle Real Application Clusters

”CLOUD”

@matheusdba [email protected]

Page 14: Oracle Autonomous DatabaseCloud 101matheusdba.com.br/recursos/GUORS_AutonomousDatabase.pdfOracle Database11g Performance Tuning Certified Expert (OCE) Oracle Real Application Clusters

OracleAutonomous Database Cloud

@matheusdba [email protected]

• Autonomous Data Warehouse Cloud Service (2018)

• Autonomous NoSQL Database Cloud Service (2018)

• Autonomous OLTP Database Cloud Service (June/2018)

• Autonomous Express Database Cloud Service (?)

Hã?

Redshift (AWS) & Cloud Spanner (GCP)

”O usuário define a política e o banco de dados se gerencia”.• Critical Mission

• Lower Cost

Page 15: Oracle Autonomous DatabaseCloud 101matheusdba.com.br/recursos/GUORS_AutonomousDatabase.pdfOracle Database11g Performance Tuning Certified Expert (OCE) Oracle Real Application Clusters

OracleAutonomous Database Cloud

@matheusdba [email protected]

• Autonomous Data Warehouse Cloud Service (2018)

• Autonomous NoSQL Database Cloud Service (2018)

• Autonomous OLTP Database Cloud Service (June/2018)

• Autonomous Express Database Cloud Service (?)

Hã?

Redshift (AWS) & Cloud Spanner (GCP)

”O usuário define a política e o banco de dados se gerencia”.• Critical Mission

• Lower Cost

Page 16: Oracle Autonomous DatabaseCloud 101matheusdba.com.br/recursos/GUORS_AutonomousDatabase.pdfOracle Database11g Performance Tuning Certified Expert (OCE) Oracle Real Application Clusters

OracleAutonomous Database Cloud

@matheusdba [email protected]

• Baixo Risco

• Cybersecurity

• No-Delay Patching

• Roubo de Dados

• Intervenção Humana

• Baixo Custo• Tempo é $

• BYOL (Créditos + 30% desc)

• ½ AWS - Contrato

Qual aEstratégia?

https://www.youtube.com/watch?v=HEupUSSSEBo

”Osmaioresroubosdedadosdahistóriaforamfeitosapósopatchdecorreçãodatecnologiaemquestãotersidopublicado.”(LarryEllisson)

Page 17: Oracle Autonomous DatabaseCloud 101matheusdba.com.br/recursos/GUORS_AutonomousDatabase.pdfOracle Database11g Performance Tuning Certified Expert (OCE) Oracle Real Application Clusters

OracleAutonomous Database Cloud

@matheusdba [email protected]

• Self-Driving, Self-Securing, Self-Reparing (+ Conceitos Cloud [Elasticidade, Pay-As-You-Go, ...])

• Seguro, Confiável, Baixo Custo*, Nenhuma Baixa Manutenção, Sem Menos Erros Humanos

• No Human Labor Much Less Labor: • Auto-Upgrade, Auto-Patch, Auto-Tune, Auto-SPU -> No Downtime

• Menos recursos que um humano

• No Much Less Human Error: J

• No Human Delay* à Lê, planeja, GMUD, aprovação, downtime

• SLA: 99,995% à 30 minutos/ano (Planned & Unplanned)

Em resumo(press)…

Page 18: Oracle Autonomous DatabaseCloud 101matheusdba.com.br/recursos/GUORS_AutonomousDatabase.pdfOracle Database11g Performance Tuning Certified Expert (OCE) Oracle Real Application Clusters

OracleAutonomous Database Cloud

@matheusdba [email protected]

COMO

Page 19: Oracle Autonomous DatabaseCloud 101matheusdba.com.br/recursos/GUORS_AutonomousDatabase.pdfOracle Database11g Performance Tuning Certified Expert (OCE) Oracle Real Application Clusters

OracleAutonomous Database Cloud

@matheusdba [email protected]

• 9i/10g:

• Automatic Maintenance Tasks (AMT)

• Automatic Memory Management (AMM)

• Automatic DB Diagnostic Monitor (ADDM)

• Automatic Workload Repository (AWR)

• Automatic Undo Tablespaces

• Automatic Segment Space Management

• Automatic Statistics Gathering

• Automatic Standby Management (DGBroker)

• Automatic Query Rewrite

• 11g/12c:

• Automatic SQL Tuning

• Automatic Workload Replay

• Automatic Capture of SQL Monitor

• Automatic Data Optimization

• Automatic Storage Indexes

• Automatic Columnar Cache

• Automatic Diagnostic Framework

• Automatic Refresh of Database Cloning

• Autonomous Health Framework

Quaisasfuncionalidades?(core)

Page 20: Oracle Autonomous DatabaseCloud 101matheusdba.com.br/recursos/GUORS_AutonomousDatabase.pdfOracle Database11g Performance Tuning Certified Expert (OCE) Oracle Real Application Clusters

OracleAutonomous Database Cloud

@matheusdba [email protected]

• Engineered Systems – ODA, Exadata

• Active Storage Management – ASM

• RAC & SCAN & Service Names

• Add/Remove Node, Rolling Patch, Migrate Services, …

• Active Dataguard & Data Guard Broker (Switchover / Failover)

• Transient Logical Standby – Major Upgrades

• TAF (Transparent Application Failover)

• Multinenant Architecture (PDB -> App)

• Unplug / Plug

• Resource Manager (Application Caging)

• Online Edition Based Redefinition

Oquemais?

• Database Vault/ Database Firewall

• Zero Data Loss

• Advanced Compression

• …

Page 21: Oracle Autonomous DatabaseCloud 101matheusdba.com.br/recursos/GUORS_AutonomousDatabase.pdfOracle Database11g Performance Tuning Certified Expert (OCE) Oracle Real Application Clusters

OracleAutonomous Database Cloud

@matheusdba [email protected]

• Autônomo:

• Automatizado: Últimos 2 slides

• + Machine Learning: ???

Autônomo xAutomático

”Preditivo baseado em padrões" (anomalias)

Page 22: Oracle Autonomous DatabaseCloud 101matheusdba.com.br/recursos/GUORS_AutonomousDatabase.pdfOracle Database11g Performance Tuning Certified Expert (OCE) Oracle Real Application Clusters

OracleAutonomous Database Cloud

@matheusdba [email protected]

• DB 12c à Cloud First

• A-DB 18c à Cloud Only

• Mas Private Cloud também é Cloud!

• On-Premise:

• Todas as features ”automáticas” estarão (poderão estar) disponíveis.

• Machine Learning não é possível

• Mas e a Private Cloud?

Comofaço pra ter em casa?

Page 23: Oracle Autonomous DatabaseCloud 101matheusdba.com.br/recursos/GUORS_AutonomousDatabase.pdfOracle Database11g Performance Tuning Certified Expert (OCE) Oracle Real Application Clusters

Mitosx Verdades

@matheusdba [email protected]

SIM!Vai acabar comotrabalho doDBA?

Alguns…

Page 24: Oracle Autonomous DatabaseCloud 101matheusdba.com.br/recursos/GUORS_AutonomousDatabase.pdfOracle Database11g Performance Tuning Certified Expert (OCE) Oracle Real Application Clusters

Mitosx Verdades

@matheusdba [email protected]

TodaCloudé Automatizada!

• AWS:

• RAC

• Active Data Guard

• Tuning – SQL Tuning

• …

Page 25: Oracle Autonomous DatabaseCloud 101matheusdba.com.br/recursos/GUORS_AutonomousDatabase.pdfOracle Database11g Performance Tuning Certified Expert (OCE) Oracle Real Application Clusters

@matheusdba [email protected]

"Oracle Database 18c makes DBAs far more productive. Numerous, major areas of database

administration have been either entirely automated or dramatically simplified. This is part of a larger

effort that actually began with the 12c release of the Oracle database. The accomplished goal of

Oracle 12c was to reduce the effort needed to administer an Oracle database by one half. The

accomplished goal of Oracle Database 18c was to reduce the effort by another half. More has been

invested in reducing administration costs in these two major database releases than in any other area

of functionality. Existing DBA staffs can now accomplish much more and deliver even higher quality

service to their end users.”

Oracle Database 10g Release 2: A Revolution in Database Technology.http://www.oracle.com/technetwork/issue-archive/2005/05-sep/bwp-overview-10gr2-060205-131882.pdf

(Adaptação – Ricardo Portilho)

10g-> 18c9i-> 12c

Mitosx VerdadesÉ Revolucionário?

Page 26: Oracle Autonomous DatabaseCloud 101matheusdba.com.br/recursos/GUORS_AutonomousDatabase.pdfOracle Database11g Performance Tuning Certified Expert (OCE) Oracle Real Application Clusters

@matheusdba [email protected]

"Oracle Database 18c makes DBAs far more productive. Numerous, major areas of database

administration have been either entirely automated or dramatically simplified. This is part of a larger

effort that actually began with the 12c release of the Oracle database. The accomplished goal of

Oracle 12c was to reduce the effort needed to administer an Oracle database by one half. The

accomplished goal of Oracle Database 18c was to reduce the effort by another half. More has been

invested in reducing administration costs in these two major database releases than in any other area

of functionality. Existing DBA staffs can now accomplish much more and deliver even higher quality

service to their end users.”

Oracle Database 10g Release 2: A Revolution in Database Technology.http://www.oracle.com/technetwork/issue-archive/2005/05-sep/bwp-overview-10gr2-060205-131882.pdf

(Adaptação – Ricardo Portilho)

10g-> 18c9i-> 12c

Mitosx VerdadesÉ Revolucionário?

Page 27: Oracle Autonomous DatabaseCloud 101matheusdba.com.br/recursos/GUORS_AutonomousDatabase.pdfOracle Database11g Performance Tuning Certified Expert (OCE) Oracle Real Application Clusters

Comoencarar isso tudo?

@matheusdba [email protected]

• Já está usando 12c? 12cR2? Comece por isso.

• Comece a usar novas versões nos ambientes internos o quanto antes.

• Use configurações ”default”. Dê um voto de confiança para a Oracle.

• Desapegue de velhos hábitos das versões antigas.

• Utilize todas as features (licenciadas) possíveis, especialmente as automatizadas.

• Tenha um cenário de testes (aplicação) sempre atualizado para testar novas versões.

• Mantenha-se atualizado.

• Vista a camisa mas não tatue. Conheça todas as tecnologias.

• Toda mudança pode causar 3 coisas.

Page 28: Oracle Autonomous DatabaseCloud 101matheusdba.com.br/recursos/GUORS_AutonomousDatabase.pdfOracle Database11g Performance Tuning Certified Expert (OCE) Oracle Real Application Clusters

Considerações Finais

@matheusdba [email protected]

• O nome é gourmetizado mas a idéia é a antiga. E boa.

• Tem algumas coisas que não sabemos como funciona. Como sempre.

• O DBA precisa se reinventar. Como sempre.

• O custo é superior por recurso, mas o desempenho é melhor (?).

• Oracle = Cloud, Cloud, Cloud.

• Seja o DBA que abraça a mudança e evolua com a tecnologia!

”Todo programa, quando acabado, estará obsoleto.”

Page 29: Oracle Autonomous DatabaseCloud 101matheusdba.com.br/recursos/GUORS_AutonomousDatabase.pdfOracle Database11g Performance Tuning Certified Expert (OCE) Oracle Real Application Clusters

@matheusdba

linkedin.com/in/matheusboesing/

[email protected]

[email protected]