SlideShare ist ein Scribd-Unternehmen logo
1 von 47
Downloaden Sie, um offline zu lesen
Hands-on lab
Oracle Autonomous Database
Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted1
Diego “Perico” Sanchez
Master Principal Sales Consultant
Oracle Argentina – Public Sector
diego.sanchez@oracle.com
/in/pericosanchez
Julio 2020
Declaración de puerto seguro - Información específica para España y Latinoamérica
La información recopilada por Oracle e incluida en el siguiente documento ha sido recopilada a través de un analista externo del sector y con el único fin de
obtener datos de interés sobre la dirección general de nuestros productos. Estos datos tienen fines puramente informativos, y no deben utilizarse para
diferenciar los productos de Oracle de los de otras empresas.
Oracle ha llevado a cabo una prueba conceptual con el más alto nivel de minuciosidad acorde al estándar del sector, pero no se garantiza que la información
del siguiente texto carezca de errores. Oracle no declara ni garantiza que los resultados de la prueba sean reproducibles o que puedan probarse lógicamente.
Oracle no proporcionará ningún dato relacionado con la prueba, entre otros: el método, el razonamiento, la idea, la estrategia seguida en la prueba o la
política de la prueba.
El propósito del siguiente texto es determinar la dirección general de nuestros productos. El presente documento ha sido redactado con fines informativos
únicamente y no se podrá incorporar a ningún contrato. Además, no supondrá compromiso alguno de entrega de ningún material, código o funcionalidad,
ni deberá utilizarse como base para la adopción de decisiones de compra. El desarrollo, lanzamiento, precio y plazo de puesta a disposición de cualesquiera
funciones o funcionalidades descritas para productos de Oracle podría cambiar y quedará a la sola discreción de Oracle Corporation.
Este material es la traducción de una presentación redactada originalmente en inglés para la sede de Oracle en Estados Unidos. La traducción se ofrece a
modo de cortesía y puede contener errores. Es posible que no todas las funciones y funcionalidades estén disponibles en todos los países ni en todos los
idiomas. Si tiene alguna duda, póngase en contacto con su representante de ventas de Oracle.
Declaración de puerto seguro - General
2 Copyright © 2020, Oracle y/o sus filiales. Todos los derechos reservados.
Copyright © 2020 Oracle and/or its affiliates.
5
4
3
2
1
Hands-on lab
Break
Demo
Under the hood
Introduction to Autonomous Database
Agenda
Copyright © 2019 Oracle and/or its affiliates.
Autonomous Database
Introduction
Copyright © 2020 Oracle and/or its affiliates.
Pionero en tecnologías de Internet, estratega y periodista
Creador del término “Podcasting” en 2004
Ben Hammersley
“Hace 5 años los autos sin
conductor eran ciencia ficción, hoy
son una realidad”
Oracle Spent Last 20 Years
Automating Database Technology
Copyright © 2019 Oracle and/or its affiliates.
• Automatic Query Rewrite
• Automatic Undo Management
• Autonomous Health Framework
• Automatic Diagnostic Framework
• Automatic Refresh of Clones
• Automatic SQL Tuning
• Automatic Workload Capture/Replay
• Automatic SQL Plan Management
• Automatic Capture of SQL Monitor
• Automatic Data Optimization
• Automatic Memory Management
• Automatic Segment Space Mgmt
• Automatic Statistics Gathering
• Automatic Storage Management
• Automatic Workload Repository
• Automatic Diagnostic Monitor
• Automatic Columnar Flash
• Automatic IM population
• Automatic Application Continuity
9i
10g
11g
12c
18c
• Automatic Indexes
• SQL Quarantine
• Real-Time Statistics 19c
Oracle Spent Last 10 Years Automating
Database Infrastructure
Copyright © 2019 Oracle and/or its affiliates.
• Smart Scan
• Infiniband Scale-Out
• Database Aware Flash
Cache
• Storage Indexes
• Hybrid Columnar Data
• IO Priorities
• Data Mining Offload
• Offload Decryption
• Direct-to-wire Protocol
• JSON and XML offload
• Instant failure detection
• Network Resource Mgmt
• Prioritized File Recovery
• In-Memory Columnar in Flash
• Smart Fusion Block Transfer
• Exadata Cloud Service
2008
2019
Eliminates All the Complexity of Mission Critical Databases
Autonomous Database Completes the Job
Copyright © 2019 Oracle and/or its affiliates.
Automated
Data Center
Operations and
Machine Learning
Complete
Infrastructure
Automation
Complete
Database
Automation
ORACLE
AUTONOMOUS
DATABASE
Oracle
Cloud
Autonomous Database Key Attributes
Self-Driving
Automates all database and
infrastructure management,
monitoring, tuning
Self-Securing
Protects from both
external attacks and
malicious internal users
Self-Repairing
Protects from all
downtime including
planned maintenance
Spend Less, Reduce Risk, Innovate More
Copyright © 2019 Oracle and/or its affiliates.
Traditionally DBAs are Responsible for:
10
• Tasks Specific to Business and Innovation
– Architecture, planning, data modeling
– Data security and lifecycle management
– Application related tuning
– End-to-End service level management
• Maintenance Tasks
– Configuration and tuning of systems, network, storage
– Database provisioning, patching
– Database backups, H/A, disaster recovery
– Database optimization
Value Scale
Innovation
Maintenance
• Maintenance Tasks
– Configuration and tuning of systems, network, storage
– Database provisioning, patching
– Database backups, H/A, disaster recovery
– Database optimization
11
Autonomous Database Removes Generic Tasks
• Tasks Specific to Business and Innovation
– Architecture, planning, data modeling
– Data security and lifecycle management
– Application related tuning
– End-to-End service level management
Value Scale
Innovation
Maintenance
One Autonomous Database – Two Deployment Choices
ORACLE
AUTONOMOUS
DATABASE
DedicatedServerless
Ultra-Simple and Elastic
Customizable Private Database
Cloud in Public Cloud
Copyright © 2019 Oracle and/or its affiliates.
Autonomous Database Serverless – Primary Benefits
• Simple
– Oracle automates and manages everything
– Customer just chooses database compute, storage, and region
• Elastic
– Low minimum size - 1 OCPU
– Low minimum time commitment - 1 hour
– Automatically scales online for true pay-per-use
Copyright © 2019 Oracle and/or its affiliates.
Autonomous Database Dedicated – Primary Benefits
• Provides your own Database Cloud running on
dedicated Exadata Infrastructure
• Highest Isolation
• Customizable Operational Policies
Copyright © 2019 Oracle and/or its affiliates.
One Autonomous Database – Optimized by Workload
ORACLE
AUTONOMOUS
DATABASE
Autonomous Transaction
Processing - ATP
Autonomous Data
Warehouse - ADW
Best for all Analytic Workloads:
• Data Warehouse, Data Mart
• Data Lake, Machine Learning
Best for TP and Mixed Workloads:
• Transactions, Batch, Reporting
• IoT, Machine Learning
Copyright © 2019 Oracle and/or its affiliates.
16
Empowering Developers
• APEX & ORDS
• SQL Dev-web
• Developer workbench and modeling
• Performance Hub SQL analysis
• Service SDKs
• Java, Python, Node, Go, .NET, Ruby
• See Developer Guide for TAC setup
17
Developer ready with APEX & ORDS
Currently, unique to Dedicated
18
Automatic Indexing
Auto Indexing On Netsuite
• Ran a complex Netsuite workload, and compared Auto Indexing to tuned system
• 17,542 SQL statements, 1,852 tables, 8,151 indexes - years of tuning to create these indexes
• Before running on Auto Indexing, all indexes were dropped
Auto Indexing achieved near-identical performance to manual tuning
Auto Index DB stays tuned as workload changes
Elapsed
Time
(sec)
Manually
tuned
Auto Index
11551172
Indexes
Used
Manuall
y tuned
Auto Index
1733
4663
Copyright © 2019 Oracle and/or its affiliates.
Auto Indexing On Accounts Receivable
• Workload: 4,889 SQL statements running against 35 tables
• Indexes:
• Application code created 49 indexes of which 17 were used
• Automatic indexing created 5 indexes, all of which were used
Elapsed
Time
(sec)
Manually
tuned
Auto Index
4
123
Indexes
Used
Manuall
y tuned 5
17
Auto Index
Copyright © 2019 Oracle and/or its affiliates.
Under the Hood
Database Configuration
Autonomous Database Platform
• RAC on Exadata
• Autonomous Database decides
where to place each database during
provisioning
• Fewer number of instances preferred
when possible
• Databases may be open on one
node
• Still RAC enabled
Copyright © 2019 Oracle and/or its affiliates.
Database Parameters
• All parameters set to optimal values based on workload type
• May be different than regular database defaults
• Users can only change a limited number of parameters
Copyright © 2019 Oracle and/or its affiliates.
Allowed Parameters
APPROX_FOR_AGGREGATION
APPROX_FOR_COUNT_DISTINCT
APPROX_FOR_PERCENTILE
FIXED_DATE
MAX_IDLE_TIME
NLS_CALENDAR
NLS_COMP
NLS_CURRENCY
NLS_DATE_FORMAT
NLS_DATE_LANGUAGE
NLS_DUAL_CURRENCY
NLS_ISO_CURRENCY
NLS_LANGUAGE
NLS_LENGTH_SEMANTICS
NLS_NCHAR_CONV_EXCP
NLS_NUMERIC_CHARACTERS
NLS_SORT
NLS_TERRITORY
NLS_TIMESTAMP_FORMAT
NLS_TIMESTAMP_TZ_FORMAT
OPTIMIZER_CAPTURE_SQL_PLAN_BASE
LINES
OPTIMIZER_IGNORE_HINTS
OPTIMIZER_IGNORE_PARALLEL_HIN
TS
PLSCOPE_SETTINGS
PLSQL_CCFLAGS
PLSQL_DEBUG
PLSQL_OPTIMIZE_LEVEL
PLSQL_WARNINGS
STATISTICS_LEVEL
TIME_ZONE
Optimizer Hints
• Optimizer and PARALLEL hints work differently based on
workload type
• Users can override by changing two parameters
Copyright © 2019 Oracle and/or its affiliates.
TRUE FALSE
optimizer_ignore_hints Ignores optimizer hints Honors optimizer hints
optimizer_ignore_parallel_hint
s
Ignores PARALLEL
hints
Honors PARALLEL hints
ADW Ignores optimizer and PARALLEL hints
ATP Honors optimizer and PARALLEL hints
Optimizer Statistics
• Stats are gathered automatically for direct load operations
• create table … as select …;
• insert /*+ append */ into … select …;
• Parallel inserts with or without the append hint
• Data Pump Import loads
• dbms_cloud loads
Copyright © 2019 Oracle and/or its affiliates.
Optimizer Statistics in 19c
• Real-time Statistics Collection
• Gathers a subset of optimizer statistics for conventional DML operations
• Number of rows, MAX and MIN column values, etc.
• High-frequency Statistics Collection
• Gathers full optimizer statistics every 15 minutes if statistics are stale
Copyright © 2019 Oracle and/or its affiliates.
User Management
User Management
• Pre-defined ADMIN user for database management
• Subset of SYSDBA privileges
• No SYS, SYSTEM access for users
Copyright © 2019 Oracle and/or its affiliates.
User Management
• Pre-defined role, DWROLE, for DW developers
• Includes common developer privileges
Copyright © 2019 Oracle and/or its affiliates.
DWROLE Privileges
CREATE ANALYTIC VIEW
CREATE TABLE
CREATE HIERARCHY
CREATE JOB
ALTER SESSION
CREATE ATTRIBUTE DIMENSION
CREATE TYPE
CREATE VIEW
CREATE PROCEDURE
CREATE SESSION
CREATE SEQUENCE
CREATE MINING MODEL
CREATE TRIGGER
CREATE SYNONYM
grant dwrole to sales identified by WelcomeSalesADW19;
Storage Management
Storage Management
• Provisioned storage size is net usable space with 3x redundancy
• Includes system tablespaces and the local filesystem
• 10% overage allowed
• Exadata flash size is proportional to the storage size
Copyright © 2019 Oracle and/or its affiliates.
Set storage size at provisioning time Scale up/down any time without downtime
Tablespace Management
• All tablespaces created and managed automatically
• Tablespace sizes depend on the provisioned storage size
• All tablespaces auto extend when needed
• Users cannot create or drop tablespaces
• All objects are created in DATA automatically
• Multiple DATA tablespaces created when storage size exceeds 32 TB
Copyright © 2019 Oracle and/or its affiliates.
Tablespaces from a Sample Autonomous Database
SYSTEM
SYSAUX
UNDOTBS1
TEMP
DATA
DBFS_DATA
SAMPLESCHEMA
UNDO_8
Table/Index Storage Attributes
• No need to worry about storage attributes
• Optimized and managed by Autonomous
Database
• Table/index storage attributes ignored
• Tablespace, INITIAL, NEXT, PCTFREE, PCTUSE,
etc.
Copyright © 2019 Oracle and/or its affiliates.
Compression
• Compression configured automatically based on ADB type
• Users can override using create/alter table commands, all
compression types available
Copyright © 2019 Oracle and/or its affiliates.
ADW Hybrid Columnar Compression, Query
High
ATP No compression
create table orders_history … column store compress for archive high;
Resource Management
Resource Allocation
• System resources allocated based on number of OCPUs
dynamically
• CPU, IO, number of sessions, SGA, PGA, etc.
• More OCPUs provide more resources
Copyright © 2019 Oracle and/or its affiliates.
Set CPU core count at provisioning time Scale up/down any time without downtime
Auto Scaling
• Enables the database to use up to 3x CPU/IO resources
immediately when needed by the workload
• Pay for exactly what you use
• Helps CPU or IO bound workloads
• Does not scale up other resources. Provision more OCPUs to
scale up these.
• Number of sessions
• Concurrency
• PGA, SGA, etc.
Copyright © 2019 Oracle and/or its affiliates.
SERVICE
DEFAULT SQL
PARALLELISM
SHARE OF
RESOURCES
CONCURRENT NO
OF QUERIES/DML
TPURGENT MANUAL 12 100 X OCPUs
TP 1 8 100 X OCPUs
HIGH OCPUs 4 3
MEDIUM 4 2 1.25 X OCPUs
LOW 1 1 100 X OCPUs
OLTP
DW, Batch,
Reporting
Pre-Defined Database Services
• Applications connect to a pre-defined database service
• e.g. jdbc:oracle:thin:@dbname_high?TNS_ADMIN=/Users/test/wallet_dbname
• Database services control resource usage
• SQL parallelism, CPU/IO shares, max concurrent queries/DML
Copyright © 2019 Oracle and/or its affiliates.
Which Service to Use
• OLTP
• Connect to TP or TPURGENT based on priority requirements
• DW
• Connect to HIGH, MEDIUM, LOW based on concurrency requirements
Copyright © 2019 Oracle and/or its affiliates.
HIGH
• Low concurrency
• More resources
per user
MEDIUM
• Higher concurrency
• Fewer resources per
user
LOW
• Highest concurrency
• Fewest resources per
user
Monitoring and Notifications
Service Console
• Simple monitoring graphs for key service metrics
• Accessible by database users without a cloud account
Copyright © 2019 Oracle and/or its affiliates.
Performance Hub
• ASH Analytics and SQL Monitoring
• Accessible by users with cloud accounts
Copyright © 2019 Oracle and/or its affiliates.
Demo + laboratorio
Manos a la obra !!
Copyright © 2020, Oracle y/o sus filiales. Todos los derechos reservados.44
Hands-on Labs:
Principal
• https://oracle.github.io/learning-library/data-management-
library/autonomous-database
Extras
• https://oracle.github.io/learning-library/data-management-library
• https://oracle.github.io/learning-library/oci-library
¡ Muchas gracias por
participar de este
hands-on !
Copyright © 2020, Oracle y/o sus filiales. Todos los derechos reservados.46
Diego “Perico” Sanchez
Master Principal Sales Consultant
Oracle Argentina – Public Sector
diego.sanchez@oracle.com
/in/pericosanchez
Oracle Autonomous Database  - introducción técnica y hands on lab

