Professional Documents
Culture Documents
2019-Sql-Robert Pastijn-Datenbank 19c Roadmap-Praesentation PDF
2019-Sql-Robert Pastijn-Datenbank 19c Roadmap-Praesentation PDF
Robert Pastijn
Senior Principal Product Manager
Server Technologies
Oracle Development
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Upgrade / Migrate / Consolidate to Oracle 19c
Agenda
1 Release and Patching Strategy
2 Marquee new features
3 Cool Features for DBAs
4 XE, Apex in ADB and more
5 Questions
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Upgrade / Migrate / Consolidate to Oracle 19c 3
Agenda
1 Release and Patching Strategy
2 Marquee new features
3 Cool Features for DBAs
4 XE, Apex in ADB and more
5 Questions
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Upgrade / Migrate / Consolidate to Oracle 19c 4
Lifetime Support Commitments and Plans
▼
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
Oracle 11.2 EXTENDED
12.2.0.1
Oracle 18
Oracle 19 EXTENDED
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Upgrade / Migrate / Consolidate to Oracle 19c 5
Clarification 1 | Release Families
• The 18c and 19c releases are part of the Database 12.2 "Family" for
Lifetime Support as if they were the 12.2.0.2 and 12.2.0.3 patch sets
• Patching end date for Oracle Database 18c will be determined once Oracle
19c is available on premises
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
Oracle 12.2 EXTENDED
12.2.0.1
Oracle 18
Oracle 19 EXTENDED
“Dates” for non-released software are fictional - see MOS 742060.1 for announcements and details
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Upgrade / Migrate / Consolidate to Oracle 19c 6
Clarification 2 | Support for Annual Releases
• Annual releases get a minimum of 2 years patching after the succeeding
release is available on all enterprise (non-Engineered Systems) platforms
• Similar to what patch sets received under the previous release model
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
12.2.0.1
≧ 2 years
Oracle 18
≧ 2 years
Oracle 19 EXTENDED
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Upgrade / Migrate / Consolidate to Oracle 19c 7
Clarification 3 | Long-Term Support Release
• The final release in a family will get longer term support
• Please check MOS Note 742060.1 for details
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
Oracle 19c - LONG TERM SUPPORT RELEASE
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Upgrade / Migrate / Consolidate to Oracle 19c 8
Patching since Oracle Database 12.2
Updates (RU) and Revisions (RUR)
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Upgrade / Migrate / Consolidate to Oracle 19c 9
Patching | Since Oracle Database 12.2
Base Release
Update 1
Optimizer / off Functional Fixes
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Upgrade / Migrate / Consolidate to Oracle 19c 10
Patching | Since Oracle Database 12.2 - Quarterly
Base Release
Update 1
Optimizer / off Functional Fixes
Update 2
Optimizer / off Functional Fixes
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Upgrade / Migrate / Consolidate to Oracle 19c 11
Patching | Since Oracle Database 12.2 - Alternative: Revisions
Base Release
Update 1 Update 1
Optimizer / off Functional Fixes
Optimizer / off Functional Fixes
Revision 1
Update 2
Optimizer / off Functional Fixes
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Upgrade / Migrate / Consolidate to Oracle 19c 12
Patching | Since Oracle Database 12.2 - Alternative: Revisions
Base Release
Update 1 Update 1 Update 1
Optimizer / off Functional Fixes Optimizer / off Functional Fixes
Optimizer / off Functional Fixes
Revision 1 Revision 2
Update 2
Optimizer / off Functional Fixes
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Upgrade / Migrate / Consolidate to Oracle 19c 13
Patching | Since Oracle Database 12.2 - Alternative: Revisions
Base Release
Update 1 Update 1 Update 1
Optimizer / off Functional Fixes Optimizer / off Functional Fixes
Optimizer / off Functional Fixes
Revision 1 Revision 2
Update 2 Update 2
Optimizer / off Functional Fixes
Optimizer / off Functional Fixes
18.2.0 18.3.0 18.4.0 18.5.0 18.6.0 18.7.0 18.8.0 18.9.0 18.10.0 18.11.0 18.12.0 18.13.0 18.14.0
18.1.0
Patching
End 18c
18.2.1 18.3.1 18.4.1 18.5.1 18.6.1 18.7.1 18.8.1 18.9.1 18.10.1 18.11.1 18.12.1 18.13.1
18.2.2 18.3.2 18.4.2 18.5.2 18.6.2 18.7.2 18.8.2 18.9.2 18.10.2 18.11.2 18.12.2
19.1.0 19.2.0 19.3.0 19.4.0 19.5.0 19.6.0 19.7.0 19.8.0 19.9.0 19.10.0 19.11.0 19.12.0 19.13.0
19.1.0
19.3.1 19.4.1 19.5.1 19.6.1 19.7.1 19.8.1 19.9.1 19.10.1 19.11.1 19.12.1
20.1.0 New Feature Release 20.1.0 20.2.0 20.3.0 20.4.0 20.5.0 20.6.0 20.7.0 20.8.0
21.2.1 21.3.1
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Upgrade / Migrate / Consolidate to Oracle 19c 15
More Information | Client Connectivity
• MOS Note: 207303.1
Client / Server Interoperability Support Matrix for Different Oracle Versions
Client Server Version
Version 19c 18c 12.2.0#10 12.1.0 11.2.0 11.1.0 10.2.0 10.1.0 9.2.0
19c Yes Yes Yes Yes Yes#9 No No No#3 No#3
18c Yes Yes Yes Yes Yes#9 No No No#3 No#3
12.2.0 Yes Yes Yes Yes Yes#9 No No No#3 No#3
12.1.0 Yes Yes Yes Yes Yes Was MDS#7 No#3 No#3
11.2.0 Yes#9 Yes#9 Yes#9 Yes Yes Was MDS#7 No Was#5
11.1.0 No No No Was Was Was Was#7 Was#6 Was#5
10.2.0 No#11 No#11 No#11 MDS#7#11 MDS#7#11 Was#7#11 MDS#11 Was Was#5
10.1.0#4 No No No No Was#6 Was#6 Was Was Was
9.2.0 No No No No#8 Was#5 Was#5 Was#5 Was Was
Yes Supported
Yes Supported but fixes only possible for customers with Extended Support .
MDS Supported, but fixes only possible for customer with a valid Market-Driven Support contract.
Was Was a supported combination but one of the releases is no longer covered by any of Premier Support, Primary Error Correct support, Extended Support, nor Extended Maintenance Support. Fixes are no longer possible.
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Upgrade / Migrate / Consolidate to Oracle 19c 16
Core aim: Stability
Long Term Support Release for
the 12.2 family of products
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Upgrade / Migrate / Consolidate to Oracle 19c 19
Marquee features and where we stand
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Upgrade / Migrate / Consolidate to Oracle 19c 20
Marquee new features | Multitenant
• Introduced in 12.1.0.1 (2013)
– Announced deprecation of non MT
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Upgrade / Migrate / Consolidate to Oracle 19c 21
Marquee new features | Multitenant
Next years release will NOT support non-CDB Architecture !
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Upgrade / Migrate / Consolidate to Oracle 19c 22
NEW IN
Multitenant database | Deployment options 12.1
PDB$
SEED
PDB1
PDB$
SEED
PDB1 PDB1 ...
DB CDB$ROOT CDB$ROOT
PDB$
SEED
PDB1
PDB$
SEED
PDB1 PDB1 ...
DB CDB$ROOT CDB$ROOT
• 12.1.0.1 introduction
– Multiple (pluggable) databases per container
database (CDB)
– Easy clone, copy and move inside or between
CDBs on same or remote systems
– RAC, B&R, Data Guard, Golden Gate supported
– Not all (new) 12.1 functionality supported
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Oracle Internal and Oracle Partner use only 25
Multitenant database | Journey
From birth to 19c
• 12.2.0.1
– Local undo and temp tablespaces – AWR and EM Express support for PDBs
– PDB Hot Cloning and (near zero downtime) refresh – Flashback Pluggable Databases
– Multithreaded File Copy Operation – RMAN Subset Standby
– Online Relocate (with connection forwarding) – Data Guard Broker PDB Migration (or Failover)
– PDB OS Credentials – Cross-platform import of PDB
– Multiple Charactersets in a CDB – Service level ACL for TCP Protocol
– PDB Archive files – Lockdown Profiles
– PDB Support for Database Vault, Heat Maps etc – Application Containers
– Memory Resource Management – Proxy PDBs
– I/O rate limits for non-Exadata systems
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Oracle Internal and Oracle Partner use only 26
PDB Hot Clone Snap Clone
Snap Clone
Oracle Cloud
CRM CRM Dev1 CRM Dev2
• PDB Hot Clone
– Online test master instantiation
On-Premises
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 27
PDB Refresh Snap Clone
Snap Clone
Oracle Cloud
CRM CRM Dev1 CRM Dev2
• PDB Hot Clone Cloned version no longer in sync
TIME
On-Premises
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 28
PDB Relocate
CRM HR
• PDB Hot Clone
– Online test master instantiation
• PDB Refresh
– Incremental refresh of clone with latest
data Oracle Cloud
On-Premises
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 29
Multitenant database | Journey
From birth to 19c
• 18c Standby
– Refreshable PDB Switchover
– Dynamic Lockdown Profiles PDB1 PDB3 PDB4
Redo Repository
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Oracle Internal and Oracle Partner use only 30
Multitenant database | Journey
From birth to 19c
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Upgrade / Migrate / Consolidate to Oracle 19c 31
Marquee new features | Database In Memory
• Introduced in 12.1.0.1 (2013)
– Announced deprecation of non MT
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Upgrade / Migrate / Consolidate to Oracle 19c 32
NEW IN
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Oracle Internal and Oracle Partner use only 33
In-Memory 18c Key changes
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Upgrade / Migrate / Consolidate to Oracle 19c 37
NEW IN
Cool Features | Extended VARCHAR2 / NVARCHAR2 12.1
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Upgrade / Migrate / Consolidate to Oracle 19c 38
Cool Features | LONG Identifiers
• Oracle 12.1.0.2: • Be aware when exchanging data
– 1-30 bytes with lower releases
– CREATE TABLE
abcdefghijklmnopqrstuvwxyzabcd;
• Documentation:
– https://docs.oracle.com/database/122/SQLRF/
• Oracle 12.2.0.1: Database-Object-Names-and-
Qualifiers.htm#SQLRF51129
– 1-128 bytes
– If COMPATIBLE ≥ 12.2.0 • See also:
– CREATE TABLE – https://mikedietrichde.com/2018/07/09/expor
abcdefghijklmnopqrstuvwxyz_abcdefgh t-with-data-pump-and-long-identifiers/
ijklmnopqrstuvwxyz_abcdefghij …
– Database name: ≤ 8 byte
– Disk Groups, PDBs, rollback segments and
tablespace names ≤ 30 bytes
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Upgrade / Migrate / Consolidate to Oracle 19c 39
NEW IN
Cool Features | Online Datafile Move 12.1
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Upgrade / Migrate / Consolidate to Oracle 19c 40
Cool Features | Online Table Move and Partitioning
• Online table move • Convert table into partitioned table
alter table HR.JOBS move ONLINE alter table EMPLOYEES_CONVERT modify
tablespace HR_TBS; partition by range (EMPLOYEE_ID)
interval (100)
(partition P1 values less than (100),
partition P2 values less than (500))
ONLINE
update indexes (IDX1_SAL LOCAL, IDX2_EMPID
global partition by range (EMPLOYEE_ID)
(partition IP1 values less than (MAXVALUE)));
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Upgrade / Migrate / Consolidate to Oracle 19c 41
NEW IN
Cool Features | Privilege Capture 12.1
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Upgrade / Migrate / Consolidate to Oracle 19c 42
Cool Features | Privilege Capture
• DBMS_PRIVILEGE_CAPTURE • Example: Capture process
– Capture privileges used BEGIN DBMS_PRIVILEGE_CAPTURE.CREATE_CAPTURE(
name => 'COLLECT_USED_DEMOAPPS_PRIVS',
description => 'Find used privileges',
– Find privileges needed for application type => DBMS_PRIVILEGE_CAPTURE.G_CONTEXT,
condition => <syscontext = schema>);
• Remove irrelevant privileges END;
BEGIN DBMS_PRIVILEGE_CAPTURE.DISABLE_CAPTURE
('COLLECT_USED_DEMOAPPS_PRIVS');
• Included in Enterprise Edition 18c END;
• Then check:
– DBA_USED_PRIVS and DBA_UNUSED_PRIVS
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Upgrade / Migrate / Consolidate to Oracle 19c 43
NEW IN
Cool Features | Incremental Statistics 12.1
Sales Table
Partition level stats are gathered & synopsis created
May 19th 2018
Global stats generated by aggregating partition
level statistics and synopsis
May 20th 2018
May 22nd 2018
Retrieve synopsis for each of the other partitions from SYSAUX
May 23rd 2018
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Upgrade / Migrate / Consolidate to Oracle 19c 44
Cool Features | Incremental Statistics Enhancement
• Significantly smaller synopses with new algorithm
– Default setting for 12.2 and up
• Old formats are not immediately replaced
– If older formats exist, pre-12.1 algorithm will be used (less accurate, larger)
– Statistics auto job will gradually re-gather statistics in new format
– Can also manually refresh all statistics for a table
• Example:
– 8TB table with 84 partitions
• Size in Oracle 12.1.0.2: 167GB
• Size in Oracle 12.2.0.1: 7GB
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Upgrade / Migrate / Consolidate to Oracle 19c 45
Cool features |Real-Time Statistics
• Gather statistics as part of conventional Gathered Statistics
DML (insert/update/merge)
– Fast with negligible overhead
– Only most essential stats gathered Real-time Statistics
like number of rows, min, max etc
• Gathering of full statistics is deferred
– High frequency statistics gathering
– Automatic statistics gathering job
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Upgrade / Migrate / Consolidate to Oracle 19c 47
Cool Features | Data Guard
• NOLOGGING support for DWH • MIRA - Multi Instance Redo Apply
• Multiple observers Performance -
Alpha testing
Apply Rate
Mounted
Apply Rate
Open (MB/sec)
(MB/sec)
• Diagnostic and Tuning Pack support OLTP baseline – 160 150
• Transient Logical Standby: single node
OLTP using 8 nodes 1,680 1,510
– Support for all data types but one (NT)
– Supports all object types Batch baseline –
single node
1170 640
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Upgrade / Migrate / Consolidate to Oracle 19c 48
Cool Features | Zero Impact Grid Infra Patching
• Enable patching of GI without
interrupting database operations
• Patches are applied out-of-place
– Rolling fashion
– One node being patched at a time
while the database instance(s) on that
node remain up and running
• RAC with two or more nodes
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Upgrade / Migrate / Consolidate to Oracle 19c 49
Cool features | Connecting to the database
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Upgrade / Migrate / Consolidate to Oracle 19c 51
Cool features | Automatic Indexing
• An expert system that implements
Capture indexes based on what a skilled
performance engineer would do
• Reinforcement Learning allows it to
Monitor Identify
learn from its own actions as all
candidate indexes are validated
before being implementing
Online Verify • The entire process is fully automatic
Validation
• Transparency is equally important as
sophisticated automation
Decide – All tuning activities are auditable
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 52
Cool features | Oracle Hybrid Tables
UPDATES
OBJECT STORAGE
config.cfg
Database Pre-Checks
preupgrade.jar Automatic Fix-Ups
Upgrade
Job Manager
Database Upgrade
Command Line
Upgrade
Dispatcher Database Post-Upgrade
Stats Refresh Time Zone Adjustment /etc/oratab
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Upgrade / Migrate / Consolidate to Oracle 19c 58
Oracle 19c
Autonomous
Health
Framework
mysvr01
mysvr01
mysvr01
mysvr01
mysvr01
New Best
mysvr01 Practices
Alerted
mysvr01
mysvr01
mysvr01
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Upgrade / Migrate / Consolidate to Oracle 19c 66
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 67
Safe Harbor Statement
The preceding 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.
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 68
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Upgrade / Migrate / Consolidate to Oracle 19c 69