Oracle 12.2 New Features Guide
Oracle 12.2 New Features Guide
E85871-02
Copyright © 2015, 2017, Oracle and/or its affiliates. All rights reserved.
This software and related documentation are provided under a license agreement containing restrictions on
use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your
license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify,
license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means.
Reverse engineering, disassembly, or decompilation of this software, unless required by law for
interoperability, is prohibited.
The information contained herein is subject to change without notice and is not warranted to be error-free. If
you find any errors, please report them to us in writing.
If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on
behalf of the U.S. Government, then the following notice is applicable:
U.S. GOVERNMENT END USERS: Oracle programs, including any operating system, integrated software,
any programs installed on the hardware, and/or documentation, delivered to U.S. Government end users are
"commercial computer software" pursuant to the applicable Federal Acquisition Regulation and agency-
specific supplemental regulations. As such, use, duplication, disclosure, modification, and adaptation of the
programs, including any operating system, integrated software, any programs installed on the hardware,
and/or documentation, shall be subject to license terms and license restrictions applicable to the programs.
No other rights are granted to the U.S. Government.
This software or hardware is developed for general use in a variety of information management applications.
It is not developed or intended for use in any inherently dangerous applications, including applications that
may create a risk of personal injury. If you use this software or hardware in dangerous applications, then you
shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure its
safe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this
software or hardware in dangerous applications.
Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of
their respective owners.
Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are
used under license and are trademarks or registered trademarks of SPARC International, Inc. AMD, Opteron,
the AMD logo, and the AMD Opteron logo are trademarks or registered trademarks of Advanced Micro
Devices. UNIX is a registered trademark of The Open Group.
This software or hardware and documentation may provide access to or information about content, products,
and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly
disclaim all warranties of any kind with respect to third-party content, products, and services unless otherwise
set forth in an applicable agreement between you and Oracle. Oracle Corporation and its affiliates will not be
responsible for any loss, costs, or damages incurred due to your access to or use of third-party content,
products, or services, except as set forth in an applicable agreement between you and Oracle.
Contents
Preface
Audience xv
Documentation Accessibility xv
Related Documents xv
Conventions xv
iii
Enhancing CAST Function With Error Handling 1-8
New SQL and PL/SQL Function VALIDATE_CONVERSION 1-8
Binding PL/SQL-Only Data Types to SQL Statements Using DBMS_SQL 1-9
Improving the PL/SQL Debugger 1-9
New PL/SQL Pragma to Mark an Item as Deprecated 1-9
Materialized Views: Real-Time Materialized Views 1-10
Materialized Views: Statement-Level Refresh 1-10
Enhancing LISTAGG Functionality 1-10
DBMS_PLSQL_CODE_COVERAGE Package 1-10
Approximate Query Processing 1-11
White Lists (ACCESSIBLE BY) Enhancements 1-11
Reducing Costs and Complexities of Migration to Oracle Database 1-11
Long Identifiers 1-11
Oracle Java Virtual Machine Support for Long Identifiers 1-11
Static PL/SQL Expressions Now Allowed Where Previously Literals Were
Required 1-12
Support for the .NET and MS Development Community 1-12
Longer Schema Identifiers for Oracle Data Provider for .NET 1-13
Real Application Clusters Connection Node Affinity 1-13
Entity Framework Code First Enhancements 1-13
.NET Cloud Development and Deployment 1-13
ODP.NET Managed Driver 1-13
Longer Schema Identifiers for Oracle Provider for OLE DB 1-14
Support for the Java Development Community 1-14
Multi-Property Labeling of DRCP Servers 1-14
PL/SQL Callback Facility for Session State Fix Up 1-15
New MAX_TXN_THINK_TIME Setting for DRCP Pooled Servers With
Transactions in Progress 1-15
Proxy Session Sharing in DRCP 1-15
DRCP Statistics Views and AWR Reports for Performance Monitoring and
Tuning 1-15
JDBC Support for Binding PLSQL_BOOLEAN 1-16
Oracle JDBC Support for JDK 8 and JDBC 4.2 1-16
Oracle Universal Connection Pool (UCP) Configuration Using XML 1-16
Universal Connection Pool Health Check Frequency 1-16
JDBC Support for Deprioritization of Database Node 1-17
Oracle Java Virtual Machine (OJVM) Web Services Callout 1-17
OJVM Support for Java SE 8 1-17
JavaScript Stored Procedures Using Java 8 Nashorn 1-18
XML 1-18
Enhancing the Oracle XML Developers Kit for Java (XDK/J) 1-18
Loading Sub-Documents from XML Documents Using ORACLE_LOADER 1-19
iv
Availability 1-19
Data Guard 1-19
Distributed Operations on CLOB, BLOB and XMLType 1-20
OCI Support for Distributed LOBs 1-20
Minimizing Impact on Primary Database When Using Multiple SYNC
Standby Databases 1-20
Oracle Data Guard Database Compare 1-21
Subset Standby 1-21
Oracle Data Guard Broker Support for Multiple Automatic Failover Targets 1-21
Oracle Data Guard Broker Support for Multiple Observers 1-22
Simplifying Observer Management for Multiple Fast-Start Failover
Configurations 1-22
Oracle Data Guard Broker Support for Transport Destinations of Different
Endianess Than the Primary 1-22
Oracle Data Guard Broker Support for Oracle Data Guard Multiple Instance
Apply 1-22
Oracle Data Guard Broker Support for Enhanced Alternate Destination 1-23
Fast-Start Failover in Maximum Protection Mode 1-23
Block Comparison Tool Support in Oracle Data Guard Broker DGMGRL
Interface 1-23
Oracle Data Guard Broker Support for Executing DGMGRL Command
Scripts 1-23
Broker ConfigurationWideServiceName Configuration Property 1-24
Enhancing Support for Alternate Destinations 1-24
Automatically Synchronize Password Files in Oracle Data Guard
Configurations 1-25
Preserving Application Connections to An Active Data Guard Standby
During Role Changes 1-25
End-to-End Application Availability 1-25
Application Continuity for OCI Applications 1-25
Application Continuity 1-26
Transaction Guard for Oracle XA Transactions 1-26
Java Support for FAN APIs (UP, DOWN and LoadAdvisory Events) 1-27
JDBC Driver Support for Fast Application Notification (FAN) 1-27
Support for Planned Outages 1-27
Planned Outage for Oracle Data Guard Switchover and Oracle RAC One
Node 1-28
Application Continuity for Planned Database Maintenance 1-28
General 1-29
Multi-Instance Redo Apply 1-29
Oracle Data Guard for Data Warehouses 1-30
Data Guard Broker PDB Migration or Failover 1-30
Logical Replication 1-30
v
Error Handling Improvements for Oracle GoldenGate Integrated Replicat 1-31
Abstract Data Types Support 1-31
Oracle GoldenGate Annotations for DDL 1-31
XStream Inbound Server Performance Optimizations 1-31
Online Operations 1-31
Restarting Redefinition From Failure 1-32
Rolling Back Redefinition 1-32
Redefinition Progress Monitoring 1-32
Optimizing Batch Update During Redefinition 1-33
Materialized Views: Fast Dependent Materialized View Refresh During
Redefinition 1-33
Redefinition Supports Tables With BFILE Columns 1-33
Formalizing Retirement of an Edition With Automatic Garbage Collection 1-33
Online Conversion of a Nonpartitioned Table to a Partitioned Table 1-34
Online SPLIT Partition and Subpartition 1-34
Online Table Move 1-35
Partitioning: Table Creation for Partition Exchange 1-35
Partitioning: Filtered Partition Maintenance Operations 1-35
Recovery Server and RMAN Improvements 1-35
RMAN: Syntax Enhancements 1-36
SCAN Listener Supports HTTP Protocol 1-36
Oracle Recovery Manager - Enhanced Table Recoveries Across Schemas
Using REMAP SCHEMA 1-36
Disk Space Check During RECOVER TABLE Operation 1-37
Upgrading the Incremental Transportable Scripts 1-37
Cross-Platform Import of a Pluggable Database into a Multitenant Container
Database 1-37
Cross-Platform Migration Support for Encrypted Tablespaces 1-38
Cross-Platform Support Over The Network 1-38
Data Guard DUPLICATE Command Enhancements 1-38
DUPLICATE Command Support for Non Auto-Login Wallet Based
Encrypted Backups 1-39
Sharding 1-39
Oracle Database Sharding 1-39
Data-Dependent Routing 1-40
Automatic Deployment of Oracle Data Guard 1-40
Creating Data Guard Standbys With Database Configuration Assistant 1-41
Statement-Level Routing and Cross-Shard Queries 1-41
Enhancing SSL and Kerberos Authentication for Administrative Users 1-41
Simplifying Upgrades 1-42
Oracle Label Security Support for Oracle Data Guard Database Rolling
Upgrade 1-42
vi
Oracle Database Vault Support for Oracle Data Guard Database Rolling
Upgrade 1-42
Oracle Database Vault Support for Flashback Technology and ILM 1-42
Oracle Data Guard Broker Support for Oracle Active Data Guard Rolling
Upgrades 1-43
Big Data and Data Warehousing 1-43
Big Data Management System Infrastructure 1-43
Partitioning: External Tables 1-44
Enhancing Declarative Constraint Support 1-44
Oracle Parallel Query Services on Oracle RAC Read-Only Nodes 1-44
External Tables Can Access Data Stored in Hadoop Data Sources Including
HDFS and Hive 1-44
Dimensional In-Database Analysis 1-45
Analytic Views 1-45
Enhancing Query Processing and Optimization 1-45
Optimizer Statistics Advisor 1-45
Enhancing SQL Plan Management 1-46
Scan Rate and In-Memory Columnar Statistics 1-46
Band Join Enhancements 1-46
Parallel Recursive WITH Enhancements 1-46
Cursor-Duration Temporary Tables Cached in Memory 1-47
General 1-47
Local TEMP Tablespaces 1-47
Oracle Database Can Contain Both Read/Write and Read-Only Instances 1-47
High Performance Oracle Advanced Analytics, Data Mining, and Predictive
Analytics 1-48
Oracle Advanced Analytics Extensibility for R Models 1-48
Oracle Advanced Analytics Association Rules Enhancements 1-48
Significant Performance Improvements and Support for Partitioned Models 1-49
Explicit Semantic Analysis Algorithm Enhancement 1-49
Semi-Structured Big Data 1-49
Support for Range-Based XML Queries with Text-Based XML Index 1-49
Improving Token Management for Binary XML 1-50
Partitioning: Improving Support for XMLIndex 1-50
SMALL_R_ROW Support 1-50
Text: Reverse Token Index for Left-Truncated Queries 1-50
Support for 30-Character Index Names 1-51
Compression and Archiving 1-51
DBFS, Oracle Exadata and SecureFiles Enhancements 1-51
NFS Server in Database 1-51
Hybrid Columnar Compression Improvements 1-51
HCC Compression for Array Inserts 1-51
vii
HCC Compress Data With ADO Row-Level Policy 1-52
Index Compression Enhancements 1-52
Advanced Index Compression 1-52
Database Lifecycle Management 1-52
Support for Automation of Large Scale Cloud Deployments 1-52
Oracle Grid Infrastructure Installation Using Zip Images 1-53
Database Overall 1-53
Core Database Improvements 1-53
Text: Partition-Specific Near Real-Time Indexes 1-54
Text: Improving Management of Near Real-Time Indexes 1-54
Partitioning: Auto-List Partitioning 1-54
Fine-Grained Cursor Invalidation 1-54
Text: Adding New Document Formats 1-55
Text: Structured/Sort Data (SDATA) Section Improvements 1-55
Text: Availability of Updated Documents in Index 1-55
Text: Read-Only MDATA Sections 1-55
Text: Sentiment Analysis and Collocates 1-56
Text: Join Character Support for JAPANESE_VGRAM_LEXER and
WORLD_LEXER 1-56
Text: Extracting Synonyms of Words in Documents 1-56
Text: Changes to NDATA, NEAR2, and NESTED NEAR Query Operators 1-56
Materialized Views: Refresh Statistics History 1-56
Process Management 1-57
Partitioning: Read-Only Partitions 1-57
Partitioning: Multi-Column List Partitioning 1-57
General 1-57
JDBC Support for BigSCN 1-57
Parameter Default and File Location Changes for Read-Only Oracle Home
for Oracle Text 1-58
Pluggable Databases Ease-of-Adoption 1-58
I/O Rate Limits for PDBs 1-59
Heat Map and Automatic Data Optimization Support for CDBs 1-59
PDB Character Set 1-59
PDB Refresh 1-59
Hints in CONTAINERS Query 1-60
Parallel PDB Creation Clause 1-60
PDB Archive Files (.pdb Files) 1-60
Default Tablespace Clause 1-61
Cloning a PDB 1-61
Near Zero Downtime PDB Relocation 1-61
Logical Standby Database to Support CDBs with PDBs with Different
Character Sets 1-61
viii
LogMiner to Support CDBs with PDBs with Different Character Sets 1-62
Support for PDBs with Different Character Sets, Time Zone File Versions,
and Database Time Zones in a CDB 1-62
Pluggable Databases Multitenancy 1-62
Memory Resource Management 1-62
Per-Process PGA Limits 1-63
Performance Profiles and Mandatory PDB Profiles 1-63
CDB-Level PDB Lockdown 1-63
Application Root 1-64
Proxy PDB 1-64
Forwarding Connections to A New Address Based on Service 1-64
Service-Level ACLs for TCP Protocol 1-64
Pluggable Databases Overall 1-65
Flashback Pluggable Database 1-65
Upgrading a CDB With One or More PDBs in a Single Operation 1-65
Support for Thousands of Pluggable Databases for Each Multitenant
Container Database 1-65
Pluggable Database Lockdown Profiles Enhancements 1-66
Pluggable Database Operating System Credentials 1-66
Upgrades 1-66
Enhancing Ease-of-Use and Reporting From Pre-Upgrade Information Tool 1-66
Automatically Set User Tablespaces to Read-Only During Upgrade 1-67
Utilities 1-67
Scheduler: Job Incompatibilities 1-68
Scheduler: Resource Queues 1-68
Scheduler: In-Memory Jobs 1-68
Oracle Data Pump Parallel Import of Metadata 1-68
Oracle Data Pump Parallel Export of Metadata 1-69
New Options for Substitution Variables in Oracle Data Pump File Names 1-69
Renaming Data Files During Import 1-69
TRUST_EXISTING_TABLE_PARTITIONS Flag for DATA_OPTIONS
Parameter of Import 1-69
GROUP_PARTITION_TABLE_DATA Flag for DATA_OPTIONS Parameter
of Export 1-70
Data Verification Option to Import, ORACLE_LOADER Access Driver and
OCIDirPath 1-70
ORACLE_DATAPUMP and ORACLE_LOADER Access Driver Supports
New File Format 1-70
Support for Tables With LONG Data Types in Data Pump Network Mode
Operations 1-71
Metadata Transforms Available for Oracle Data Pump in New Views 1-71
Adding Oracle Data Pump and SQL*Loader Utilities to Instant Client 1-71
SDF_PREFIX Parameter for SQL*Loader 1-71
ix
Allowing Multi-Byte Strings for SQL*Loader Parameters Used for Express
Mode 1-72
Database Migrations: Support LLS Files Generated by DB2 Export Utility 1-72
Diagnosability 1-72
Bug Resolution Process Improvements 1-72
Trace File Analyzer: Web-Based Visualization 1-72
Failure Analytics 1-73
Trace File Analyzer: Optimizing Diagnostic Collection 1-73
Trace File Analyzer: Automating Diagnostic Collection 1-73
Trace File Analyzer: Managing Diagnostic Collection 1-73
Trace File Analyzer: Feedback to Auxiliary Systems 1-74
First Failure Capture 1-74
XStream: Replication Event View 1-74
XStream and GoldenGate Inbound Server Message Tracking 1-74
Trace File Analyzer: Enabling Time-Trimmed Diagnostic Collection 1-75
Exadata 1-75
General 1-75
RMAN: Backing Up Sparse Databases in the Backup-Set Format 1-75
RMAN: Backing Up Sparse Databases in the Image Copy Format 1-75
RMAN: Restoring From Sparse Backups 1-76
RMAN: Recovering the Sparse Database 1-76
RMAN: Purging Sparse Backups 1-76
Manageability 1-76
Automatic Performance Management 1-76
Oracle Data Guard Support for Oracle Diagnostics Pack 1-77
Active Data Guard Support for SQL Tuning Advisor 1-77
SQL Performance Analyzer and SQL Tuning Sets Enhancements 1-78
General 1-78
Database Replay Enhanced PL/SQL Support 1-79
Tracking Index Usage 1-79
Oracle Enterprise Manager Database Express (EM Express) Resource
Manager Support 1-79
EM Express: SQL Performance Analyzer (SPA) Support 1-79
EM Express: Simplifying Configuration for Multitenant Through Single Port
Access 1-80
EM Express: Performance Hub Enhancements 1-80
Oracle Enterprise Manager Database Express (EM Express) Support for
Simplified Database Resource Management 1-80
Automatic Workload Repository (AWR) Support for a Pluggable Database
(PDB) 1-81
Monitoring Real-Time Database Operations 1-81
Miscellaneous 1-82
x
General 1-82
Selective PDB Upgrades 1-82
AWR_PDB_AUTOFLUSH_ENABLED Initialization Parameter 1-82
ENABLE_AUTOMATIC_MAINTENANCE_PDB Initialization Parameter 1-82
AUTOTASK_MAX_ACTIVE_PDBS Initialization Parameter 1-82
Performance 1-82
General Database Performance 1-83
Advanced Queuing: PL/SQL Enqueue and Dequeue Support for JMS
Payload in Sharded Queues 1-83
Advanced Queuing: PL/SQL Enqueue and Dequeue Support for Non-JMS
Payload in Sharded Queues 1-83
ZFS Analytics 1-84
ExaDirect SQL*Net Adapter 1-84
Direct NFS Client Supports Parallel NFS 1-84
Direct NFS Client Dispatcher Support 1-84
Global and Shared Connection Pool for Oracle Cloud and Multitenant
Oracle Databases 1-85
Oracle Database Java Virtual Machine Performance Enhancements 1-85
In-Memory 1-85
In-Memory Expressions 1-85
In-Memory Virtual Columns 1-86
In-Memory FastStart 1-86
Automatic Data Optimization Support for In-Memory Column Store 1-86
Join Groups 1-87
Expression Tracking 1-87
Oracle Database In-Memory Support on Oracle Active Data Guard 1-87
In-Memory Column Store Dynamic Resizing 1-88
Unstructured Data 1-88
Oracle Database File System File Locking 1-88
Oracle Multimedia PL/SQL API 1-88
Public Cloud 1-89
General 1-89
Direct SQL*Net Access Over Oracle Cloud 1-89
Controlling Outbound Database Link Options 1-89
RAC and Grid 1-89
Automatic Storage Management 1-90
Oracle Flex ASM Disk Group Quota Management 1-90
Prioritized Rebalancing 1-90
Extending Oracle Real Application Clusters (Oracle RAC) Configuration
Support 1-90
I/O Server 1-91
Ease-of-Use Improvements 1-91
xi
Cluster Resource Activity Log 1-91
Cluster Verification Utility - Second Generation Command Line Output 1-91
Fault-Tolerant Database Services 1-92
Switch Service Enhancement 1-92
High Availability and Reliability 1-92
VM Manager Agent for GI 1-93
Shared Grid Naming Service High Availability 1-93
Oracle Clusterware Resource Groups 1-93
Reasoned What-If Command Evaluation (Why-If) 1-93
Server Weight-Based Node Eviction 1-94
Load-Aware Resource Placement 1-94
Oracle Clusterware Application Clusters 1-94
Oracle Grid Infrastructure Installation Support for Application Cluster
Installation Type 1-95
Oracle ASM Cluster File System (ACFS) 1-95
Oracle Automatic Storage Management Cluster File System (Oracle ACFS)
Snapshot Enhancements 1-95
Oracle ACFS System Defragger 1-96
4K Sectors and Metadata Enhancements for Oracle ACFS 1-96
Oracle ACFS Metadata Collection Enhancements 1-97
Oracle ACFS Plug-ins for File Content 1-97
Oracle ACFS Loopback Device 1-97
Oracle ACFS API Access for Snapshots, File Tags, Plug-in Metrics 1-98
Oracle ACFS Compression Enhancements 1-98
Oracle Snapshot-Based Replication Enhancements 1-98
Oracle ACFS Auto-Resize Enhancements 1-99
Oracle ACFS Sparse Files Enhancements 1-99
Oracle ACFS Metadata Acceleration 1-99
Oracle ACFS NAS Maximum Availability eXtensions 1-100
Rapid Home Provisioning and Patch Management 1-100
Rapid Home Provisioning 1-100
Super Scalable Cluster 1-100
Support for IPv6 Based IP Addresses for the Oracle Cluster Interconnect 1-100
Super Scalable Oracle RAC 1-101
Oracle Real Application Clusters (Oracle RAC) Reader Nodes 1-101
Service-Oriented Buffer Cache Access Optimization 1-101
Security 1-101
Encryption 1-101
TDE Tablespace Live Conversion 1-102
Fully Encrypted Database 1-102
Support for ARIA, SEED, and GOST Encryption Algorithms in TDE 1-102
TDE Tablespace Offline Conversion 1-103
xii
Enforcing Application Security in the Database 1-103
RAS Session Privilege Scoping 1-103
RAS Column Privilege Enhancements 1-103
RAS Schema Level Policy Administration 1-104
RAS Integration with OLS 1-104
Improving Security Manageability, Administration, and Integration 1-104
Oracle Virtual Private Database Predicate Audit 1-105
Oracle Database Vault Policy 1-105
Oracle Database Vault Simulation Mode Protection 1-105
Oracle Database Vault Common Realms and Command Rules for Oracle
Multitenant 1-105
Privilege Analysis Enhancements 1-106
Privilege Analysis Results Comparison 1-106
Redaction: Different Data Redaction Policy Expressions 1-106
Redaction: New Functions Allowed in Data Redaction Policy Expressions 1-107
Redaction: Additional Data Redaction Transformations 1-107
Automatic KDC Discovery When Configuring OCI Clients 1-107
Automatic Provisioning of Kerberos Keytab for Oracle Databases 1-107
Role-Based Conditional Auditing 1-108
Inherit Remote Privileges 1-108
Improving Security Posture of the Database 1-108
SYSRAC - Separation of Duty for Administering Real Application Clusters 1-108
Transparent Sensitive Data Protection Feature Integration 1-109
Requiring Strong Password Verifiers by Default 1-109
Improving User Authentication and Management 1-109
Automatic Locking of Inactive User Accounts 1-109
Modernizing Network Authentication and Encryption 1-109
Kerberos-Based Authentication for Direct NFS 1-109
Spatial and Graph 1-110
Graph Features 1-110
RDF Semantic Graph Support for W3C Standards 1-110
Property Graph Support 1-110
Spatial Features 1-111
Extending JSON Support in Oracle Database With Spatial Operations 1-111
Location Data Enrichment Services 1-111
In-Database Location Tracking Data Model and Services 1-112
Network Data Model Support for Oracle Coherence 1-112
Network Data Model Feature Editing APIs 1-112
Time-Based Routing Engine Enhancements 1-112
Support for Hash and List Partitioning of Spatial Indexes 1-113
GeoRaster Map Algebra and Image Processing Enhancements 1-113
xiii
Spatial Map Visualization 1-113
Open Geospatial Consortium Web Map Service and Web Map Tile Service
Support 1-114
Geospatial Consortium Web Coverage Service 2.0 Support 1-114
Oracle Workspace Manager Enhancements 1-115
Windows 1-115
General 1-115
Windows Group Managed Service Accounts 1-115
Windows Virtual Accounts 1-116
Integrating With the Latest Windows Platforms and Services 1-116
Windows Resilient File System 1-116
Windows Install: Support Virtual Accounts and Group Managed Accounts 1-116
Oracle Database Manageability on Windows 1-116
Microsoft Management Console Can Manage Oracle Database 1-117
Windows Direct NFS Client Supports All Widely Accepted NFS Path
Formats 1-117
xiv
Preface
This document describes new features implemented in Oracle Database 12c Release
2 (12.2).
• Audience
• Documentation Accessibility
• Related Documents
• Conventions
Audience
Oracle Database New Features Guide is addressed to people familiar with previous
releases of Oracle Database who would like to become familiar with features, options,
and enhancements that are new in this release of the database.
Documentation Accessibility
For information about Oracle's commitment to accessibility, visit the Oracle
Accessibility Program website at http://www.oracle.com/pls/topic/lookup?
ctx=acc&id=docacc.
Related Documents
For more information, see the following documents in the Oracle Database 12c
Release 2 (12.2) documentation set:
• Oracle Database Error Messages
• Oracle Database Administrator’s Guide
• Oracle Database Concepts
• Oracle Database Reference
Conventions
The following text conventions are used in this document:
xv
Preface
Convention Meaning
boldface Boldface type indicates graphical user interface elements associated
with an action, or terms defined in text or the glossary.
italic Italic type indicates book titles, emphasis, or placeholder variables for
which you supply particular values.
monospace Monospace type indicates commands within a paragraph, URLs, code
in examples, text that appears on the screen, or text that you enter.
xvi
1
Oracle Database 12c Release 2 (12.2)
New Features
This chapter contains descriptions of all of the features that are new to Oracle
Database 12c Release 2 (12.2).
• Application Development
• Availability
• Big Data and Data Warehousing
• Compression and Archiving
• Database Lifecycle Management
• Database Overall
• Diagnosability
• Exadata
• Manageability
• Miscellaneous
• Performance
• Public Cloud
• RAC and Grid
• Security
• Spatial and Graph
• Windows
Application Development
• Database Development Productivity Tools Enhancements
• General
• Globalization Support Enhancements
• JSON Support
• Oracle SQL and PL/SQL Improvements
• Reducing Costs and Complexities of Migration to Oracle Database
• Support for the .NET and MS Development Community
• Support for the Java Development Community
• XML
1-1
Chapter 1
Application Development
1-2
Chapter 1
Application Development
1-3
Chapter 1
Application Development
Oracle Application Express release 5.0 interactive reports enhances both developer
and end-user capabilities.
Related Topics
• Oracle® Application Express Application Builder User's Guide
General
• SQL*Plus Command History
• SQL*Plus Tuning Options
1-4
Chapter 1
Application Development
Related Topics
• SQL*Plus® User's Guide and Reference
Column-Level Collation
Collation (also called sort ordering) determines if a character string equals, precedes
or follows another string when the two strings are compared and sorted. Numerous
collations supported by Oracle Database can order strings according to conventions
used in dictionaries, names lists and other sorted text written in many languages of the
world. The column-level collation allows you to declare the sort ordering on a column
level, using syntax and semantics compatible with the ISO, IEC and ANSI SQL
1-5
Chapter 1
Application Development
Case-Insensitive Database
Oracle Database supports case-insensitive collations, such as BINARY_CI or
GENERIC_M_CI. By applying such collations to SQL operations, an application can
perform string comparisons and matching in a case-insensitive way, independent of
the language of the data. With the new Oracle Database 12c Release 2 (12.2) ability
to declare collations for columns, you can declare a column to always be compared in
a case-insensitive way. The column collation, if not specified explicitly, is inherited
from a table default collation, which in turn is inherited from a schema default collation.
This way, you can easily declare all character columns of an application in a database
as case-insensitive.
With this feature, developers can declare data as case-insensitive and do not have to
add explicit uppercasing operations to SQL statements. This feature simplifies
application migration to Oracle Database from non-Oracle Database systems that
allow such declarations.
Related Topics
• Oracle® Database Globalization Support Guide
1-6
Chapter 1
Application Development
With this enhancement, Oracle Database conforms to the latest version of the Unicode
Standard.
Related Topics
• Oracle® Database Globalization Support Guide
JSON Support
• JSON Improvements
JSON Improvements
This release incorporates significant support enhancements for storing and querying
JavaScript Object Notation (JSON) documents for Oracle Database. These
improvements include:
• Improvements to JSON searching:
– The JSON path expressions used with simplified syntax for querying JSON
now support navigating to specific members of an array.
– JSON path expressions used with JSON_EXISTS condition now support
predicates.
• Improvements to JSON search index:
– A new, simplified syntax makes it easier to create a JSON search index.
– The JSON search index supports RANGE and LIST partitioned tables.
– The JSON search index support range-based searching on numeric values.
– The JSON search index can now deal with large keys.
• New capabilities for generating JSON documents directly from SQL queries and
PL/SQL data.
• JSON operators are supported in PL/SQL.
• Support for manipulating JSON documents using PL/SQL. This includes the ability
to make incremental modifications to JSON documents.
• Support for optimizing the performance for JSON query operations using Oracle
Database In-Memory.
• Support for performing spatial-based queries on JSON documents containing
GeoJSON.
• A new data guide feature that facilitates understanding of the structure and content
of your JSON documents.
• Support for using JSON in a sharded database configuration.
This feature makes it easier to work with JSON documents stored in an Oracle
database and to generate JSON documents from relational data.
Related Topics
• Oracle® Database JSON Developer's Guide
1-7
Chapter 1
Application Development
• PL/Scope Reports on Static SQL Statements and Call Sites for Dynamic SQL
• Enhancing CAST Function With Error Handling
• New SQL and PL/SQL Function VALIDATE_CONVERSION
• Binding PL/SQL-Only Data Types to SQL Statements Using DBMS_SQL
• Improving the PL/SQL Debugger
• New PL/SQL Pragma to Mark an Item as Deprecated
• Materialized Views: Real-Time Materialized Views
• Materialized Views: Statement-Level Refresh
• Enhancing LISTAGG Functionality
• DBMS_PLSQL_CODE_COVERAGE Package
• Approximate Query Processing
• White Lists (ACCESSIBLE BY) Enhancements
PL/Scope Reports on Static SQL Statements and Call Sites for Dynamic SQL
The new view, DBA_STATEMENTS, reports on the occurrences of static SQL in PL/SQL
units; listing, for example, the statement text, the type (SELECT, INSERT, UPDATE,
or DELETE) and the SQL_ID. Dynamic SQL call sites (EXECUTE IMMEDIATE, OPEN
cursor FOR dynamic text="") are also listed in this view family. The
DBA_IDENTIFIERS view family now reports on identifiers used in static SQL and
notes their type (table, column, materialized view, sequence, and so on).
The purpose of PL/SQL is to issue SQL statements. Therefore, it is useful that PL/
Scope now knows about the uses of SQL in PL/SQL source code. For example, if
performance investigation reports the SQL_ID of a slow statement, its call sites in the
PL/SQL programs can be found immediately. When PL/SQL source is under quality
control for SQL injection risks, where dynamic SQL is used, the sites to look at can
also be found immediately.
Related Topics
• Oracle® Database Development Guide
1-8
Chapter 1
Application Development
Related Topics
• Oracle® Database SQL Language Reference
Related Topics
• Oracle® Database PL/SQL Packages and Types Reference
1-9
Chapter 1
Application Development
DBMS_PLSQL_CODE_COVERAGE Package
This feature introduces the new DBMS_PLSQL_CODE_COVERAGE package that
enables you to collect data at the basic block level.
A basic block has a single entry point (no code within a basic block is the destination
of a jump instruction) and a single exit point (only the last instruction, or an exception,
can move the point of execution to a different basic block). This notion is independent
of programming language, and is widely used in the presentation of the results of code
coverage tests. PL/SQL developers can now use this standard quality metric.
1-10
Chapter 1
Application Development
Related Topics
• Oracle® Database Development Guide
Long Identifiers
The maximum length of identifiers is increased to 128 bytes for most identifiers, up
from 30 bytes in previous releases.
Providing longer identifiers gives customers greater flexibility in defining their naming
schemes, such as longer and more expressive table names. Having longer identifiers
also enables object name migration between databases with different character sets,
such as Thai to Unicode.
Related Topics
• Oracle® Database SQL Language Reference
1-11
Chapter 1
Application Development
or a database schema object name was 31 characters, and all characters must be
legal and convertible to the target database character set.
The full name of Java classes and methods usually exceeds the 31 character limit. To
work around this issue, Oracle Database uses abbreviated names (short names)
internally, but maintains a correspondence between short names and full names (long
names).
Oracle JVM has been rearchitected to support long identifiers through any RDBMS
command or utility which supports long names including: SYNONYM, DDL, GRANT,
REVOKE, [CREATE | ALTER | DROP] JAVA, DBMS_JAVA,
DBMS_JAVA_DEFINERS, DBMS_JAVA_DUMP, DBMS_JAVA_MISC,
DBMS_JAVA_TEST, and OJVM utilities (ojvmtc, loadjava, dropjava,
ojvmjava, and ojds).
A longer maximum length for SQL identifiers provides compatibility and integration
with other RDBMS components. It also improves performance because there is little or
no conversion needed between short names and long names in Oracle JVM.
Related Topics
• Oracle® Database Java Developer's Guide
1-12
Chapter 1
Application Development
1-13
Chapter 1
Application Development
.NET developers requiring these new features can now use ODP.NET Managed Driver
for their applications.
Related Topics
• Oracle® Data Provider for .NET Developer's Guide for Microsoft Windows
1-14
Chapter 1
Application Development
DRCP Statistics Views and AWR Reports for Performance Monitoring and
Tuning
This feature furnishes views for Database Resident Connection Pooling (DRCP)
statistics and additional Automatic Workload Repository (AWR) snapshots and reports
for monitoring DRCP.
This enhancement provides better manageability and diagnosability of DRCP
performance and scalability.
Related Topics
• Oracle® Database Administrator's Guide
1-15
Chapter 1
Application Development
1-16
Chapter 1
Application Development
1-17
Chapter 1
Application Development
the database for data-bound processing, thereby avoiding data shipping to an external
infrastructure.
Related Topics
• Oracle® Database Java Developer's Guide
XML
• Enhancing the Oracle XML Developers Kit for Java (XDK/J)
• Loading Sub-Documents from XML Documents Using ORACLE_LOADER
1-18
Chapter 1
Availability
Availability
• Data Guard
• End-to-End Application Availability
• General
• Logical Replication
• Online Operations
• Recovery Server and RMAN Improvements
• Sharding
• Simplifying Upgrades
Data Guard
• Distributed Operations on CLOB, BLOB and XMLType
• OCI Support for Distributed LOBs
• Minimizing Impact on Primary Database When Using Multiple SYNC Standby
Databases
• Oracle Data Guard Database Compare
• Subset Standby
• Oracle Data Guard Broker Support for Multiple Automatic Failover Targets
• Oracle Data Guard Broker Support for Multiple Observers
• Simplifying Observer Management for Multiple Fast-Start Failover Configurations
• Oracle Data Guard Broker Support for Transport Destinations of Different
Endianess Than the Primary
• Oracle Data Guard Broker Support for Oracle Data Guard Multiple Instance Apply
• Oracle Data Guard Broker Support for Enhanced Alternate Destination
• Fast-Start Failover in Maximum Protection Mode
1-19
Chapter 1
Availability
• Block Comparison Tool Support in Oracle Data Guard Broker DGMGRL Interface
• Oracle Data Guard Broker Support for Executing DGMGRL Command Scripts
• Broker ConfigurationWideServiceName Configuration Property
• Enhancing Support for Alternate Destinations
• Automatically Synchronize Password Files in Oracle Data Guard Configurations
• Preserving Application Connections to An Active Data Guard Standby During Role
Changes
1-20
Chapter 1
Availability
Users with more than one synchronous standby database destination can reduce the
impact of transient network failures by allowing the primary database to continue as
long as one synchronous standby database has all the redo.
Related Topics
• Oracle® Data Guard Concepts and Administration
An administrator can validate that a standby database does not contain silent
corruptions introduced independently by the I/O stack at a standby database. Oracle
Data Guard already performs validation on hot data (data being read or changed) at
either the primary or standby database, but this new tool provides comprehensive
validation, including cold data that has not been read or changed by Oracle Data
Guard. This ability provides the administrator with complete confidence that the
standby database is free of physical corruption.
Related Topics
• Oracle® Data Guard Concepts and Administration
Subset Standby
A subset standby enables users of Oracle Multitenant to designate a subset of the
pluggable databases (PDBs) in a multitenant container database (CDB) for replication
to a standby database. The standard practice is to have all PDBs in a container to be
subject to the same service level with regard to high availability (HA). This results in a
standard practice where if one PDB requires a standby database, then all PDBs that
reside in the same container would also require a standby database. This is not
always the case, however, in an Oracle Active Data Guard environment where only a
subset of PDBs are required to support read-only operations (a production offload
feature versus an HA service level). A subset standby provides a simple way for
Oracle Data Guard to limit synchronization to the subset of PDBs that are of interest at
the standby database. This feature must be carefully implemented because it changes
the usual semantics of Oracle Data Guard switchover and failover operations since not
every PDB is present in both primary and standby databases.
A subset standby reduces storage and processing requirements when only a portion of
the PDBs in a primary database are desired to be replicated to the standby database.
Related Topics
• Oracle® Data Guard Concepts and Administration
Oracle Data Guard Broker Support for Multiple Automatic Failover Targets
Oracle Data Guard now supports multiple failover targets in a fast-start failover
configuration. Previous functionality allowed for only a single fast-start failover target. If
the failover target was unable to meet the requirements for fast-start failover at the
time of primary failure, then an automatic failure would not occur. Designating multiple
failover targets significantly improves the likelihood that there is always a standby
suitable for automatic failover when needed.
1-21
Chapter 1
Availability
Multiple failover targets increase high availability by making an automatic failover more
likely to occur if there is a primary outage.
Related Topics
• Oracle® Data Guard Broker
Oracle Data Guard Broker Support for Oracle Data Guard Multiple Instance
Apply
The Oracle Data Guard broker DGMGRL command-line interface allows you to
configure and manage on which instances in an Oracle RAC standby the apply
1-22
Chapter 1
Availability
processes should be executed to use the new Oracle Active Data Guard multiple
instance Redo Apply feature.
Oracle Data Guard broker support for the new multi-instance Recovery Apply feature
of Oracle Data Guard allows users who employ the broker to continue to manage
standby databases from the DGMGRL interface and allow the broker to fully automate
the Redo Apply at all physical standby databases.
This enhancement supports the new ALTERNATE syntax of Oracle Data Guard in the
broker.
Related Topics
• Oracle® Data Guard Broker
Oracle Data Guard Broker Support for Executing DGMGRL Command Scripts
This feature enables command scripts to be executed through the Oracle Data Guard
broker DGMGRL command-line interface; much like in SQL*Plus. DGMGRL
commands, SQL commands using the broker SQL command, and operating system
commands using the new HOST (or !) capability can be put into a file and executed on
the DGMGRL command line.
1-23
Chapter 1
Availability
This feature enables customers who use the standard interface to Oracle Data Guard
(DGMGRL) in their broker configurations to use scripts for Oracle Data Guard
operations.
Related Topics
• Oracle® Data Guard Broker
1-24
Chapter 1
Availability
1-25
Chapter 1
Availability
outages were exposed leading to user inconvenience and lost revenue. Users could
unintentionally make duplicate purchases and submit multiple payments for the same
invoice. In the problematic cases, the administrator needed to reboot the mid-tier to
deal with the incoming problems this caused. Application Continuity is an application-
independent feature that attempts to recover incomplete requests from an application
perspective and masks many system, communication and hardware failures, and
storage outages from the user.
The protocol ensures that user transactions are executed no more than once. When
successful, the only time that a user should see an interruption in service is when
there is no point in continuing. When replayed, the execution appears to the
application and client as if the request was slightly delayed. The effect is similar to a
loaded system where the database runs the request slightly slower so that the
response to the client is delayed. Most failures should be masked. This results in fewer
calls to the error handling logic of the application. For example, less often, the
application raises an error leaving the user not knowing what happened or forces the
user to reenter data. Or, more problematic, the administrators must restart the mid-tier
servers to cope with the failure. Other benefits include:
• Improved user experience.
• Higher application availability.
• Improved application developer productivity.
Related Topics
• Oracle® Call Interface Programmer's Guide
Application Continuity
Application Continuity recovers incomplete requests from an ODP.NET, unmanaged
driver perspective and masks many system failures, communication failures, hardware
failures, and storage outages from the user.
Application Continuity ensures that transactions are executed no more than once.
When failures do occur, they are generally masked from the user. This feature leads to
improved user experience, higher application availability, and improved ODP.NET
developer productivity.
Related Topics
• Oracle® Data Provider for .NET Developer's Guide for Microsoft Windows
1-26
Chapter 1
Availability
now return reliable outcome for XA transactions to the user. Transaction Guard with
XA provides the missing requirement that has prevented safe replay following
recoverable outages for Application Continuity when used with promotable XA, and for
WebLogic Server replay.
Related Topics
• Oracle® Real Application Clusters Administration and Deployment Guide
Java Support for FAN APIs (UP, DOWN and LoadAdvisory Events)
The SimpleFAN library (simplefan.jar) is enhanced with a new capability to
identify UP events. The oracle.simplefan.FanUpEventListener interface is
enhanced with two new methods, NodeUpEvent() and ServiceUpEvent(). Note
that NodeUpEvent() is not supported at the server side, but the forward compatible
client API is included in simplefan.jar. ServiceDown, LoadAdvisory, and
NodeDown events are already supported in a previous release.
Java containers, frameworks, and applications looking to handle FAN events can use
these APIs to subscribe to Oracle Database RAC FAN events for building high
availability solutions.
Related Topics
• Oracle® Database JDBC Developer's Guide
1-27
Chapter 1
Availability
implicitly restoring a session state that is already synchronized to the client side to the
post-failover session, OCI eliminates the requirement to write a failover callback.
Planned outages, for example to apply a patch or to conduct routine maintenance,
occur much more frequently than unplanned outages. In a high availability (HA)
configuration, the database tier can tolerate a planned outage by offering services on a
different instance or a standby replica. Applications, on the other hand, are often
written to expect near continuous connectivity to the database. By enhancing key
client drivers, Oracle Database delivers a solution to:
• Reduce the frequency of customer-visible errors that often result during a planned
outage.
• Limit the side effects of the error when an error is unavoidable.
Related Topics
• Oracle® Call Interface Programmer's Guide
Planned Outage for Oracle Data Guard Switchover and Oracle RAC One Node
ODP.NET already supports planned outage, which allows a database being brought
offline to automatically alert ODP.NET applications of the impending downtime.
ODP.NET then stops allocating new connections and close connections returned to
the pool from that particular instance. To enhance planned outage functionality for an
Oracle Data Guard switchover and Oracle Real Application Clusters One Node, new
connection requests are paused until the transition to the new instance occurs. The
pause allows new connections to wait until the new instance can accept connections
without the end user experiencing a timeout.
This feature enables better end user quality of service. Oracle Data Guard switchovers
and Oracle RAC One Node transitions are more seamless during planned outages
without requiring additional application logic.
Related Topics
• Oracle® Data Provider for .NET Developer's Guide for Microsoft Windows
1-28
Chapter 1
Availability
control the scheduled maintenance for all applications with a single command from the
database.
For scheduled maintenance at the database server, Oracle Database 12c Release 2
(12.2) provides:
• Nil errors reported to applications for new, incoming work and existing work while
maintenance is in progress.
• Transparent redirection of the active database sessions to another functional
service.
• A one command orchestration focuses on the best possible application
experience, as opposed to the maintenance applied, as quickly as possible, with
no consideration for the applications.
• Re-balancing of database sessions, as needed, during and after the maintenance
completes.
This feature hides scheduled maintenance operations that are required for the
underlying infrastructure (Oracle Database, Oracle Grid Infrastructure, operating
system, and hardware) without placing a burden on application developers. The
solution differentiates Oracle Database by enabling you to conduct scheduled
maintenance without interruption to most application work.
Related Topics
• Oracle® Real Application Clusters Administration and Deployment Guide
General
• Multi-Instance Redo Apply
• Oracle Data Guard for Data Warehouses
• Data Guard Broker PDB Migration or Failover
1-29
Chapter 1
Availability
Related Topics
• Oracle® Data Guard Concepts and Administration
Logical Replication
• Error Handling Improvements for Oracle GoldenGate Integrated Replicat
• Abstract Data Types Support
• Oracle GoldenGate Annotations for DDL
• XStream Inbound Server Performance Optimizations
1-30
Chapter 1
Availability
With these improvements, you can view the configuration of conflict management
within the database.
Related Topics
• Oracle® Database XStream Guide
Related Topics
• Oracle® Database XStream Guide
Online Operations
• Restarting Redefinition From Failure
• Rolling Back Redefinition
1-31
Chapter 1
Availability
There is also a new ROLLBACK procedure for the DBMS_REDEFINITION package that
initiates the swapping of the redefined table with the original table, therefore effectively
rolling back the redefinition changes and returning the table to its original state.
If the results of a redefinition are not acceptable (for example, a performance slow
down accessing a newly redefined table), then the redefinition changes can be easily
rolled back, therefore saving the DBA time in performing another redefinition to undo
the table changes.
Related Topics
• Oracle® Database Administrator's Guide
1-32
Chapter 1
Availability
This support increases the flexibility of online redefinition by expanding data type
support.
1-33
Chapter 1
Availability
1-34
Chapter 1
Availability
Related Topics
• Oracle® Database VLDB and Partitioning Guide
1-35
Chapter 1
Availability
Related Topics
• Oracle® Database Backup and Recovery Reference
1-36
Chapter 1
Availability
table-related indexes, triggers, constraints, and so on, if these object names are
already existing under the same schema.
Related Topics
• Oracle® Database Backup and Recovery User's Guide
Related Topics
• Oracle® Database Backup and Recovery User's Guide
1-37
Chapter 1
Availability
Related Topics
• Oracle® Database Backup and Recovery User's Guide
1-38
Chapter 1
Availability
enhancement leverages the existing physical standby database for more uses by
taking load off the primary database.
Oracle Data Guard is a high availability (HA) or Maximum Availability Architecture
(MAA) feature critical for disaster recovery deployments. By enabling easier and more
efficient methods to enhance the DUPLICATE command to create far sync standby
support and by allowing creation of a regular database, this feature increases the
benefits for deploying Oracle Data Guard by offloading processes to the standby
database.
Related Topics
• Oracle® Data Guard Concepts and Administration
Sharding
• Oracle Database Sharding
• Data-Dependent Routing
• Automatic Deployment of Oracle Data Guard
• Creating Data Guard Standbys With Database Configuration Assistant
• Statement-Level Routing and Cross-Shard Queries
• Enhancing SSL and Kerberos Authentication for Administrative Users
1-39
Chapter 1
Availability
Data-Dependent Routing
Java Database Connectivity (JDBC), Oracle Call Interface (OCI), and Oracle Data
Provider for .NET (ODP.NET) clients are able to recognize shard keys specified in a
connection string. A shard topology cache in the connection layer is used to route the
request directly to the shard where the data resides.
The Oracle Universal Connection Pool (UCP) for JDBC client is also able to recognize
shard keys specified in the connection URL. A shard topology cache is used to route
the connection directly to the shard where the data resides. Oracle UCP also enables
non-Oracle application clients such as Apache Tomcat, WebSphere, and so on, to
work with Oracle sharding.
Data-dependent routing provides high performance data access and availability for
applications designed for a sharded database architecture.
1-40
Chapter 1
Availability
1-41
Chapter 1
Availability
Related Topics
• Oracle® Database Security Guide
Simplifying Upgrades
• Oracle Label Security Support for Oracle Data Guard Database Rolling Upgrade
• Oracle Database Vault Support for Oracle Data Guard Database Rolling Upgrade
• Oracle Database Vault Support for Flashback Technology and ILM
• Oracle Data Guard Broker Support for Oracle Active Data Guard Rolling Upgrades
Oracle Label Security Support for Oracle Data Guard Database Rolling
Upgrade
Databases that use Oracle Label Security (OLS) can be upgraded to new Oracle
Database releases and patchsets using Oracle Data Guard database rolling upgrades
(transient logical standby database only). This support is for rolling upgrades from
Oracle Database 12c Release 2 (12.2) onward.
Oracle Data Guard database rolling upgrades reduce planned downtime by enabling
the upgrade to new database releases or patchsets in rolling fashion. Total database
downtime for a rolling upgrade is limited to the small amount of time required to
execute an Oracle Data Guard switchover.
Related Topics
• Oracle® Data Guard Concepts and Administration
Oracle Database Vault Support for Oracle Data Guard Database Rolling
Upgrade
Databases that use Oracle Database Vault can be upgraded to new Oracle Database
releases and patchsets using Oracle Data Guard database rolling upgrades (transient
logical standby database only). This support is for rolling upgrades from Oracle
Database 12c Release 2 (12.2) onward.
Oracle Data Guard database rolling upgrades reduce planned downtime by enabling
the upgrade to new database releases or patchsets in rolling fashion. Total database
downtime for a rolling upgrade is limited to the small amount of time required to
execute an Oracle Data Guard switchover.
Related Topics
• Oracle® Data Guard Concepts and Administration
1-42
Chapter 1
Big Data and Data Warehousing
This support enables Oracle Database Vault customers to take advantage of the
flashback and ILM technologies features without compromising the security
protections that Oracle Database Vault provides.
Related Topics
• Oracle® Database Vault Administrator's Guide
Oracle Data Guard Broker Support for Oracle Active Data Guard Rolling
Upgrades
Oracle Data Guard broker now supports Oracle Active Data Guard rolling upgrade.
Oracle Active Data Guard rolling upgrade was introduced in Oracle Database 12.1. It
simplifies the execution of the transient logical database rolling upgrade process by
automating many manual steps in a simple PL/SQL package (DBMS_ROLLING). In
addition to making database rolling upgrades simpler, the automated process is much
more reliable. Oracle Data Guard broker can now direct Oracle Active Data Guard
rolling upgrades from the DGMGRL command-line interface. Broker support also adds
substantial simplification to the rolling upgrade process by transparently handling redo
transport destination settings and other tasks.
Broker-managed database rolling upgrades provide the ultimate method of simplifying
the upgrade process and minimizing downtime and risk when introducing change to
production environments.
Related Topics
• Oracle® Data Guard Concepts and Administration
1-43
Chapter 1
Big Data and Data Warehousing
External Tables Can Access Data Stored in Hadoop Data Sources Including
HDFS and Hive
External tables can access data stored on Hadoop. The most important data sources
are the Hadoop Distributed File System (HDFS) and Apache Hive. External tables are
used by both SQL*Loader and Oracle Data Pump, and thus also by the
ORACLE_LOADER and ORACLE_DATAPUMP access drivers.
This feature allows more users of Hadoop to combine map-reduce processing with the
essential database qualities that many applications require.
Related Topics
• Oracle® Database Utilities
1-44
Chapter 1
Big Data and Data Warehousing
Analytic Views
Analytic views provide a business intelligence layer over a star schema, making it easy
to extend the data set with hierarchies, levels, aggregate data, and calculated
measures. The analytic view feature includes the new DDL statements CREATE
ATTRIBUTE DIMENSION, CREATE HIERARCHY and CREATE ANALYTIC VIEW and
their related ALTER and DROP statements, new calculated measure expression syntax,
and new data dictionary views.
Analytic views allow data warehouse and business intelligence application developers
to extend the star schema with time series and other calculations, making data more
valuable to business users and eliminating the need to define calculations within the
application.
Analytic views can be queried with simple SQL queries, simplifying application
development by eliminating the need for complex SQL generators. Calculations can be
defined in the analytic view and can be selected by including the measure name in the
SQL select list.
Analytic views promote consistency across applications. By defining aggregation and
calculation rules centrally in the database, the risk of inconsistent results in different
reporting tools is reduced or eliminated.
Related Topics
• Oracle® Database Data Warehousing Guide
1-45
Chapter 1
Big Data and Data Warehousing
Related Topics
• Oracle® Database SQL Tuning Guide
1-46
Chapter 1
Big Data and Data Warehousing
efficient computation of the shortest path from a single source node to single or
multiple destination nodes in a graph. A bi-directional search starts from both source
and destination nodes, and then advancing the search in both directions. Techniques
such as greedy search, pruning of unpromising intermediate paths, and bi-directional
searches are implemented to optimize performance.
Related Topics
• Oracle® Database SQL Language Reference
General
• Local TEMP Tablespaces
• Oracle Database Can Contain Both Read/Write and Read-Only Instances
1-47
Chapter 1
Big Data and Data Warehousing
1-48
Chapter 1
Big Data and Data Warehousing
1-49
Chapter 1
Big Data and Data Warehousing
This feature extends the scope of the text-based XMLIndex by enabling the index to
optimize range-based searching. This increases the range of queries that can be
optimized with the text-based index.
SMALL_R_ROW Support
A new Oracle Text storage attribute, SMALL_R_ROW, enables you to reduce the size of
a row in the $R index table.
This feature reduces contention on the $R table when many processes are updating
rows at the same time.
Related Topics
• Oracle® Text Application Developer's Guide
The left-truncated searches are now as fast as the right-truncated searches, without
the need to use the WORDLIST attribute, SUBSTRING_INDEX.
1-50
Chapter 1
Compression and Archiving
Related Topics
• Oracle® Text Reference
1-51
Chapter 1
Database Lifecycle Management
minimal, because direct path operations require a segment lock, whereas array inserts
do not use a segment lock.
Related Topics
• Oracle® Database Administrator's Guide
1-52
Chapter 1
Database Overall
Database Overall
• Core Database Improvements
• General
• Pluggable Databases Ease-of-Adoption
• Pluggable Databases Multitenancy
• Pluggable Databases Overall
• Upgrades
• Utilities
1-53
Chapter 1
Database Overall
Specifying a maximum size prevents the near real-time $G index table from getting too
large to fit into memory.
Related Topics
• Oracle® Text Reference
Related Topics
• Oracle® Database VLDB and Partitioning Guide
1-54
Chapter 1
Database Overall
• B-tree backed SDATA sections are made range-searchable for better performance.
• SDATA can be optimized for SEARCH or SORT operations
• Multi-value SDATA sections - Group counting available on SDATA sections in the
result set interface.
These SDATA improvements provide better performance and more flexible mixed
queries within the Oracle Text index environment.
Related Topics
• Oracle® Text Reference
1-55
Chapter 1
Database Overall
The benefit is a more consistent treatment of Latin strings when they are handled by
the JAPANESE_VGRAM_LEXER type for some documents, and by BASIC_LEXER for
other documents.
1-56
Chapter 1
Database Overall
Related Topics
• Oracle® Database Data Warehousing Guide
Process Management
This feature improves connection times and parallel processing times by pre-creating
process resources. An administrator can control how many processes to pre-create so
that new connections do not have to wait for milliseconds or seconds. Instead,
processes can use pre-created process resources, thus reducing connect and parallel
processing times.
The feature improves connect and failover times for user connections and process
spawn times for background processes.
Related Topics
• Oracle® Database Administrator's Guide
General
• JDBC Support for BigSCN
• Parameter Default and File Location Changes for Read-Only Oracle Home for
Oracle Text
1-57
Chapter 1
Database Overall
support a BigSCN of 8 bytes. This helps when you have a very large number of
transactions to run smoothly.
Parameter Default and File Location Changes for Read-Only Oracle Home for
Oracle Text
This feature changes some parameter defaults as well as the locations of some files
as follows:
• Default value of LOG_DIRECTORY
The default value of parameter LOG_DIRECTORY changes from $ORACLE_HOME
to $ORACLE_BASE_HOME. For Oracle Text, the default log directory is
now $ORACLE_BASE_HOME/ctx/log/.
• CTX_OUTPUT
The default path of CTX_OUTPUT.START_LOG and
CTX_OUTPUT.START_QUERY_LOG is now $ORACLE_BASE_HOME because, in
some configurations, $ORACLE_HOME is now read only.
• ctxload
The default path of ctxload changes to the current directory, which can be any
directory with write privileges. The exception is $ORACLE_HOME
because $ORACLE_HOME is read-only from this point forward.
Log file name: The default log directory is no longer the current directory. The
default directory is now $ORACLE_BASE_HOME/ctx/log.
• ctxkbtc
Log file name: The default log directory is no longer the current directory. The
default directory is now $ORACLE_BASE_HOME/ctx/log.
Related Topics
• Oracle® Text Reference
1-58
Chapter 1
Database Overall
• Support for PDBs with Different Character Sets, Time Zone File Versions, and
Database Time Zones in a CDB
Related Topics
• Oracle® Database Administrator's Guide
PDB Refresh
Customers want to periodically propagate changes from a source pluggable database
(PDB) to its cloned copy. In such cases, we say that the cloned PDB is a refreshable
copy of the source PDB. A refreshable cloned PDB can only be opened in read-only
mode and propagating changes from the source PDB can be performed manually (on
demand) or automatically.
This feature eliminates the need to re-create a cloned environment from scratch and
also ensures that a cloned PDB can be periodically synchronized with source
changes. This feature significantly reduces the time to provision a cloned copy of
PDBs.
1-59
Chapter 1
Database Overall
Related Topics
• Oracle® Database Administrator's Guide
In the above example, the string <hint_string> is used as the hint for each
recursive SQL statement executed under the covers of CONTAINERS (<object>).
With this new feature, you can control the SQL execution plans of recursive SQL
statements generated from the CONTAINERS () query.
Related Topics
• Oracle® Database SQL Language Reference
1-60
Chapter 1
Database Overall
This features provides the flexibility to choose a default tablespace during any PDB
creation operation.
Related Topics
• Oracle® Database Administrator's Guide
Cloning a PDB
Cloning of a pluggable database (PDB) resolves the issue of setting the source system
to read-only mode before creating a full or snapshot clone of a PDB. With this feature,
you can now clone your production PDBs and create point-in-time copies for
development or testing without any application outage.
This feature eliminates the need to create application outages for the purpose of
cloning.
Related Topics
• Oracle® Database Administrator's Guide
Logical Standby Database to Support CDBs with PDBs with Different Character
Sets
In Oracle Database 12c Release 2 (12.2), multitenant container databases (CDBs)
allow pluggable databases (PDBs) to have different character sets as long as the root
container has a character set that is the superset of all of the PDBs character sets.
Logical standby databases support such a primary database.
This feature enables the rolling upgrade of a CDB with PDBs that use different
character sets.
1-61
Chapter 1
Database Overall
Related Topics
• Oracle® Data Guard Concepts and Administration
Support for PDBs with Different Character Sets, Time Zone File Versions, and
Database Time Zones in a CDB
This feature enables pluggable databases (PDB) in a consolidated database (CDB) to
have different character sets, time zone file versions, and database time zones.
CDB enables multiple departmental databases to be consolidated into one
consolidated database with each of these databases as pluggable databases (PDBs).
This feature enables the consolidation of databases that have different character sets,
time zone file versions, and database time zones into a CDB.
Related Topics
• Oracle® Call Interface Programmer's Guide
1-62
Chapter 1
Database Overall
This feature prevents one PDB from using too much buffer cache, library cache, or
program global area (PGA), which can result in poor performance for another PDB. At
the same time, this feature helps to maintain good overall database performance.
Related Topics
• Oracle® Database Administrator's Guide
A runaway query using excessive amounts of PGA or temporary space can result in
serious problems on a database. In a multitenant container database (CDB) or
consolidated environment, this type of query can affect other pluggable databases and
even other databases.
Related Topics
• Oracle® Database Administrator's Guide
This feature is required for managing CDBs that have many pluggable databases in a
public cloud context.
Related Topics
• Oracle® Database Administrator's Guide
1-63
Chapter 1
Database Overall
connected to a specified PDB. The lockdown levels can be as simple as high, medium
and low. The high level restricts access to operating system files, Oracle XML
Database, and external tables. The low level enables these features.
The PDB lockdown profile provides enhanced security in a multitenant environment.
Related Topics
• Oracle® Database Security Guide
Application Root
Federation of pluggable databases (PDBs) enables you to create a common
application data model that can be shared across multiple tenants participating in the
federation. You can also create and maintain a common data source that can be
referenced by individual tenants.
The federation of PDBs improves operational efficiency to maintain multiple application
tenants from a single master.
Related Topics
• Oracle® Database Administrator's Guide
Proxy PDB
A proxy pluggable database (PDB) provides fully functional access to another PDB in
a remote multitenant container database (CDB). This feature enables you to build
location-transparent applications that can aggregate data from multiple sources that
are in the same data center or distributed across data centers.
A proxy PDB provides the capability to aggregate data from multiple application
backends.
Related Topics
• Oracle® Database Administrator's Guide
1-64
Chapter 1
Database Overall
are enforced by the listener. Access to a pluggable database service is enabled only
for IPs that are permitted through an ACL.
This feature improves pluggable database security.
Related Topics
• Oracle® Database Net Services Administrator's Guide
1-65
Chapter 1
Database Overall
Oracle Database 12c Release 1 (12.1.0.1) supported up to 252 PDBs for each CDB.
By supporting higher numbers of PDBs for each CDB, you have fewer CDBs to
manage and thus benefit from further reductions in operating expenses.
Related Topics
• Oracle® Database Administrator's Guide
Upgrades
• Enhancing Ease-of-Use and Reporting From Pre-Upgrade Information Tool
• Automatically Set User Tablespaces to Read-Only During Upgrade
1-66
Chapter 1
Database Overall
expanded and enhanced, and can self-validate to detect cases where the fix up is no
longer needed. The Pre-Upgrade Information Tool is now delivered as a single .jar file
for easier porting, copying, and migrating of the tool between systems.
These improvements to upgrade automation reduce the efforts needed to upgrade a
database.
Related Topics
• Oracle® Database Upgrade Guide
Utilities
• Scheduler: Job Incompatibilities
• Scheduler: Resource Queues
• Scheduler: In-Memory Jobs
• Oracle Data Pump Parallel Import of Metadata
• Oracle Data Pump Parallel Export of Metadata
• New Options for Substitution Variables in Oracle Data Pump File Names
• Renaming Data Files During Import
• TRUST_EXISTING_TABLE_PARTITIONS Flag for DATA_OPTIONS Parameter of
Import
• GROUP_PARTITION_TABLE_DATA Flag for DATA_OPTIONS Parameter of
Export
• Data Verification Option to Import, ORACLE_LOADER Access Driver and
OCIDirPath
• ORACLE_DATAPUMP and ORACLE_LOADER Access Driver Supports New File
Format
1-67
Chapter 1
Database Overall
• Support for Tables With LONG Data Types in Data Pump Network Mode
Operations
• Metadata Transforms Available for Oracle Data Pump in New Views
• Adding Oracle Data Pump and SQL*Loader Utilities to Instant Client
• SDF_PREFIX Parameter for SQL*Loader
• Allowing Multi-Byte Strings for SQL*Loader Parameters Used for Express Mode
• Database Migrations: Support LLS Files Generated by DB2 Export Utility
1-68
Chapter 1
Database Overall
Oracle Data Pump jobs now take less time because parallel import of metadata is
added to this release.
Related Topics
• Oracle® Database Utilities
New Options for Substitution Variables in Oracle Data Pump File Names
Choices for substitution (wildcard) variables are now available for Oracle Data Pump
dump file names. The new choices include date or time values, a larger range for
numeric values, and system generated unique file names.
Substitution variables improve file management for Oracle Data Pump dump files and
enables you to take advantage of higher degrees of parallel processing without
manually specifying individual file names.
Related Topics
• Oracle® Database Utilities
1-69
Chapter 1
Database Overall
1-70
Chapter 1
Database Overall
Support for Tables With LONG Data Types in Data Pump Network Mode
Operations
Data Pump normally moves table data in a network import by using the INSERT AS
SELECT SQL statement. However, INSERT AS SELECT cannot be used to move
LONG columns, therefore, data for those tables are not moved. For cases where it is
possible, the Data Pump uses OCIDirPathUnload to unload the data from the
remote database and then uses OCIDirPathLoad to load the table data into the
target database. OCIDirPath allows the Data Pump to move tables with most data
types including LONGs. For tables that contain data types that cannot be moved with
OCIDirPath, the Data Pump continues to use INSERT AS SELECT. If a table has
both a LONG column and one of the data types that OCIDirPath cannot move, then
network import cannot move that table.
This support also makes network import available to more users.
Related Topics
• Oracle® Database Utilities
1-71
Chapter 1
Diagnosability
specified in the SDF_PREFIX parameter. You can also specify this parameter in the
OPTIONS clause inside the SQL*Loader control file.
This feature simplifies the distribution of data files that can be loaded from different
directory paths on different machines.
Related Topics
• Oracle® Database Utilities
Diagnosability
• Bug Resolution Process Improvements
• Failure Analytics
• First Failure Capture
1-72
Chapter 1
Diagnosability
Real Application Clusters (Oracle RAC). The TFA web-based visualization feature
adds easy-to-navigate web-based visualization to TFA. The TFA web-based
visualization feature is installed as part of Oracle Grid Infrastructure.
Using TFA web sourcing, reviewing, and analyzing diagnostic information gathered as
part of a TFA collection becomes easier and more efficient, leading to reduced
recovery time.
Related Topics
• Oracle® Autonomous Health Framework User's Guide
Failure Analytics
• Trace File Analyzer: Optimizing Diagnostic Collection
• Trace File Analyzer: Automating Diagnostic Collection
• Trace File Analyzer: Managing Diagnostic Collection
• Trace File Analyzer: Feedback to Auxiliary Systems
1-73
Chapter 1
Diagnosability
repository size of either 10 GB or 50% of the file system size on which the TFA
repository resides, whichever is greater.
The ability to have the Oracle Trace File Analyzer (TFA) Collector manage the data
collected not only simplifies the management of the system, but also ensures that
relevant data is provided when needed.
Related Topics
• Oracle® Autonomous Health Framework User's Guide
1-74
Chapter 1
Exadata
When enabled (which is the default), files are trimmed to only include data from
around the time of the event.
Related Topics
• Oracle® Autonomous Health Framework User's Guide
Exadata
• General
General
• RMAN: Backing Up Sparse Databases in the Backup-Set Format
• RMAN: Backing Up Sparse Databases in the Image Copy Format
• RMAN: Restoring From Sparse Backups
• RMAN: Recovering the Sparse Database
• RMAN: Purging Sparse Backups
1-75
Chapter 1
Manageability
Related Topics
• Oracle® Database Backup and Recovery User's Guide
This feature allows a sparse database to be restored without affecting the base data
files.
Related Topics
• Oracle® Database Backup and Recovery User's Guide
Manageability
• Automatic Performance Management
• General
1-76
Chapter 1
Manageability
1-77
Chapter 1
Manageability
General
• Database Replay Enhanced PL/SQL Support
• Tracking Index Usage
• Oracle Enterprise Manager Database Express (EM Express) Resource Manager
Support
• EM Express: SQL Performance Analyzer (SPA) Support
• EM Express: Simplifying Configuration for Multitenant Through Single Port Access
• EM Express: Performance Hub Enhancements
• Oracle Enterprise Manager Database Express (EM Express) Support for
Simplified Database Resource Management
• Automatic Workload Repository (AWR) Support for a Pluggable Database (PDB)
• Monitoring Real-Time Database Operations
1-78
Chapter 1
Manageability
1-79
Chapter 1
Manageability
1-80
Chapter 1
Manageability
– Quick setup when the most common type of resource manager plan must be
created
– Full setup and how to use the charts to set directives for the plan
• Monitoring effectiveness of the currently active plan (Resource Manager
Dashboard page and plan home page of EM Express)
• Full support for multitenant environment using multitenant container database
(CDB) level plans (directives are on pluggable databases (PDB)) as well as PDB
level plans (directives are on consumer groups)
The EM Express support for simplified management of database resources
significantly reduces the burden on the database administrator (DBA) by helping to
create and manage resource manager plans.
This feature enables performance tuning and troubleshooting for workloads executing
on a PDB.
Related Topics
• Oracle® Database Performance Tuning Guide
1-81
Chapter 1
Miscellaneous
Miscellaneous
• General
General
• Selective PDB Upgrades
• AWR_PDB_AUTOFLUSH_ENABLED Initialization Parameter
• ENABLE_AUTOMATIC_MAINTENANCE_PDB Initialization Parameter
• AUTOTASK_MAX_ACTIVE_PDBS Initialization Parameter
Performance
• General Database Performance
• In-Memory
1-82
Chapter 1
Performance
• Unstructured Data
Advanced Queuing: PL/SQL Enqueue and Dequeue Support for JMS Payload
in Sharded Queues
PL/SQL APIs can now perform enqueue and dequeue operations for Java Message
Service (JMS) payload in sharded queues. Similarly, the PL/SQL Array APIs are
exposed to sharded queue JMS users. Since JMS sharded queue support of
heterogeneous messages, dequeue gets one of the five JMS message types back, but
cannot predict what the type is of the next message received. Therefore, it can run into
application errors with PL/SQL complaining about type mismatch. Oracle Corporation
suggests that the application always dequeue from sharded queues using the generic
type AQ$_JMS_MESSAGE. PL/SQL administration is also supported.
There are important high end customers who make use of PL/SQL APIs to enqueue
and dequeue JMS payload in unsharded queues because of ease-of-use and to avoid
client-server round trip time.
Related Topics
• Oracle® Database PL/SQL Packages and Types Reference
1-83
Chapter 1
Performance
ZFS Analytics
Database-specific drill down capability is added to ZFS analytics. You can now filter
statistics on Oracle ZFS Storage Appliance (ZFSSA) based on database IDs (DBID)
and pluggable database IDs (PDBID). This capability is built on top of Oracle Direct
NFS Client using the NFSv4 and NFSv4.1 protocols.
With this feature, customers using Oracle Database with ZFSSA can see more details
on how each database, including each pluggable database in a multitenant container
database, is interacting with the storage using ZFSSA monitoring tools.
1-84
Chapter 1
Performance
Global and Shared Connection Pool for Oracle Cloud and Multitenant Oracle
Databases
This feature introduces a shared Java connections pool for multitenant data sources.
This feature leverages the new switch service functionality to reuse pooled
connections across multitenant (pluggable) databases.
This feature improves scalability, Oracle Cloud deployment, multitenant deployment,
diagnosability, and manageability of Oracle Database connections through a global
and shared connection pool.
Related Topics
• Oracle® Universal Connection Pool Developer's Guide
In-Memory
• In-Memory Expressions
• In-Memory Virtual Columns
• In-Memory FastStart
• Automatic Data Optimization Support for In-Memory Column Store
• Join Groups
• Expression Tracking
• Oracle Database In-Memory Support on Oracle Active Data Guard
• In-Memory Column Store Dynamic Resizing
In-Memory Expressions
The In-Memory Column Store allows objects (tables, partitions, and subpartitions) to
be populated in memory in a compressed columnar format. In-memory expressions
enable frequently evaluated query expressions to be materialized in the In-Memory
Column Store for subsequent reuse.
1-85
Chapter 1
Performance
Populating the materialized values of frequently used query expressions into the In-
Memory Column Store greatly reduces the system resources required to execute
queries and allows for better scalability.
Related Topics
• Oracle® Database In-Memory Guide
In-Memory FastStart
In-Memory Column Store allows objects (for example, tables, partitions, and
subpartitions) to be populated in-memory in a compressed columnar format. Until now,
the columnar format has only been available in-memory. That meant that after a
database restart, the In-Memory Column Store would have to be populated from
scratch using a multiple step process that converts traditional row formatted data into
the compressed columnar format and placed in-memory. In-Memory FastStart enables
data to be repopulated into the In-Memory Column Store at a much faster rate than
previously possible by saving a copy of the data currently populated in the In-Memory
Column Store on disk in its compressed columnar format.
In-Memory FastStart significantly reduces the time it takes to repopulate data into the
In-Memory Column Store after a system restart. This allows businesses to start taking
advantage of the analytic query performance benefits of accessing data in a columnar
format much sooner than before.
Related Topics
• Oracle® Database In-Memory Guide
1-86
Chapter 1
Performance
and expensive resource. ADO ensures that only the best candidate objects are
populated in the In-Memory Column Store using user defined policies. This provides
optimal performance without requiring regular intervention by the DBA to manually
manage the content of the In-Memory Column Store.
Related Topics
• Oracle® Database In-Memory Guide
Join Groups
Data populated into the In-Memory Column Store is compressed using a number of
different encoding techniques. If two columns used together in a join are encoded
using different techniques, then both columns must be decompressed to conduct the
join. A join group allows the user to specify which columns are used for joins across
tables so those columns can always be compressed using the same encoding
techniques.
Having columns that are used together in joins encoded using the same technique
enables the join to be conducted without having to uncompress the columns greatly
improving the efficiency of the join.
Related Topics
• Oracle® Database In-Memory Guide
Expression Tracking
SQL statements commonly include expressions such as "+" or "-". More complicated
examples include PL/SQL functions or SQL functions like LTRIM and TO_NUMBER. A
repository maintains usage information about expressions identified during compilation
and captured during execution. Complicated expressions involving multiple columns or
functions make it more difficult to accurately estimate selectiveness in the optimizer,
resulting in suboptimal plans. Processing more information about expressions and
their usage is useful for establishing better query execution plans.
Customers benefit from improved query performance for statements that include
expressions.
1-87
Chapter 1
Performance
execution performance of the workload. This is because the processing can take full
advantage of accessing data in a compressed columnar format, in memory.
Related Topics
• Oracle® Database In-Memory Guide
Unstructured Data
• Oracle Database File System File Locking
• Oracle Multimedia PL/SQL API
1-88
Chapter 1
Public Cloud
Related Topics
• Oracle® Multimedia Reference
Public Cloud
• General
General
• Direct SQL*Net Access Over Oracle Cloud
• Controlling Outbound Database Link Options
1-89
Chapter 1
RAC and Grid
Prioritized Rebalancing
Prioritized rebalancing is a feature of Oracle Flex ASM disk groups in which some file
sets are rebalanced before other file sets. A file set can be considered as a collection
of ASM files belonging to a database or a pluggable database (PDB). Oracle Flex
ASM disk groups allow splitting of mirror copies of files in a file set and then new mirror
copies are made during a rebalancing operation. Prioritized rebalancing enables you
favor more critical databases or PDBs over less critical ones.
Oracle Flex ASM disk groups enable a greater level of consolidation, which enhances
the need for prioritization of certain database operations. This prioritized rebalancing
feature allows for that prioritization to take place.
Related Topics
• Oracle® Automatic Storage Management Administrator's Guide
1-90
Chapter 1
RAC and Grid
of the stack as a whole to be set up during installation and optimizes the extended
Oracle RAC operations.
A distinguishable extended Oracle RAC configuration allows for better reliability of
extended Oracle RAC setups, either between sites or in smaller settings that require
protection against storage array failures.
Related Topics
• Oracle® Clusterware Administration and Deployment Guide
I/O Server
This feature provides Oracle databases access to data in Oracle ASM disk groups
without requiring physical “storage connectivity” to the underlying disks as currently
required. Access to the data by databases is provided over a network similar to the
way a network file system (NFS) server provides data to NFS clients.
This feature enables client clusters to access a disk group without requiring shared
storage.
Related Topics
• Oracle® Automatic Storage Management Administrator's Guide
Ease-of-Use Improvements
• Cluster Resource Activity Log
• Cluster Verification Utility - Second Generation Command Line Output
1-91
Chapter 1
RAC and Grid
Related Topics
• Oracle® Clusterware Administration and Deployment Guide
1-92
Chapter 1
RAC and Grid
1-93
Chapter 1
RAC and Grid
behind the policy decisions and explains the entities involved, their attributes, and the
criteria used to arrive at each of the potential actions.
Why-If command evaluations help applications, cluster, and system administrators
involved in capacity planning and configuration management to set up and test
resource management policies.
Related Topics
• Oracle® Clusterware Administration and Deployment Guide
1-94
Chapter 1
RAC and Grid
Related Topics
• Oracle® Grid Infrastructure Installation and Upgrade Guide for Linux
Related Topics
• Oracle® Grid Infrastructure Installation and Upgrade Guide for Linux
1-95
Chapter 1
RAC and Grid
• Oracle ACFS snapshot delete with open files: It is a force snapshot delete that
enables a snapshot with open file references to be removed from an Oracle ACFS.
• Snap dup: Snap dup(licate) creates commands to encode the differences between
two point-in-time snapshots into a data stream. This snap dup operation is offered
in Oracle Database 12c Release 2 (12.2) as an independent Oracle ACFS
snapshot command.
• Snap dup apply command: Use the apply command to apply the encoded
snapshot to a standby Oracle ACFS snapshot.
These Oracle ACFS Snapshot features significantly enhance the snapshot
functionality and simplify file system snapshot operations.
Related Topics
• Oracle® Automatic Storage Management Administrator's Guide
1-96
Chapter 1
RAC and Grid
The Oracle ACFS Metadata Collector tool can be a useful tool at customer sites,
because it enables you to collect Oracle ACFS metadata for diagnosis without
requiring you to take the Oracle ACFS file system off-line. The Oracle ACFS Metadata
Collector tool is not a replacement for the file system checker (fsck) tool.
Related Topics
• Oracle® Automatic Storage Management Administrator's Guide
1-97
Chapter 1
RAC and Grid
Oracle ACFS API Access for Snapshots, File Tags, Plug-in Metrics
This feature creates a full-featured C library that supports the external clients of Oracle
ACFS functionality including Oracle ACFS snapshots, Oracle ACFS file tags, and
Oracle ACFS plug-in metrics. Third party applications and Oracle Fusion Middleware
are an example of target consumers of this library.
In addition, a generic Oracle ACFS library is created in Oracle Database that
effectively serves as a wrapper for the platform-specific Oracle ACFS C library. This
library supports generic programmatic access to Oracle ACFS, avoiding platform-
specific details and dynamic library issues. An example of a consumer of this library is
Oracle Database PDB cloning using Oracle ACFS snapshots.
The feature allows programmatic access to Oracle ACFS, avoiding platform-specific
details and dynamic library issues for third party applications.
Related Topics
• Oracle® Automatic Storage Management Administrator's Guide
1-98
Chapter 1
RAC and Grid
1-99
Chapter 1
RAC and Grid
Support for IPv6 Based IP Addresses for the Oracle Cluster Interconnect
You can configure cluster nodes to use either IPv4 or IPv6 based IP addresses on a
private network, and more than one private network can be used for a cluster.
IPv6 support for the private interconnect completes the IPv6 enhancement effort for
Oracle Real Application Clusters (Oracle RAC). Oracle RAC has supported IPv6 for
the public network since Oracle Database 12c Release 1 (12.1). Unlike for the public
network, the IPv6 support for the private interconnect is restricted to either support
IPv4 or IPv6 based IP addresses, but not both versions simultaneously.
Related Topics
• Oracle® Clusterware Administration and Deployment Guide
1-100
Chapter 1
Security
Security
• Encryption
• Enforcing Application Security in the Database
• Improving Security Manageability, Administration, and Integration
• Improving Security Posture of the Database
• Improving User Authentication and Management
• Modernizing Network Authentication and Encryption
Encryption
1-101
Chapter 1
Security
Related Topics
• Oracle® Database Advanced Security Guide
1-102
Chapter 1
Security
A much finer degree of data management is possible through this new feature in
addition to the SELECT performance enhancements.
Related Topics
• Oracle® Database Real Application Security Administrator's and Developer's
Guide
1-103
Chapter 1
Security
1-104
Chapter 1
Security
Oracle Database Vault Common Realms and Command Rules for Oracle
Multitenant
Oracle Database Vault common realms and command rules for Oracle Multitenant
databases allows common objects of a multitenant container database to be protected
1-105
Chapter 1
Security
by common realms and command rules. These common Oracle Database Vault
controls protect common objects in all pluggable databases (PDB) where Oracle
Database Vault is enabled. Since mixed mode is allowed where some PDBs have
Oracle Database Vault enabled and some do not, the common realms and command
rules protections are effective only in those PDBs where Oracle Database Vault is
enabled. There is a way to enforce common realms and command rules protections
across all PDBs by turning on Oracle Database Vault strict mode. Oracle Database
Vault strict mode requires that every PDB in the multitenant container database (CDB)
has Oracle Database Vault enabled.
Multitenant container database architectures deploying the same applications across
multiple PDBs can centrally manage their Oracle Database Vault protections for the
application common objects instead of locally in each PDB. This improved
management capability of common objects not only saves time, but also lowers the
risk of having different security profiles on similar PDBs.
Related Topics
• Oracle® Database Vault Administrator's Guide
1-106
Chapter 1
Security
Related Topics
• Oracle® Database Advanced Security Guide
These new transformations expand capabilities and potential use cases of Data
Redaction. In earlier database versions, you could not redact to NULL, and for LOB
data, you only could redact the entire value to a fixed constant.
Related Topics
• Oracle® Database Advanced Security Guide
1-107
Chapter 1
Security
Separation of duty for administering Oracle RAC (SYSRAC) improves the security of
Oracle Database and reduces reliance on SYSDBA privilege to do Oracle RAC
administration. SYSRAC comes after the introduction of SYSKM, SYSDG, and
SYSBACKUP in Oracle Database 12c Release 1 (12.1) to provide separation of duty for
key management, Oracle Data Guard and RMAN backup, respectively. With these
administrative privileges in place, customers have a choice to implement separation of
duty in their environment in a manner that fits their business needs. For example,
customers can create a named administrative account and grant only the
administrative privileges needed such as SYSRAC and SYSDG to manage both Oracle
RAC and Oracle Data Guard configurations.
1-108
Chapter 1
Security
Related Topics
• Oracle® Database Security Guide
1-109
Chapter 1
Spatial and Graph
This feature solves the problem of authentication, message integrity, and optional
encryption over unsecured networks for data exchange between Oracle Database and
NFS servers using Direct NFS protocols.
Related Topics
• Oracle® Grid Infrastructure Installation and Upgrade Guide for Linux
Graph Features
• RDF Semantic Graph Support for W3C Standards
• Property Graph Support
1-110
Chapter 1
Spatial and Graph
Property graphs enable discovery and analysis of data relationships and properties.
Oracle Spatial and Graph property graph provides a unique combination of limitless
scalability, secure storage, flexible deployment, ease of application development, and
rich property graph analytics for a range of social media, knowledge network, and
national security applications.
Related Topics
• Oracle® Spatial and Graph Property Graph Developer's Guide
Spatial Features
• Extending JSON Support in Oracle Database With Spatial Operations
• Location Data Enrichment Services
• In-Database Location Tracking Data Model and Services
• Network Data Model Support for Oracle Coherence
• Network Data Model Feature Editing APIs
• Time-Based Routing Engine Enhancements
• Support for Hash and List Partitioning of Spatial Indexes
• GeoRaster Map Algebra and Image Processing Enhancements
• Spatial Map Visualization
• Open Geospatial Consortium Web Map Service and Web Map Tile Service
Support
• Geospatial Consortium Web Coverage Service 2.0 Support
• Oracle Workspace Manager Enhancements
1-111
Chapter 1
Spatial and Graph
Location tags are extracted from text data and are matched with well known place
names using Oracle Text and enhanced with other geographic information associated
with the well know place names.
The results can be stored as additional attributes with the original data.
This feature allows users to automatically process less structured geographic and
location data so that the information can be categorized, compared, filtered, and
associated with other data. For example, data with postal codes only can be enriched
to include city, county, state, and country allowing it to be joined or analyzed with other
data sets that can have state level information. This is especially useful when
comparing Big Data results with structured information in operational systems and
data warehouses.
1-112
Chapter 1
Spatial and Graph
This means the routes generated by the routing engine can be more accurate and
detailed, and can permit the use of the routing engine in applications that previously
required custom development.
1-113
Chapter 1
Spatial and Graph
• A graphical map builder tool that enables you to create map symbols, define
spatial data rendering rules, and create and edit map objects.
• A map cache and FOI (feature of interest) servers that facilitate the development
of interactive geospatial web applications.
The map visualization feature supports two-dimensional vector geometries stored in
Oracle Spatial and Graph, as well as GeoRaster data and data in the Oracle Spatial
and Graph topology and network data models. It is also an Open Geospatial
Consortium (OGC) compliant Web Map Service (WMS) and Web Map Tile Service
(WMTS) server.
The map visualization feature in Oracle Spatial and Graph enhances the spatial data
management capabilities by providing a generic web-based means of delivering and
viewing any spatial and geographic data in the database. This creates enormous
potential for understanding and capturing the geographic components of any business,
by unlocking the enterprise information in many corporate warehouses and making it
available to basic mapping applications. For instance, business applications such as
Field Service, Transportation and Logistics, Asset Lifecycle Management, Human
Resources, and Real Estate can now render and visualize the massive amount of data
they control if there is a geographic component such as an address tied to the data.
Developers of location-based services, data publishers in state and local government,
and architects of web services and more traditional applications can all easily integrate
these mapping features into their web-based solutions.
Open Geospatial Consortium Web Map Service and Web Map Tile Service
Support
Oracle Spatial and Graph includes support for the Open Geospatial Consortium (OGC)
Web Map Service (WMS 1.3.0) and Web Map Tile Service (WMTS 1.0.0). These
services provide simple HTTP REST interfaces to online map services and tile
servers, respectively.
Through these standards-based interfaces, applications using Oracle Spatial and
Graph map visualization can make map data in Oracle Database available to other
applications through OGC Web Map Services and Map Tile Services. In addition, they
enable geographic data and query results from Oracle Spatial and Graph to be
displayed with maps and map tiles from any OGC-compliant service.
Related Topics
• Oracle® Spatial and Graph Developer's Guide
1-114
Chapter 1
Windows
discovered and incorporated into Oracle Spatial and Graph applications. This feature
offers a wide range of raster data sets to complete and enrich applications.
Related Topics
• Oracle® Spatial and Graph Developer's Guide
Windows
• General
• Integrating With the Latest Windows Platforms and Services
• Oracle Database Manageability on Windows
General
• Windows Group Managed Service Accounts
• Windows Virtual Accounts
1-115
Chapter 1
Windows
Related Topics
• Oracle® Database Platform Guide for Microsoft Windows
1-116
Chapter 1
Windows
Windows Direct NFS Client Supports All Widely Accepted NFS Path Formats
Previously, Oracle's Windows Direct NFS (dNFS) Client could only use Windows
specific network file system (NFS) paths. This new feature enhances the dNFS Client
so that it can support all widely accepted NFS path formats, including both Windows
style and UNIX style NFS paths.
Administrators now have the flexibility to use their preferred NFS path format.
Related Topics
• Oracle® Database Installation Guide for Microsoft Windows
1-117