Weitere ähnliche Inhalte

Was ist angesagt?

AUSOUG - NZOUG-GroundBreakers-Jun 2019 - AI and Machine Learning
AUSOUG - NZOUG-GroundBreakers-Jun 2019 - AI and Machine LearningAUSOUG - NZOUG-GroundBreakers-Jun 2019 - AI and Machine Learning
AUSOUG - NZOUG-GroundBreakers-Jun 2019 - AI and Machine Learning
Sandesh Rao
 

Was ist angesagt? (20)

Top 20 FAQs on the Autonomous Database
Top 20 FAQs on the Autonomous DatabaseTop 20 FAQs on the Autonomous Database
Top 20 FAQs on the Autonomous Database
 
Oracle Data Protection - 1. část
Oracle Data Protection - 1. částOracle Data Protection - 1. část
Oracle Data Protection - 1. část
 
DBCS Office Hours - Modernization through Migration
DBCS Office Hours - Modernization through MigrationDBCS Office Hours - Modernization through Migration
DBCS Office Hours - Modernization through Migration
 
LAD -GroundBreakers-Jul 2019 - The Machine Learning behind the Autonomous Dat...
LAD -GroundBreakers-Jul 2019 - The Machine Learning behind the Autonomous Dat...LAD -GroundBreakers-Jul 2019 - The Machine Learning behind the Autonomous Dat...
LAD -GroundBreakers-Jul 2019 - The Machine Learning behind the Autonomous Dat...
 
