Introducing Oracle Database 18c: Oracle White Paper - February 2018
Introducing Oracle Database 18c: Oracle White Paper - February 2018
Disclaimer 1
Introduction 1
Multitenant Architecture 3
Performance 4
High Availability 5
Security 7
Application Development 9
Conclusion 11
In July 2017, Oracle transitioned to a more flexible and responsive strategy for the database software
release process designed to bring new features to market every year. The general availability of
Oracle Database 18c is the first annual release in Oracle’s database software release model. For
comparative purposes, Oracle Database 18c may be viewed as what would have been the first patch
set to Oracle Database 12c Release 2 in the previous release model. Looking forward, customers will
no longer have to wait multiple years for the latest generation of Oracle Database, and can anticipate
the introduction of new database features and enhancements on a regular annual basis. Oracle
Database 18c (and subsequent annual releases) will also feature prominently as a core component of
Oracle’s recently announced Autonomous Database Cloud Services.
This white paper discusses some of the critical capabilities of Oracle Database 18c that can help
customers deliver the best performance, scalability, reliability and security for all their transactional and
analytical workloads, and application development requirements.
CARL OLOFSON
RESEARCH VICE PRESIDENT, IDC
» Cost-based Optimization. Automatic SQL query optimization, automatic statistics gathering, automatic query rewrite
automatic SQL Plan management and automatic SQL tuning.
» Performance Tuning and Diagnostics. Automatic memory and resource management, automatic index and
materialized view advisors, Automatic Database Diagnostic Monitor, Automatic Database Workload capture & replay and
Automatic Workload Repository.
» Data Optimization. Automatic undo management, automatic segment space management, Automatic Storage
Management, Automatic Data Optimization and automatic columnar cache.
» Cloud-Scale Operations. Automatic standby management (broker), Diagnostic Framework, Multitenant Architecture,
automatic database clone refresh and machine learning in Cluster Health Advisor.
At Openworld 2017, Oracle announced the Autonomous Database Cloud, a range of database services tailored for specific
Data Warehousing, OLTP, and NoSQL workloads. By utilizing existing database functionality with machine-learning
techniques, the Autonomous Database Cloud can provide a level of performance and reliability that manually managed
databases struggle to deliver. The Autonomous Database Cloud is specifically designed to provide customers with a higher
level of service at lower cost by automating routine administrative tasks and eliminating human error through:
» Self-Driving. Users simply define workloads and policies, and database automation makes them happen.
» Self-Securing. Protection from both external attacks and internal users.
» Self-Repairing. Automated protection from all downtime.
The Autonomous Database Cloud is built on top of the world’s most widely proven and sophisticated database: Oracle
Database, it runs on the world’s best database platform: Oracle Exadata, and will be available as pay-as-you-go services on
Oracle Cloud and Exadata Cloud at Customer (for public cloud and private cloud deployment respectively).
Oracle’s multitenant database also enables rapid database provisioning, cloning and movement. For example, if the underlying
filesystem supports copy on writes (e.g. ZFS Filesystem, ASM Cluster Filesystem, etc.), cloning of pluggable databases can occur
almost instantaneously. Other agility features of Oracle’s multitenant database include:
» PDB Hot Clone enables fast instantiation of PDBs without having to take users offline.
» PDB Refresh enables cloned PDBs to be regularly updated with latest data.
» PDB Relocate enables PDBs to be relocated between CDBs with near zero downtime.
In addition, the Application Container capabilities of Oracle’s multitenant database allow an application, formerly architected for
standalone deployment on-premises, to be converted to an instant Software-as-a-Service (SaaS) architecture, with no code
changes. The application is simply installed, unchanged, into an Application Root, and tenant PDBs (e.g. for separate customers)
can share the application code while retaining secure isolation of tenant data. Application upgrades need only be applied to the
single Application Root master and tenant PDBs simply synchronize with the upgraded master.
Since its introduction in 2013, Oracle’s multitenant database has been widely adopted by ISVs and customers alike and deployed
both on-premises and in the Cloud. Indeed, many Oracle Cloud Database Services including the Exadata Express Service and
Autonomous Data Warehouse Cloud rely on multitenant for tenant isolation, agility and scalability. The release of Oracle Database
18c introduces a number of enhancements to existing multitenant functionality including:
» Faster Deployment of Upgrades, Updates and Revisions. A new infrastructure further reduces the execution time of database
upgrades, updates and revisions.
» Transportable Backups support the use of backups performed on a PDB prior to it being unplugged and plugged into a new
container. This facilitates agile relocation of PDBs between CDBs, perhaps for load balancing or migration between on-premises
and cloud, without requiring backups to be taken immediately before, and after, each PDB relocation.
» Snapshot Carousel enables customers to define regular snapshots of PDBs that can then be used for a full point in time
recovery or to a specific point in time clone. The Snapshot Carousel is ideally suited to development environments, that typically
require multiple copies of databases at different points in time, or to augment a non mission critical back and recovery process.
» Refreshable PDB Switchover enables customers to create a PDB, which is an incrementally updated copy of a “master” PDB
(e.g. from on-prem to Cloud), that may subsequently be switched over between each other. When this happens the “master” PDB
becomes the clone and the old clone the master. This capability will make it even easier for customers to gracefully switch
workloads between different CDBs.
The multitenant architecture of Oracle Database cost-effectively enables tenant isolation, and agility with economies of scale,
whether deployed in the Oracle Cloud, on-premises or hybrid cloud environments.
Simple To Implement
Unlike other in-memory databases, Oracle Database In-Memory does not require the entire database to fit into main memory. It
simply requires setting the size of the IM column store and identifying performance sensitive tables or partitions. With Oracle
Database 18c, the management of the IM column store content can now be automated, which means that the database
automatically takes care of populating objects into the IM column store and removing those that are no longer relevant. A unique
feature of Database In-Memory is that no changes to existing applications are required to take advantage of the IM column store.
The optimizer automatically routes analytic queries to the columnar format and transactional queries to the row format. In addition,
the IM column store is extended to flash on Exadata storage (both on-premises and Oracle Cloud), dramatically enlarging the
capacity of columnar formatted data.
Memory-Optimized Performance
Oracle Database In-Memory’s state-of-the-art algorithms for in-memory scans, joins and aggregations are widely proven to deliver
orders-of-magnitude performance improvements for customers’ analytical and mixed workloads. In addition, other typical use-cases
for Oracle Database In-Memory include hybrid transactional analytic processing (HTAP), where analytics are an integral component
of business transactions, as well as data warehouse query and reporting systems. Oracle Database In- Memory’s performance-
enhancing features include; In-Memory Join Groups, In-Memory Expressions and in-memory processing of JSON queries.
MemOptimized RowStore
In addition to Oracle Database In-Memory column store and non-volatile memory support, Oracle Database 18c introduces a
Memoptimized Rowstore designed for fast query performance such as Internet of Things (IoT) workloads that require very fast and
low latency lookups based on primary key values. A new table level attribute, MEMOPTIMIZE FOR READ, is used to indicate which
tables are to be pinned into the buffer cache with this new hash index. Key-value lookups then bypass the SQL execution layer and
execute directly in the data access layer via an in-memory hash index. This feature enables clients to perform very low-latency
reads from the in-memory buffer, which can significantly increase the throughput of key-value lookups compared to conventional
methods. This fast lookup performance can be further enhanced when used with Exadirect for Infiniband high-speed networks by
leveraging the ability to use Remote Direct Memory Access (RDMA).
Unplanned Downtime
IT infrastructures are prone to failures such as server faults, disk crashes or storage corruption, site outages and human error that
can incur costly unplanned downtime. In order to prevent and mitigate unplanned downtime Oracle Database 18c offers a number of
critical high availability capabilities including:
» Real Application Clusters (RAC) enables multiple database instances to run on multiple servers in a cluster against a shared
database. Since the servers run independently, the failure of one or more does not affect the others; RAC effectively removes the
database server as a single point of failure.
» Automatic Storage Management (ASM) is the underlying (clustered) volume manager technology recommended for used with
Oracle Database. ASM stripes and mirrors everything for faster performance and higher availability, with a choice 2-or 3-way disk
mirroring to protect data from disk failures.
» Recovery Manager (RMAN) manages Oracle database backup, restore, and recovery processes. It maintains configurable
backup and recovery policies, and keeps historical records of all database backup and recovery activities, thereby ensuring that all
files required to successfully restore and recover a database are included in database backups..
» Oracle Secure Backup (OSB) delivers scalable, centralized tape backup management for both database and file system data in
distributed, heterogeneous IT environments. This includes RMAN backups to Oracle object store and Amazon S3 object storage..
» Flashback enables reversing of human errors by efficiently undoing the effects of a mistake (e.g. an accidental table drop).
» Active Data Guard (ADG) enables protection from site failures by maintaining replica standby databases (synchronously or
asynchronously) in alternative (typically remote) location. ADG also enable customers and offload read-only processing (e.g.
backups, reports, analytics, etc.) to standby databases.
Oracle Exadata and many of Oracle Cloud’s database services (e.g. Exadata Service and Autonomous Services) are built using
these critical high availability capabilities using Oracle’s Maximum Availability Architecture to offer customers the highest levels of
database availability, both on-premises and on Oracle Cloud.
Planned Downtime
Planned downtime for essential maintenance such as hardware upgrades, software upgrades and patching are part and parcel of
every IT operation. Nonetheless, downtime (planned or otherwise) can be costly and Oracle Database 18c offers a number of
capabilities to help customers reduce the amount of planned downtime required for maintenance activities, including:
» Hardware Maintenance and Migration Operations Using Automatic Storage Management, disks can be added or removed
online and the data is automatically rebalanced. Database servers can also be easily added or removed to a clustered database
infrastructure while users remain connected. Cross platform incremental backup and recovery minimizes downtime for cross-
platform hardware migrations, as does fast unplug and plug of PDBs between multitenant containers on different servers.
» Online Patching of database software can be applied to server nodes in a ‘rolling’ manner using Oracle Real Application
Clusters. Users are simply migrated from one server to another; the server is quiesced from the cluster, patched, and then put back
online. The same operation is then repeated for every server in the cluster. With Oracle Database 18c, zero impact patching of grid
infrastructure patches each of the nodes Grid Infrastructure software in a rolling fashion whist the databases running on that node
continue to be available to the application users.
» Rolling Database Upgrades Oracle Data Guard or Oracle Active Data Guard enables upgrading of a standby database, testing
of the new (upgraded) environment and then switching users to the new environment, without any downtime.
» Online Redefinition Oracle Database allows changes to a table structure while continuing to support an online production
system, and data files and partitions may be moved around storage devices while users continue to access underlying data.
» Edition Based Redefinition enables online application upgrades. Using edition-based redefinition, changes to program code can
be made in the privacy of a new edition within the database, separated from the current production edition. An editioning view
exposes different projections of the same table into each edition, ensuring that the code in each edition only sees its own specific
view of the table. Cross edition triggers propagate the data changes made by the old production edition into the new edition’s
columns, and vice-versa. This then allows both the old production environment and the new production environment to be used at
the same time, for testing, and allows users to be moved online from one edition to the other.
Oracle Database 18c now provides customers with a high-performance, reliable and secure platform to easily and
cost-effectively modernize their transactional and analytical workloads either in the Cloud, or on-premises, or in a
Hybrid Cloud configuration. It offers the same familiar database software running on-premises and in the Cloud
that enables customers to take their in-house developed Oracle applications and ISV applications and run them on
Oracle Cloud without incurring any application changes. Customers can therefore continue to utilize all their
existing IT skills and resources, and get the same support for their Oracle Databases both on-premises and in
Oracle Cloud.
Unique, critical database capabilities such as Real Application Clusters and Active Data Guard, and unique
Engineered Systems such as Oracle Exadata and Database Appliance, have helped establish Oracle as the
database market leader by a wide margin. Indeed, Oracle has been widely proven to provide the performance,
reliability and security required for some of the world’s most demanding transactional and analytical workloads.
Oracle Database 18c takes the management of customer’s enterprise data to the next level, helping customers on
their journey to the cloud.
CONNECT WITH US
blogs.oracle.com/oracle
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. This document is provided for information purposes only, and the
contents hereof are subject to change without notice. This document is not warranted to be error-free, nor subject to any other
facebook.com/oracle warranties or conditions, whether expressed orally or implied in law, including implied warranties and conditions of merchantability or
fitness for a particular purpose. We specifically disclaim any liability with respect to this document, and no contractual obligations are
formed either directly or indirectly by this document. This document may not be reproduced or transmitted in any form or by any
twitter.com/oracle means, electronic or mechanical, for any purpose, without our prior written permission.
oracle.com 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. 0218