oracle autonomous database 101 - sucesurs.org.brsucesurs.org.br/sites/default/files/2020-03/... ·...

25
Oracle Autonomous Database Cloud 101 Matheus Boesing

Upload: others

Post on 08-Jul-2020

36 views

Category:

Documents


0 download

TRANSCRIPT

Oracle AutonomousDatabase Cloud 101

Matheus Boesing

Matheus Boesing

@matheusdba

linkedin.com/in/matheusboesing/

[email protected]

Oracle Database 12c Administrator Certified Professional (OCP)Oracle Database SQL Certified Expert (OCE)Oracle Database 11g Performance Tuning Certified Expert (OCE)Oracle Real Application Clusters 11g Certified Implementation Specialist (OCS)Oracle Database 11g Certified Implementation Specialist (OCS)Oracle Database 11g Administrator Certified Professional (OCP)Oracle Database 11g Administrator Certified Associate (OCA)EXIN: Certified Integrator Secure Cloud ServicesEXIN: Cloud Computing FoundationITIL® Foundation Certificate in IT Service ManagementISO/IEC 20000 – IT Service Management FoundationISO/IEC 27002 – Information Security FoundationEXIN: Green IT CitizenCOBIT 4.1 Foundation for IT ServicesMicrosoft Technology Associate – SQL Server (MTA)

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

Segunda Terça Quarta Quinta Sexta

Database Management and Performance (15)

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

Segunda Terça Quarta Quinta Sexta

Database Management and Performance (15)

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

[email protected]

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

SAFE HARBOR STATEMENT

@matheusdba [email protected]

Tim Hall

”CLOUD”

@matheusdba [email protected]

”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.

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]

”CLOUD”

@matheusdba [email protected]

Oracle Autonomous 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

Oracle Autonomous 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 a Estratégia?

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

”Os maiores roubos de dados da história foram feitos após o patch de correção da tecnologia em questão ter sido publicado.” (Larry Ellisson)

Oracle Autonomous 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: ☺

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

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

Em resumo (press)…

Oracle Autonomous Database Cloud

@matheusdba [email protected]

COMO

Oracle Autonomous 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

Quais as funcionalidades? (core)

Oracle Autonomous 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

O que mais?

• Database Vault/ Database Firewall

• Zero Data Loss

• Advanced Compression

• …

Oracle Autonomous Database Cloud

@matheusdba [email protected]

• Autônomo:

• Automatizado: Últimos 2 slides

• + Machine Learning: ???

Autônomo x Automático

”Preditivo baseado em padrões" (anomalias)

Oracle Autonomous 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?

Como faço pra ter em casa?

Mitos x Verdades

@matheusdba [email protected]

SIM!

Vai acabar com o trabalho do DBA?

Alguns…

Mitos x Verdades

@matheusdba [email protected]

Toda Cloud é Automatizada!

• AWS:

• RAC

• Active Data Guard

• Tuning – SQL Tuning

• …

@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

Mitos x VerdadesÉ Revolucionário?

Como encarar 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.

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.”

@matheusdba

linkedin.com/in/matheusboesing/

[email protected]