AUSOUG - NZOUG-GroundBreakers-Jun 2019 - AI and Machine Learning
AUSOUG - NZOUG-GroundBreakers-Jun 2019 - AI and Machine LearningAUSOUG - NZOUG-GroundBreakers-Jun 2019 - AI and Machine Learning
AUSOUG - NZOUG-GroundBreakers-Jun 2019 - AI and Machine Learning
 
(Oracle) DBA and Other Skills Needed in 2020
(Oracle) DBA and Other Skills Needed in 2020(Oracle) DBA and Other Skills Needed in 2020
(Oracle) DBA and Other Skills Needed in 2020
 
Oracle RAC 19c and Later - Best Practices #OOWLON
Oracle RAC 19c and Later - Best Practices #OOWLONOracle RAC 19c and Later - Best Practices #OOWLON
Oracle RAC 19c and Later - Best Practices #OOWLON
 
Under the Hood of the Smartest Availability Features in Oracle's Autonomous D...
Under the Hood of the Smartest Availability Features in Oracle's Autonomous D...Under the Hood of the Smartest Availability Features in Oracle's Autonomous D...
Under the Hood of the Smartest Availability Features in Oracle's Autonomous D...
 
Oracle Solaris Simple, Flexible, Fast: Virtualization in 11.3
Oracle Solaris Simple, Flexible, Fast: Virtualization in 11.3Oracle Solaris Simple, Flexible, Fast: Virtualization in 11.3
Oracle Solaris Simple, Flexible, Fast: Virtualization in 11.3
 
