Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Oracle Database 19c - poslední z rodiny 12.2 a co přináší nového

108 views

Published on

Prezentace z webináře
19.6.2019
Prezentoval: Patrik Plachý – Senior Presales Consultant, Oracle

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Oracle Database 19c - poslední z rodiny 12.2 a co přináší nového

  1. 1. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 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, timing, and pricing of any features or functionality described for Oracle’s products may change and remains at the sole discretion of Oracle Corporation. 1
  2. 2. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Oracle Database 19c
  3. 3. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | • Worlds most popular database • Scales from a single CPU to thousands of CPUs • Manages both OLTP and Data Warehousing workloads • The most secure and highly available database for the enterprise Oracle Database : 40 Years of Innovation
  4. 4. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Production on Exadata, Linux, Solaris, Windows, ZLinux, AIX and HP-UX 4
  5. 5. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Core aims : Long Term Stability 5
  6. 6. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 12.2.0.312.2.0.212.2.0.1 Long Term Support Release of the 12.2 Family
  7. 7. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 12.2.0.312.2.0.212.2.0.1 Continual improvements in each release…. Sharding Multitenant, Online Clone and Relocate Autonomous Health Framework New In-Memory Features Online Encryption
  8. 8. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 12.2.0.312.2.0.212.2.0.1 Sharded RAC Multitenant Snapshot Carousel Private Temporary Tables Mem Optimized Row Store T1 T2 T3 T4 Active Directory IntegrationActive Directory Continual improvements in each release….
  9. 9. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | New Install Approaches • Oracle Database 18c RPM Install – Yum install from OLN • Oracle Read Only Homes • No click through client software install • Oracle Docker images 9
  10. 10. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 12.2.0.312.2.0.212.2.0.1 High speed data ingestion Active Data Guard DML Redirect Automatic Indexing Hybrid Partition Tables JSON Improvements Continual improvements in each release…. SALESTABLE Q1 Q2 Q3
  11. 11. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 11 Read Only Oracle HomeInline External Tables And Many Many More….OnlineTableMove JSON Real Time Materialized Views IndexCompression Auto Generated Sequences Long Identifiers Online Tablespace Encryption Property Graph SQL Plan Management Enhancements TopNQueries Invisible Columns Longer Varchars Security Assessment Tool LiveSQL IndexUsageStats Application Continuity Data Guard DML Redirect Polymorphic Table Functions Load From Object Stores Integration with Active Directory Unicode 9 Support Quarantine for SQL Plans Auto Indexing Analytical Views Partitioned Hybrid Tables Real-Time Statistics Approximate Functions Schema-only Oracle accounts PL/SQLQualifiedExpressions Neural Networks
  12. 12. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Database Upgrade
  13. 13. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Database Release and Support Timelines up until 19c2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 EXTENDED* 18c 11.2.0.4 EXTENDED EXTENDED12.1.0.2 12.2.0.1 19c Paid Extended SupportPremier Waived Extended Support Fee 13 *Oracle Database 19c is the long term support release. Always check MOS Note 742060.1 for the latest schedule. Confidential - Oracle Internal Only
  14. 14. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 14 Direct Upgrade to Oracle Database 19c 12.2.0.1 12.1.0.2 11.2.0.4 12.2.0.2 12.2.0.3 19c is Oracle’s recommended release for all Database upgrades.
  15. 15. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | New AutoUpgrade Tool • Oracle Database AutoUpgrade allows DBAs to upgrade one or many databases without human intervention • The AutoUpgrade utility identifies issues before upgrades, deploys upgrades, performs post upgrade actions, and brings up the upgraded Oracle Database • Currently supports 12.2 and 18c 15 12c 19c * See MOS Note 2485457.1
  16. 16. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Oracle Database 17
  17. 17. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Performance and Scalability • Continuous Innovation and Improvement • Row Level Locking, Read Consistency, B-Tree Indexes, Bitmap Indexes, Materialised Views, Parallel Query, Advanced Compression, ASM, Results Cache • Software in Silicon • In-Memory Column Store • Exadata provides the best database platform for all workloads 18 New in 12.2, 18c, 19c • 12.2 • In Memory JSON Queries • In Memory Active Standby • 18c • Memory Optimized Row Store • 19c • Fast ingest support for IoT type workloads • Quarantine for SQL Statements • Improvements for count distinct and group by queries Confidential - Oracle Internal Only
  18. 18. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | • A memory optimised mechanism for inserting data into the database • Ideal for light weight IoT transactions • Rows are cached in memory and asynchronously drained to disk • An API allows developers to check on the durability of their inserts – Declare table MEMOPTIMIZE FOR WRITE – Use new hint MEMOPTIMIZE_WRITE Memoptimized Rowstore : Fast Ingest Support SGA BUFFER CACHE LARGE POOL SHARED POOL Batched Rows Batched Rows Batched Rows DRAINER PROCESSES WRITE VERIFICATION API APPLICATION SERVER HIGH VOLUME INSERTS IOT : SENSORS, TELEMETRY, LOCATION ETC.
  19. 19. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 20 SQL BELOW RESOURCE THRESHOLD RESULTS RETURNED SQL CONSUMING EXCESSIVE RESOURCE SQL PREVENTED FROM RE-RUNNING DBA CAN MONITOR AND EXPORT QUARANTINED SQL OR CHANGE THE PLAN TO GET IT OUT OF QUARANTINE USER EXECUTES SQL STATEMENT SQL Quarantine • SQL execution plans consuming excessive resources are quarantined • It’s prevented from executing again • Improves overall responsiveness of the system by stopping “rogue” SQL statements being continually resubmitted • DBA can monitor quarantined statements in V$SQL • Controlled by DBMS_SQLQ or DBMS_RESOURCE_MANAGER
  20. 20. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Capture Identify VerifyDecide Monitor 21 Automatic Indexing • The Automatic Indexing methodology is based on a common approach to manual SQL tuning • It identifies candidate indexes and validates them before implementing • The entire process is fully automatic • Transparency is equally important as sophisticated automation – All tuning activities are auditable via reporting
  21. 21. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Automatic Indexing 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 22 Achieved identical performance to expert manual tuning Stays tuned as workload changes Elapsed Time (sec) Expert Autonomous 11551172 Indexes Used Expert Autonomous 1733 4663
  22. 22. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | High Availability 23 New in 12.2, 18c, 19c • 12.2 • Sharding • Autonomous Health Framework • 18c • Sharded RAC • 19c • Data Guard DML Redirect • Sharding now supports multiple PDB shards in a CDB • Improvements to Application Continuity • Comprehensive HA and disaster recovery functionality • Real Application Clusters, Active Data Guard, Recovery Appliance • Oracle GoldenGate for heterogeneous replication
  23. 23. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Active Data Guard : DML Redirection • Allows DML to be executed against the standby database • On execution the DML operation is passed to the primary database • The primary database performs the operations and generates the redo • The redo is then applied to the standby and control returned to the application • The transaction is fully ACID compliant • Allows for incidental updates to be run against the standby increasing the overall flexibility of the disaster recovery architecture 24
  24. 24. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Active Data Guard : DML Redirection • Read Mostly Standby 25 PRIMARY ACTIVE STANDBY DML1 2 DML IS REDIRECTED TO PRIMARY 3 DML IS APPLIED TO PRIMARY 4 DATA CHANGE IS STREAMED TO STANDBY 5 DATA IS VISIBLE TO CLIENT
  25. 25. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 26
  26. 26. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Application Development 27 New in 12.2, 18c, 19c • 12.2 • Long Identifiers • Case Insensitive Databases • 18c • Improved JSON Support • C, Python, Javascript JSON SODA API • Private Temporary Tables • 19c • SQL JSON Enhancements • Partial JSON Update support • Application Express provides a low code platform for building stunning scalable applications • SQL Developer IDE & SQLCl provide class leading functionality for both developers and admins • Comprehensive Language support • PL/SQL, SQL , Python, Node.js, PHP, Java, C, .NET, REST • JSON for schema less development
  27. 27. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Oracle Database 19c JSON Support 28 • The Oracle Database provides comprehensive support for JSON – Via Standard DML – NoSQL APIs (Java, REST, C, Python, JavaScript, PL/SQL) – Analytics (Dot Notation Access, Parallel Query, QBE, Columnar Access) – JSON Data Guide to analyze the meta data of JSON Collections • Improvements in Oracle Database 19c include – JSON Update operations – Materialized View Support for Queries containing JSON_TABLE – JSON Function Simplification
  28. 28. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 29
  29. 29. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | • New SQL function JSON_MERGEPATCH enables you to update specific portions of a JSON document without having to replace the entire document • Imagine we need to update all of the JSON documents in the po_document column of the purchaseorder_tab table to remove the field "Special Instructions" UPDATE purchaseorder_tab SET po_document = json_mergepatch( po_document, '{"Special Instructions":null}’ ); 30 Partial JSON Update Support
  30. 30. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Data Warehousing and Big Data • The most advanced analytics engine available today • Partitioning, Compression, SQL, Analytical Views, Analytical SQL, Data Mining • Easily analyze data held in Hadoop with Big Data SQL • Big Data Appliance provides an out of the box high performance analytics platform 31 New in 12.2, 18c, 19c • 12.2 • Partitioned External Tables • Analytical Views • 18c • Neural Network Support • In-Memory for external tables • Automatic propagation of nologged data to standby • 19c • Partitioned Hybrid Tables • Real Time Stats Collection
  31. 31. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Real-Time Statistics • Gather statistics as part of conventional DML (Insert/update/merge) • Statistics gathered during DML needs to be fast with negligible overhead • Only most essential stats are gathered to avoid catastrophic SQL execution plan performance regressions (e.g. avoiding out-of-range conditions) – Min, Max, num_rows, etc. • Gathering of remaining statistics is deferred – Automatic statistics gathering job still kicks in as needed 32 ORDERS ORDERS Stats INSERTS/UPDATES DELETES STATS ARE MAINTAINED AS DATA IS MODIFIED
  32. 32. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Hybrid Partitioned Tables • Extends Oracle Partitioning by enabling partitions to reside in both Oracle Database segments and in external files • External partitions may reside on standard file systems, HDFS or Object Storage (coming soon). • This model supports the placement of data for long term archiving on lower cost storage whilst allowing it’s continued online access • Supports long term access to infrequently accessed data for regulatory requirements 33
  33. 33. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 34 Hybrid Partitioned Tables Q4_2018Q3_2018Q2_2018Q1_2018Q4_2017Q3_2017Q2_2017Q1_2017Q4_2016 ORDERS OBJECT STORAGE TABLE PARTITIONED BY QUARTER SQL HOT DATACOLD DATA UPDATES
  34. 34. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 35Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 27
  35. 35. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Multitenant • Container managed database virtualization • Manage Many as one • Patching, Backup, Security, Online Cloning, Online Relocation • Software as Service • Shared metadata, Data location transparency 36 New in 12.2, 18c, 19c • 12.2 • Online cloning & relocation • Incremental refresh of test/dev master • Application containers • 18c • Transportable backups • Snapshot carousel • Refreshable PDB switchover • 19c • RAT and ADDM at PDB level
  36. 36. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Security • Security In-Depth • Access Controls, Encryption, Redaction, Masking, Auditing, SQL Firewalls • Key Vault • Audit Vault Database Firewall • Security Assessment Tool 37 Active Directory • 12.2 • Online encryption • 18c • Integration with Active Directory • Password-less schema creation • 19c • Schema-only Oracle accounts • Database Vault Operations Control New in 12.2, 18c, 19c
  37. 37. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Small Change Small but important… 38
  38. 38. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | EZConnect Improvements • Simplification of Easy Connect syntax • Easy Connect adaptor will now accept a list of name value pairs – For example: SDU, RETRY_COUNT, CONNECT_TIMEOUT, etc.) • Will now enable multiple hosts/ports in the connect string – Typically used in load-balancing client connections. Oracle Confidential – Internal39 $> sqlplus soe/soe@(DESCRIPTION= (ADDRESS_LIST= (LOAD_BALANCE=ON) (ADDRESS=(PROTOCOL=tcp)(HOST=salesserver1)(PORT=1522)) (ADDRESS=(PROTOCOL=tcp)(HOST=salesserver2)(PORT=1522)) (ADDRESS=(PROTOCOL=tcp)(HOST=salesserver3)(PORT=1522))) (CONNECT_DATA=(SERVICE_NAME=sales.us.example.com))) $> sqlplus soe/soe@//salesserver1,salesserver2,salesserver3:1522/sales.us.example.com$> sqlplus soe/soe@(DESCRIPTION= (retry_count=3) (connect_timeout=60)(transport_connect_timeout=30) (ADDRESS=(PROTOCOL=tcp)(HOST=salesserver1)(PORT=1521)) (CONNECT_DATA=(SERVICE_NAME=sales.us.example.com))) $> sqlplus soe/soe@//salesserver1:1521/sales.us.example.com?connect_timeout=60& transport_connect_timeout=30&retry_count=3 Confidential - Oracle Internal Only
  39. 39. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | •Free to use • Includes most EE features – no RAC, Data Guard, GoldenGate • No support • Resource limited: – 2 CPUs for foreground processes – 2 GB memory (SGA + PGA) – 12 GB user data – 3 PDBs 40 Oracle Database XE https://www.oracle.com/database/technologies/appdev/xe.html
  40. 40. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | New Install Approaches • Oracle Database 19c RPM Install – Yum install of Oracle Instant Clients • Oracle Read Only Homes • No click through client software install • Oracle Docker images 41
  41. 41. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | SQLDeveloper Web Confidential - Oracle Internal Only • Browser based IDE for Oracle database development • Allows developers to run SQL statements and build scripts • Build diagrams using the Data Modeler • Use Real Time SQL Monitor to analyse SQL
  42. 42. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Oracle Data REST Services (ORDS) • ORDS provides REST services for both application development and administration • In ORDS 19.1 we now provide REST endpoints to enable the management and monitoring of the Oracle Database – General, Data Dictionary, Monitoring, Performance, & PDB Lifecycle Management Additional end points to be rolled out in future updates 43Confidential - Oracle Internal Only
  43. 43. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Database Features – New App • Database feature app – Part of Oracle Documentation – Compare releases & interactively view new features https://apex.oracle.com/database -features/ 44Confidential - Oracle Internal Only
  44. 44. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | livesql.oracle.com is now running Oracle Database 19c • Oracle Database 19c • Free access • Run SQL scripts • Run Tutorials • Share Scripts 45
  45. 45. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Summary • Oracle Database 19c is now production and available on premises • Oracle Database 19c offers an extended support window making it an excellent choice for current and future upgrade plans • Focus on long term stability 46

×