Oracle Autonomous Database Maria Colgan Master Product Manager Oracle Database Development August 2018 @SQLMaria #thinkautonomous
Safe Harbor 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 Oracle s products remains at the sole discretion of Oracle. 2
Traditional Database Management Each database deployment is unique Hand assembled from corporate standard components You are the builder, securer, repairer, tuner, driver Poor economies-of-scale and automation High costs Low quality of service Complex for developers to use 3
Oracle Autonomous Database Revolutionizes Data Management Transform from database builder and maintainer to user of autonomous database services Automates everything: provisioning, securing, repairing, tuning, driving, and more. Easy to create new databases and transform existing ones Enables you to: Innovate faster, spend less, and ensure data safety Transform your I.T. to modern cloud model 4
Journey to Autonomous Database Oracle has invested thousands of engineer years automating and optimizing database Automatic Query Rewrite Automatic Undo Management 9i Automatic Memory Management Automatic Segment Space Mgmt Automatic Statistics Gathering Automatic Storage Management Automatic Workload Repository Automatic Diagnostic Monitor 10g Autonomous Health Framework Automatic Diagnostic Framework Automatic Refresh of Clones 11g 12c Automatic SQL Tuning Automatic Workload Capture/Replay Automatic SQL Plan Management Automatic Capture of SQL Monitor Automatic Data Optimization 18c Automatic Columnar Flash Automatic IM population Automatic Application Continuity 5
Journey to Autonomous Database And thousands of engineer years automating and optimizing database infrastructure Database Aware Flash Cache Storage Indexes Hybrid Columnar Data Smart Scan Infiniband Scale-Out 2008 Network Resource Mgmt Prioritized File Recovery IO Priorities Data Mining Offload Offload Decryption Exadata Cloud Service In-Memory Columnar in Flash Smart Fusion Block Transfer Direct-to-wire Protocol JSON and XML offload Instant failure detection 2018 6
Autonomous Completes the Journey Brings Full Automation to Entire Database Lifecycle ORACLE AUTONOMOUS DATABASE Oracle Cloud Complete Infrastructure Automation Complete Database Automation Automated Data Center Operations and Machine Learning World s First Autonomous Database 7
ORACLE AUTONOMOUS DATABASE How It Works 8
Full Database Lifecycle Automation Provision Rapidly and easily creates mission critical databases Creates Exadata + Cloud Infrastructure, Real Application Clusters + scale-out database Secure Protects data from all external and internal threats Continuous threat detection, Applies security updates online +, prevents admin snooping, encrypts all data Manage Automates all infrastructure and database maintenance Patches all software online +, tunes settings, performs all OS and SYSDBA operations + Unique to Oracle 9
Full Database Lifecycle Automation 1 2 3 4 5 Protect Recovers from any failure without downtime Automates backup, restore, application transparent + cluster failover, diagnoses and repairs errors + Scale Scales online for highest performance and lowest cost Instant online elasticity + of serverless compute and storage enables true pay-per-use + Optimize Optimally runs workloads without human direction Automatically optimizes data formats, parallelism +, memory, and plans for each workload + Unique to Oracle 10
One Autonomous Database - Optimized by Workload ORACLE AUTONOMOUS DATABASE Available March 2018 Available August 2018 Autonomous Data Warehouse (ADW) Best for all Analytic Workloads: Data Warehouse, Data Mart Data Lake, Machine Learning Autonomous Transaction Processing (ATP) Best for TP and Mixed Workloads: Transactions, Batch, Reporting, IoT Application Dev, Machine Learning 11
Autonomous Database Optimized for Specific Workload HASH ADW Primary Goal Fast Complex Analytics Data Formats Columnar Data Processing Automatic Parallelizes SQL Memory Usage Large joins and aggregations Data Access No indexes, partitioning, or MV Result cache enabled Statistics Statistics Gathered on load SQL Plans Runaway SQL controls ATP Fast Transactions Processing Row Serial SQL unless user specifies Data caching to avoid IO Indexes, partitioning, MV allowed No Result cache enabled Nightly statistics gathering task Runaway SQL controls TIME SALE /*+ */ Compression Automatic HCC compression Optimizer Hints Ignored by default No compression by default, user specified Honored by default 12
ORACLE AUTONOMOUS DATABASE Provisioning 13
Getting Started with ADW and ATP Provisioning requires only 5 simple questions: Display Name? Database name? How many CPU s? How many TB s? Admin password? New service created in <30 seconds (regardless of size) Ready to connect via SQL*Net
Download your Database Credentials 15
ORACLE AUTONOMOUS DATABASE Connecting 16
Connecting to ADW and ATP ADW has 3 pre-defined database services: HIGH Highest priority Limited to 3 concurrent queries Queries run in parallel with MAX DOP MEDIUM use this as the main service Medium priority Limited to CPU X 1.25 concurrent queries Queries run in parallel with DOP of 4 Low Least priority, limited to CPU X 2 concurrent queries Queries run serially ATP has 4 pre-defined database services HIGH Highest priority Queries run in serial by default MEDIUM use this as the main service Medium priority Queries run in serial by default LOW Least priority Queries run in serial by default PARALLEL Least priority Queries run with Auto DOP 17
Connecting to ADW and ATP with SQL Developer 18
REST APIs available for ADW and ATP 19
ORACLE AUTONOMOUS DATABASE How You Benefit 20
Autonomous Database Enables I.T. to Innovate More for Less Eliminates administration of Systems, OS, Storage, and Networks Eliminates database maintenance drudgery giving DBAs more time to: Ensure end-to-end security, availability, performance Work with developers to architect, model, tune applications Get more value from data Implement more projects Eliminates human errors that cause downtime or security vulnerabilities 21
Autonomous Database Empowers Developers to Innovate More Developers instantly create and effortlessly use autonomous databases Eliminates dependence and delays on others for servers, storage, databases Eliminates database tuning, automatically adapts to changing workload Advanced SQL and PL/SQL accelerates developer productivity Integrated Machine Learning enables applications with real-time predictive capabilities Dramatically easier and more productive than: Amazon Aurora, Azure SQL, DynamoDB, MongoDB Atlas, RDS for PostgreSQL, Spanner 22
Autonomous Database Prevents Security Breaches 85% of security breaches occurred after the CVE was published* How many of your databases are current on security updates? *Source: Verizon - 2018 Data Breach Investigation Report 23
Autonomous Database is Highly Available Automatically protects from all types of downtime: Failures Maintenance Changes User Errors Exadata +, RAC + RAC Rolling Updates +, Application Continuity + Online Indexing, Table Redefinition/Editions + Flashback Database +, Table +, Query + No ridiculous exclusions in fine print Amazon excludes planned downtime, database bugs, regional outages, etc. + Unique to Oracle 24
Autonomous Database Provides Easy Upgrade to Cloud Complete compatibility with existing applications and tools enables easy and safe upgrade to modern autonomous cloud Runs same proven Oracle Database as on-premises Move database data into new Autonomous DB using Data Pump Eliminates legacy formats, upgrades version, encrypts data, removes admin privileges GoldenGate replication keeps database online during migration Easily convert MySQL, PostgreSQL, SQL Server, etc. with Migration Tool 25
Try It Now for Free 2 TB Autonomous Database FREE for 3,300 Hours https://cloud.oracle.com/tryit #thinkautonomous 26
ORACLE AUTONOMOUS DATABASE Short Term Roadmap 27
Autonomous Optimization Machine Learning meets Mission Critical Identify Candidate Improvements Test Improvement to Ensure Benefit Machine Learning continuously monitors workload and identifies potential new SQL plans and indexes Plans are like driving directions, indexes are like new roads However, SQL plan and index changes are risky Changes that improve 999 cases but hurt 1 are unacceptable Goal of Autonomous is to avoid ALL slowdowns Proposed changes tested outside application workload Validate Change for Each SQL Then benefit is validated on first execute of every changed SQL If performance regresses then old plan is restored 28
ATP In Action On Netsuite Workload Ran a complex Netsuite workload, and compared ATP to existing expert tuning 17,542 SQL statements, 1,852 tables, 8,151 indexes - years of tuning to create these indexes Before running on ATP, all indexes and statistics were dropped 1172 1155 4663 Elapsed Time (sec) Expert Autonomous Indexes Used Expert 1733 Autonomous ATP achieved identical performance to expert manual tuning ATP stays tuned as workload changes 29
Dedicated Exadata Cloud Infrastructure Customers can choose serverless ADW or ATP databases or deploy on Dedicated Exadata Cloud Infrastructure for highest isolation Complete stack is isolated from other tenants: Compute, Storage, Cluster Interconnect Virtual Cloud Network is Hardware Enforced Unique Fully Isolated Cloud + in Public Cloud Allows control over consolidation, updates Guaranteed 99.995% availability - under 2.5 min of downtime per month + Unique to Oracle 30
Autonomous Database on Cloud At Customer Autonomous Database is Cloud Only since it automates the entire stack: Servers, storage, network, interconnect, OS, VM, GI, DB Some customers cannot move to public cloud Regulations, corporate policies, network latency Autonomous Database on Exadata Cloud at Customer + Autonomous database in customer data center Same cloud hardware, software, interfaces, APIs Same pay-per-use subscription model + Unique to Oracle 31
Conclusion: Revolutionize Your Data Management Transform from expensive and error prone building and maintaining of databases to using autonomous database services on modern cloud Innovate more for less Develop and optimize new applications faster Cut runtime costs up to 90% Eliminate full-stack administration costs Ensure data safety Protect against cyber-attack and data-theft vulnerabilities Guarantee 99.995% uptime including maintenance ORACLE AUTONOMOUS DATABASE 32
ORACLE AUTONOMOUS DATABASE For more information: oracle.com/autonomousdatabase #thinkautonomous 33