The Oracle Autonomous Database
The Oracle Autonomous DatabaseThe Oracle Autonomous Database
The Oracle Autonomous Database
 
Oracle Solaris Cloud Management and Deployment with OpenStack
Oracle Solaris Cloud Management and Deployment with OpenStackOracle Solaris Cloud Management and Deployment with OpenStack
Oracle Solaris Cloud Management and Deployment with OpenStack
 
Introduction to AutoML and Data Science using the Oracle Autonomous Database ...
Introduction to AutoML and Data Science using the Oracle Autonomous Database ...Introduction to AutoML and Data Science using the Oracle Autonomous Database ...
Introduction to AutoML and Data Science using the Oracle Autonomous Database ...
 
Best Practices for the Most Impactful Oracle Database 18c and 19c Features
Best Practices for the Most Impactful Oracle Database 18c and 19c FeaturesBest Practices for the Most Impactful Oracle Database 18c and 19c Features
Best Practices for the Most Impactful Oracle Database 18c and 19c Features
 
Oracle Autonomous Data Warehouse Cloud Webex - with Demo
Oracle Autonomous Data Warehouse Cloud Webex - with DemoOracle Autonomous Data Warehouse Cloud Webex - with Demo
Oracle Autonomous Data Warehouse Cloud Webex - with Demo
 
Why Use an Oracle Database?
Why Use an Oracle Database?Why Use an Oracle Database?
Why Use an Oracle Database?
 
2020 – A Decade of Change
2020 – A Decade of Change2020 – A Decade of Change
2020 – A Decade of Change
 
Data meets AI - AICUG - Santa Clara
Data meets AI  - AICUG - Santa ClaraData meets AI  - AICUG - Santa Clara
Data meets AI - AICUG - Santa Clara
 
#dbhouseparty - Should I be building Microservices?
#dbhouseparty - Should I be building Microservices?#dbhouseparty - Should I be building Microservices?
#dbhouseparty - Should I be building Microservices?
 
Oracle Solaris Overview
Oracle Solaris OverviewOracle Solaris Overview
Oracle Solaris Overview
 
OOW16 - Testing Oracle E-Business Suite Best Practices [CON6713]
OOW16 - Testing Oracle E-Business Suite Best Practices [CON6713]OOW16 - Testing Oracle E-Business Suite Best Practices [CON6713]
OOW16 - Testing Oracle E-Business Suite Best Practices [CON6713]
 

Ähnlich wie Oracle Autonomous Database - introducción técnica y hands on lab

CON6492 - Oracle Database Public Cloud Services v1 1
CON6492 - Oracle Database Public Cloud Services v1 1CON6492 - Oracle Database Public Cloud Services v1 1
CON6492 - Oracle Database Public Cloud Services v1 1
David van Schalkwyk
 

Ähnlich wie Oracle Autonomous Database - introducción técnica y hands on lab (20)

Oracle RAC 19c - the Basis for the Autonomous Database
Oracle RAC 19c - the Basis for the Autonomous DatabaseOracle RAC 19c - the Basis for the Autonomous Database
Oracle RAC 19c - the Basis for the Autonomous Database
 
Why to Use an Oracle Database?
Why to Use an Oracle Database? Why to Use an Oracle Database?
Why to Use an Oracle Database?
 
Serverless patterns
Serverless patternsServerless patterns
Serverless patterns
 
Oracle Database 19c - poslední z rodiny 12.2 a co přináší nového
Oracle Database 19c - poslední z rodiny 12.2 a co přináší novéhoOracle Database 19c - poslední z rodiny 12.2 a co přináší nového
Oracle Database 19c - poslední z rodiny 12.2 a co přináší nového
 
The Changing Role of a DBA in an Autonomous World
The Changing Role of a DBA in an Autonomous WorldThe Changing Role of a DBA in an Autonomous World
The Changing Role of a DBA in an Autonomous World
 
#PCMVision: Oracle Hybrid Cloud Solutions
#PCMVision: Oracle Hybrid Cloud Solutions#PCMVision: Oracle Hybrid Cloud Solutions
#PCMVision: Oracle Hybrid Cloud Solutions
 
Get ready for_an_autonomous_data_driven_future_ext
Get ready for_an_autonomous_data_driven_future_extGet ready for_an_autonomous_data_driven_future_ext
Get ready for_an_autonomous_data_driven_future_ext
 
Simplify IT: Oracle SuperCluster
Simplify IT: Oracle SuperCluster Simplify IT: Oracle SuperCluster
Simplify IT: Oracle SuperCluster
 
Data meets AI - ATP Roadshow India
Data meets AI - ATP Roadshow IndiaData meets AI - ATP Roadshow India
Data meets AI - ATP Roadshow India
 
Enterprise Cloud transformation z pohledu Oracle
Enterprise Cloud transformation z pohledu OracleEnterprise Cloud transformation z pohledu Oracle
Enterprise Cloud transformation z pohledu Oracle
 
APEX Boston Meetup - October 1st, 2019
APEX Boston Meetup - October 1st, 2019APEX Boston Meetup - October 1st, 2019
APEX Boston Meetup - October 1st, 2019
 
Stream based Data Integration
Stream based Data IntegrationStream based Data Integration
Stream based Data Integration
 
Oracle Cloud Café hybrid Cloud 19 mai 2016
Oracle Cloud Café hybrid Cloud 19 mai 2016Oracle Cloud Café hybrid Cloud 19 mai 2016
Oracle Cloud Café hybrid Cloud 19 mai 2016
 
Oracle Management Cloud - HybridCloud Café - May 2016
Oracle Management Cloud - HybridCloud Café - May 2016Oracle Management Cloud - HybridCloud Café - May 2016
Oracle Management Cloud - HybridCloud Café - May 2016
 
Exadata z pohledu zákazníka a novinky generace X8M - 1. část
Exadata z pohledu zákazníka a novinky generace X8M - 1. částExadata z pohledu zákazníka a novinky generace X8M - 1. část
Exadata z pohledu zákazníka a novinky generace X8M - 1. část
 
Exploring All options to move your Oracle Databases to the Oracle Cloud
Exploring All options to move your Oracle Databases to the Oracle CloudExploring All options to move your Oracle Databases to the Oracle Cloud
Exploring All options to move your Oracle Databases to the Oracle Cloud
 
Oracle NoSQL
Oracle NoSQLOracle NoSQL
Oracle NoSQL
 
Systems oracle overview_hardware
Systems oracle overview_hardwareSystems oracle overview_hardware
Systems oracle overview_hardware
 
CON6492 - Oracle Database Public Cloud Services v1 1
CON6492 - Oracle Database Public Cloud Services v1 1CON6492 - Oracle Database Public Cloud Services v1 1
CON6492 - Oracle Database Public Cloud Services v1 1
 
Apex atp customer_presentation_wwc march 2019
Apex atp customer_presentation_wwc march 2019Apex atp customer_presentation_wwc march 2019
Apex atp customer_presentation_wwc march 2019
 

Kürzlich hochgeladen

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Kürzlich hochgeladen (20)

presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
Deploy with confidence: VMware Cloud Foundation 5.1 on next gen Dell PowerEdg...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 

Oracle Autonomous Database - introducción técnica y hands on lab

  • 1. Hands-on lab Oracle Autonomous Database Copyright © 2020, Oracle and/or its affiliates | Confidential: Internal/Restricted/Highly Restricted1 Diego “Perico” Sanchez Master Principal Sales Consultant Oracle Argentina – Public Sector diego.sanchez@oracle.com /in/pericosanchez Julio 2020
  • 2. Declaración de puerto seguro - Información específica para España y Latinoamérica La información recopilada por Oracle e incluida en el siguiente documento ha sido recopilada a través de un analista externo del sector y con el único fin de obtener datos de interés sobre la dirección general de nuestros productos. Estos datos tienen fines puramente informativos, y no deben utilizarse para diferenciar los productos de Oracle de los de otras empresas. Oracle ha llevado a cabo una prueba conceptual con el más alto nivel de minuciosidad acorde al estándar del sector, pero no se garantiza que la información del siguiente texto carezca de errores. Oracle no declara ni garantiza que los resultados de la prueba sean reproducibles o que puedan probarse lógicamente. Oracle no proporcionará ningún dato relacionado con la prueba, entre otros: el método, el razonamiento, la idea, la estrategia seguida en la prueba o la política de la prueba. El propósito del siguiente texto es determinar la dirección general de nuestros productos. El presente documento ha sido redactado con fines informativos únicamente y no se podrá incorporar a ningún contrato. Además, no supondrá compromiso alguno de entrega de ningún material, código o funcionalidad, ni deberá utilizarse como base para la adopción de decisiones de compra. El desarrollo, lanzamiento, precio y plazo de puesta a disposición de cualesquiera funciones o funcionalidades descritas para productos de Oracle podría cambiar y quedará a la sola discreción de Oracle Corporation. Este material es la traducción de una presentación redactada originalmente en inglés para la sede de Oracle en Estados Unidos. La traducción se ofrece a modo de cortesía y puede contener errores. Es posible que no todas las funciones y funcionalidades estén disponibles en todos los países ni en todos los idiomas. Si tiene alguna duda, póngase en contacto con su representante de ventas de Oracle. Declaración de puerto seguro - General 2 Copyright © 2020, Oracle y/o sus filiales. Todos los derechos reservados.
  • 3. Copyright © 2020 Oracle and/or its affiliates. 5 4 3 2 1 Hands-on lab Break Demo Under the hood Introduction to Autonomous Database Agenda
  • 4. Copyright © 2019 Oracle and/or its affiliates. Autonomous Database Introduction
  • 5. Copyright © 2020 Oracle and/or its affiliates. Pionero en tecnologías de Internet, estratega y periodista Creador del término “Podcasting” en 2004 Ben Hammersley “Hace 5 años los autos sin conductor eran ciencia ficción, hoy son una realidad”
  • 6. Oracle Spent Last 20 Years Automating Database Technology Copyright © 2019 Oracle and/or its affiliates. • Automatic Query Rewrite • Automatic Undo Management • Autonomous Health Framework • Automatic Diagnostic Framework • Automatic Refresh of Clones • Automatic SQL Tuning • Automatic Workload Capture/Replay • Automatic SQL Plan Management • Automatic Capture of SQL Monitor • Automatic Data Optimization • Automatic Memory Management • Automatic Segment Space Mgmt • Automatic Statistics Gathering • Automatic Storage Management • Automatic Workload Repository • Automatic Diagnostic Monitor • Automatic Columnar Flash • Automatic IM population • Automatic Application Continuity 9i 10g 11g 12c 18c • Automatic Indexes • SQL Quarantine • Real-Time Statistics 19c
  • 7. Oracle Spent Last 10 Years Automating Database Infrastructure Copyright © 2019 Oracle and/or its affiliates. • Smart Scan • Infiniband Scale-Out • Database Aware Flash Cache • Storage Indexes • Hybrid Columnar Data • IO Priorities • Data Mining Offload • Offload Decryption • Direct-to-wire Protocol • JSON and XML offload • Instant failure detection • Network Resource Mgmt • Prioritized File Recovery • In-Memory Columnar in Flash • Smart Fusion Block Transfer • Exadata Cloud Service 2008 2019
  • 8. Eliminates All the Complexity of Mission Critical Databases Autonomous Database Completes the Job Copyright © 2019 Oracle and/or its affiliates. Automated Data Center Operations and Machine Learning Complete Infrastructure Automation Complete Database Automation ORACLE AUTONOMOUS DATABASE Oracle Cloud
  • 9. Autonomous Database Key Attributes Self-Driving Automates all database and infrastructure management, monitoring, tuning Self-Securing Protects from both external attacks and malicious internal users Self-Repairing Protects from all downtime including planned maintenance Spend Less, Reduce Risk, Innovate More Copyright © 2019 Oracle and/or its affiliates.
  • 10. Traditionally DBAs are Responsible for: 10 • Tasks Specific to Business and Innovation – Architecture, planning, data modeling – Data security and lifecycle management – Application related tuning – End-to-End service level management • Maintenance Tasks – Configuration and tuning of systems, network, storage – Database provisioning, patching – Database backups, H/A, disaster recovery – Database optimization Value Scale Innovation Maintenance
  • 11. • Maintenance Tasks – Configuration and tuning of systems, network, storage – Database provisioning, patching – Database backups, H/A, disaster recovery – Database optimization 11 Autonomous Database Removes Generic Tasks • Tasks Specific to Business and Innovation – Architecture, planning, data modeling – Data security and lifecycle management – Application related tuning – End-to-End service level management Value Scale Innovation Maintenance
  • 12. One Autonomous Database – Two Deployment Choices ORACLE AUTONOMOUS DATABASE DedicatedServerless Ultra-Simple and Elastic Customizable Private Database Cloud in Public Cloud Copyright © 2019 Oracle and/or its affiliates.
  • 13. Autonomous Database Serverless – Primary Benefits • Simple – Oracle automates and manages everything – Customer just chooses database compute, storage, and region • Elastic – Low minimum size - 1 OCPU – Low minimum time commitment - 1 hour – Automatically scales online for true pay-per-use Copyright © 2019 Oracle and/or its affiliates.
  • 14. Autonomous Database Dedicated – Primary Benefits • Provides your own Database Cloud running on dedicated Exadata Infrastructure • Highest Isolation • Customizable Operational Policies Copyright © 2019 Oracle and/or its affiliates.
  • 15. One Autonomous Database – Optimized by Workload ORACLE AUTONOMOUS DATABASE Autonomous Transaction Processing - ATP Autonomous Data Warehouse - ADW Best for all Analytic Workloads: • Data Warehouse, Data Mart • Data Lake, Machine Learning Best for TP and Mixed Workloads: • Transactions, Batch, Reporting • IoT, Machine Learning Copyright © 2019 Oracle and/or its affiliates.
  • 17. • APEX & ORDS • SQL Dev-web • Developer workbench and modeling • Performance Hub SQL analysis • Service SDKs • Java, Python, Node, Go, .NET, Ruby • See Developer Guide for TAC setup 17 Developer ready with APEX & ORDS Currently, unique to Dedicated
  • 19. Auto Indexing On Netsuite • Ran a complex Netsuite workload, and compared Auto Indexing to tuned system • 17,542 SQL statements, 1,852 tables, 8,151 indexes - years of tuning to create these indexes • Before running on Auto Indexing, all indexes were dropped Auto Indexing achieved near-identical performance to manual tuning Auto Index DB stays tuned as workload changes Elapsed Time (sec) Manually tuned Auto Index 11551172 Indexes Used Manuall y tuned Auto Index 1733 4663 Copyright © 2019 Oracle and/or its affiliates.
  • 20. Auto Indexing On Accounts Receivable • Workload: 4,889 SQL statements running against 35 tables • Indexes: • Application code created 49 indexes of which 17 were used • Automatic indexing created 5 indexes, all of which were used Elapsed Time (sec) Manually tuned Auto Index 4 123 Indexes Used Manuall y tuned 5 17 Auto Index
  • 21. Copyright © 2019 Oracle and/or its affiliates. Under the Hood
  • 23. Autonomous Database Platform • RAC on Exadata • Autonomous Database decides where to place each database during provisioning • Fewer number of instances preferred when possible • Databases may be open on one node • Still RAC enabled Copyright © 2019 Oracle and/or its affiliates.
  • 24. Database Parameters • All parameters set to optimal values based on workload type • May be different than regular database defaults • Users can only change a limited number of parameters Copyright © 2019 Oracle and/or its affiliates. Allowed Parameters APPROX_FOR_AGGREGATION APPROX_FOR_COUNT_DISTINCT APPROX_FOR_PERCENTILE FIXED_DATE MAX_IDLE_TIME NLS_CALENDAR NLS_COMP NLS_CURRENCY NLS_DATE_FORMAT NLS_DATE_LANGUAGE NLS_DUAL_CURRENCY NLS_ISO_CURRENCY NLS_LANGUAGE NLS_LENGTH_SEMANTICS NLS_NCHAR_CONV_EXCP NLS_NUMERIC_CHARACTERS NLS_SORT NLS_TERRITORY NLS_TIMESTAMP_FORMAT NLS_TIMESTAMP_TZ_FORMAT OPTIMIZER_CAPTURE_SQL_PLAN_BASE LINES OPTIMIZER_IGNORE_HINTS OPTIMIZER_IGNORE_PARALLEL_HIN TS PLSCOPE_SETTINGS PLSQL_CCFLAGS PLSQL_DEBUG PLSQL_OPTIMIZE_LEVEL PLSQL_WARNINGS STATISTICS_LEVEL TIME_ZONE
  • 25. Optimizer Hints • Optimizer and PARALLEL hints work differently based on workload type • Users can override by changing two parameters Copyright © 2019 Oracle and/or its affiliates. TRUE FALSE optimizer_ignore_hints Ignores optimizer hints Honors optimizer hints optimizer_ignore_parallel_hint s Ignores PARALLEL hints Honors PARALLEL hints ADW Ignores optimizer and PARALLEL hints ATP Honors optimizer and PARALLEL hints
  • 26. Optimizer Statistics • Stats are gathered automatically for direct load operations • create table … as select …; • insert /*+ append */ into … select …; • Parallel inserts with or without the append hint • Data Pump Import loads • dbms_cloud loads Copyright © 2019 Oracle and/or its affiliates.
  • 27. Optimizer Statistics in 19c • Real-time Statistics Collection • Gathers a subset of optimizer statistics for conventional DML operations • Number of rows, MAX and MIN column values, etc. • High-frequency Statistics Collection • Gathers full optimizer statistics every 15 minutes if statistics are stale Copyright © 2019 Oracle and/or its affiliates.
  • 29. User Management • Pre-defined ADMIN user for database management • Subset of SYSDBA privileges • No SYS, SYSTEM access for users Copyright © 2019 Oracle and/or its affiliates.
  • 30. User Management • Pre-defined role, DWROLE, for DW developers • Includes common developer privileges Copyright © 2019 Oracle and/or its affiliates. DWROLE Privileges CREATE ANALYTIC VIEW CREATE TABLE CREATE HIERARCHY CREATE JOB ALTER SESSION CREATE ATTRIBUTE DIMENSION CREATE TYPE CREATE VIEW CREATE PROCEDURE CREATE SESSION CREATE SEQUENCE CREATE MINING MODEL CREATE TRIGGER CREATE SYNONYM grant dwrole to sales identified by WelcomeSalesADW19;
  • 32. Storage Management • Provisioned storage size is net usable space with 3x redundancy • Includes system tablespaces and the local filesystem • 10% overage allowed • Exadata flash size is proportional to the storage size Copyright © 2019 Oracle and/or its affiliates. Set storage size at provisioning time Scale up/down any time without downtime
  • 33. Tablespace Management • All tablespaces created and managed automatically • Tablespace sizes depend on the provisioned storage size • All tablespaces auto extend when needed • Users cannot create or drop tablespaces • All objects are created in DATA automatically • Multiple DATA tablespaces created when storage size exceeds 32 TB Copyright © 2019 Oracle and/or its affiliates. Tablespaces from a Sample Autonomous Database SYSTEM SYSAUX UNDOTBS1 TEMP DATA DBFS_DATA SAMPLESCHEMA UNDO_8
  • 34. Table/Index Storage Attributes • No need to worry about storage attributes • Optimized and managed by Autonomous Database • Table/index storage attributes ignored • Tablespace, INITIAL, NEXT, PCTFREE, PCTUSE, etc. Copyright © 2019 Oracle and/or its affiliates.
  • 35. Compression • Compression configured automatically based on ADB type • Users can override using create/alter table commands, all compression types available Copyright © 2019 Oracle and/or its affiliates. ADW Hybrid Columnar Compression, Query High ATP No compression create table orders_history … column store compress for archive high;
  • 37. Resource Allocation • System resources allocated based on number of OCPUs dynamically • CPU, IO, number of sessions, SGA, PGA, etc. • More OCPUs provide more resources Copyright © 2019 Oracle and/or its affiliates. Set CPU core count at provisioning time Scale up/down any time without downtime
  • 38. Auto Scaling • Enables the database to use up to 3x CPU/IO resources immediately when needed by the workload • Pay for exactly what you use • Helps CPU or IO bound workloads • Does not scale up other resources. Provision more OCPUs to scale up these. • Number of sessions • Concurrency • PGA, SGA, etc. Copyright © 2019 Oracle and/or its affiliates.
  • 39. SERVICE DEFAULT SQL PARALLELISM SHARE OF RESOURCES CONCURRENT NO OF QUERIES/DML TPURGENT MANUAL 12 100 X OCPUs TP 1 8 100 X OCPUs HIGH OCPUs 4 3 MEDIUM 4 2 1.25 X OCPUs LOW 1 1 100 X OCPUs OLTP DW, Batch, Reporting Pre-Defined Database Services • Applications connect to a pre-defined database service • e.g. jdbc:oracle:thin:@dbname_high?TNS_ADMIN=/Users/test/wallet_dbname • Database services control resource usage • SQL parallelism, CPU/IO shares, max concurrent queries/DML Copyright © 2019 Oracle and/or its affiliates.
  • 40. Which Service to Use • OLTP • Connect to TP or TPURGENT based on priority requirements • DW • Connect to HIGH, MEDIUM, LOW based on concurrency requirements Copyright © 2019 Oracle and/or its affiliates. HIGH • Low concurrency • More resources per user MEDIUM • Higher concurrency • Fewer resources per user LOW • Highest concurrency • Fewest resources per user
  • 42. Service Console • Simple monitoring graphs for key service metrics • Accessible by database users without a cloud account Copyright © 2019 Oracle and/or its affiliates.
  • 43. Performance Hub • ASH Analytics and SQL Monitoring • Accessible by users with cloud accounts Copyright © 2019 Oracle and/or its affiliates.
  • 44. Demo + laboratorio Manos a la obra !! Copyright © 2020, Oracle y/o sus filiales. Todos los derechos reservados.44
  • 45. Hands-on Labs: Principal • https://oracle.github.io/learning-library/data-management- library/autonomous-database Extras • https://oracle.github.io/learning-library/data-management-library • https://oracle.github.io/learning-library/oci-library
  • 46. ¡ Muchas gracias por participar de este hands-on ! Copyright © 2020, Oracle y/o sus filiales. Todos los derechos reservados.46 Diego “Perico” Sanchez Master Principal Sales Consultant Oracle Argentina – Public Sector diego.sanchez@oracle.com /in/pericosanchez