8
Contents at a Glance 1 Getting Started with Oracle Database 12c ............................... 1 2 Upgrading and Migrating to Oracle Database 12c ........................ 51 3 Oracle Multitenant ............................................... 109 4 Oracle Grid Infrastructure ......................................... 169 5 Backup, Recovery, and Data Guard New Features ....................... 183 6 Oracle Database 12c SQL and PL/SQL New Features ..................... 213 7 Partitioning Enhancements ......................................... 251 8 Business Intelligence and Data Warehousing ........................... 265 9 Security New Features ............................................ 291 10 Oracle Database 12c Manageability New Features ....................... 311 11 Oracle Database 12c Performance New Features ........................ 339 12 Other Oracle Database 12c New Features ............................. 387 A Deprecated and Desupported Features in Oracle Database 12c ........... 423 B New Parameters and Views in Oracle Database 12c .................... 429 Index ........................................................ 441 ix

Contents at a Glance - Amazon Web ServicesOracle-Regular / Oracle Database 12c New Features / Freeman / 931-1 xiv racle Database 12O c New Features Oracle Data Guard New Features

  • Upload
    others

  • View
    5

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Contents at a Glance - Amazon Web ServicesOracle-Regular / Oracle Database 12c New Features / Freeman / 931-1 xiv racle Database 12O c New Features Oracle Data Guard New Features

Contents at a Glance

1 Getting Started with Oracle Database 12c . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1

2 Upgrading and Migrating to Oracle Database 12c . . . . . . . . . . . . . . . . . . . . . . . .51

3 Oracle Multitenant . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .109

4 Oracle Grid Infrastructure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .169

5 Backup, Recovery, and Data Guard New Features . . . . . . . . . . . . . . . . . . . . . . .183

6 Oracle Database 12c SQL and PL/SQL New Features . . . . . . . . . . . . . . . . . . . . .213

7 Partitioning Enhancements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .251

8 Business Intelligence and Data Warehousing . . . . . . . . . . . . . . . . . . . . . . . . . . .265

9 Security New Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .291

10 Oracle Database 12c Manageability New Features . . . . . . . . . . . . . . . . . . . . . . .311

11 Oracle Database 12c Performance New Features . . . . . . . . . . . . . . . . . . . . . . . .339

12 Other Oracle Database 12c New Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . .387

A Deprecated and Desupported Features in Oracle Database 12c . . . . . . . . . . .423

B New Parameters and Views in Oracle Database 12c . . . . . . . . . . . . . . . . . . . .429

Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .441

Oracle-Regular / Oracle Database 12c New Features / Freeman / 931-1

ix

00-FM.indd 9 10/21/13 5:06 PM

Page 2: Contents at a Glance - Amazon Web ServicesOracle-Regular / Oracle Database 12c New Features / Freeman / 931-1 xiv racle Database 12O c New Features Oracle Data Guard New Features

Contents

Foreword . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xixAcknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxiIntroduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxv

1 Getting Started with Oracle Database 12c . . . . . . . . . . . . . . . . . . . . . . . . . 1Downloading and Staging Oracle Database 12c . . . . . . . . . . . . . . . . . . . . . 2Preparing to Install Oracle Database 12c . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

Review the Install Guides and Read-Me Files . . . . . . . . . . . . . . . . . . 4Make Sure Your OS Platform Has

All Required Updates Installed . . . . . . . . . . . . . . . . . . . . . . . . . . . 4Make Sure Your Platform Meets the Minimum Requirements . . . . . . . 5Create the Required OS Groups and Users . . . . . . . . . . . . . . . . . . . . 7Configure the Kernel Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8Check Whether Any Patches Are Required Prior to the Install . . . . . . 8Finish the Pre-Install Steps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

Installing and Deinstalling Oracle Database 12c . . . . . . . . . . . . . . . . . . . . . 9Prepare to Start the OUI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10Install Oracle Database 12c Using the OUI . . . . . . . . . . . . . . . . . . . . 11Deinstall Oracle Database 12c with the OUI . . . . . . . . . . . . . . . . . . 40

The Death of Database Control and Birth of Database Express . . . . . . . . . . . 42Database Express Prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43

Accessing Database Express . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43Navigating Database Express . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43

End of Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49

2 Upgrading and Migrating to Oracle Database 12c . . . . . . . . . . . . . . . . . . . 51Introductory Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52

The Difference Between Upgrading and Migrating a Database . . . . . 52Upgrading Is Complex—Tread Carefully . . . . . . . . . . . . . . . . . . . . . 53Why Upgrade—What’s the Big Deal . . . . . . . . . . . . . . . . . . . . . . . . . 54

Oracle-Regular / Oracle Database 12c New Features / Freeman / 931-1

xi

00-FM.indd 11 10/21/13 5:06 PM

Page 3: Contents at a Glance - Amazon Web ServicesOracle-Regular / Oracle Database 12c New Features / Freeman / 931-1 xiv racle Database 12O c New Features Oracle Data Guard New Features

Oracle-Regular / Oracle Database 12c New Features / Freeman / 931-1

xii Oracle Database 12c New Features

New Features Related to Upgrading to Oracle Database 12c . . . . . . . . . . . . 55Pre-Upgrade Information Tool . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56Parallel Processing for Database Upgrades . . . . . . . . . . . . . . . . . . . . 56Restartable DBUA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56Pre- and Post-Upgrade Summary Report Enhancements . . . . . . . . . . 57Installation of Oracle XML Database During the Upgrade . . . . . . . . . 57

Preparing for an Upgrade to Oracle Database 12c . . . . . . . . . . . . . . . . . . . . 57Read, and Then Read Some More . . . . . . . . . . . . . . . . . . . . . . . . . . . 58Testing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58Check for Compatibility Issues . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62Consider Removing Database Control Before You Upgrade . . . . . . . . 63Back Up the Source Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64Choose an Upgrade or Migration Method . . . . . . . . . . . . . . . . . . . . . 65More About the Pre-Upgrade Information Tool . . . . . . . . . . . . . . . . . 69Getting Ready to Upgrade or Migrate . . . . . . . . . . . . . . . . . . . . . . . . 74

Upgrading to Oracle Database 12c with the Database Upgrade Assistant . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77

Starting the DBUA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77Upgrading with DBUA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78

Upgrading to Oracle Database 12c Manually . . . . . . . . . . . . . . . . . . . . . . . 92Manual Upgrade Pre-Upgrade Steps . . . . . . . . . . . . . . . . . . . . . . . . . 93Performing the Manual Upgrade . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93Manual Upgrade Post-Upgrade Steps . . . . . . . . . . . . . . . . . . . . . . . . 96Other Post-Upgrade Steps to Consider . . . . . . . . . . . . . . . . . . . . . . . . 97

Migrating to Oracle Database 12c with Oracle Data Pump . . . . . . . . . . . . . 98The Benefits of Using Oracle Data Pump

When Migrating to Oracle Database 12c . . . . . . . . . . . . . . . . . . . 99Using Oracle Data Pump to Migrate Your

Database to Oracle Database 12c . . . . . . . . . . . . . . . . . . . . . . . . . 100Rolling Upgrades . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106

Rolling Back the Upgrade . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107Miscellaneous Changes to Be Aware of After Upgrading . . . . . . . . . . . . . . . 108End of Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 108

3 Oracle Multitenant . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109Introducing Oracle Multitenant . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111

The Multitenant Container Database . . . . . . . . . . . . . . . . . . . . . . . . . 113The Pluggable Database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123

CDBs and PDBs and the Data Dictionary . . . . . . . . . . . . . . . . . . . . . . . . . . . 129The CDB Data Dictionary and V$ Views . . . . . . . . . . . . . . . . . . . . . . 129The PDB Data Dictionary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132CDB/PDB Administration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133CDB/PDB Object Administration Data Dictionary Queries . . . . . . . . 137

00-FM.indd 12 10/21/13 5:06 PM

Page 4: Contents at a Glance - Amazon Web ServicesOracle-Regular / Oracle Database 12c New Features / Freeman / 931-1 xiv racle Database 12O c New Features Oracle Data Guard New Features

Oracle-Regular / Oracle Database 12c New Features / Freeman / 931-1

Contents xiii

Creating, Deleting, and Modifying PDBs . . . . . . . . . . . . . . . . . . . . . . . . . . . 140Creating a PDB from the Seed Database . . . . . . . . . . . . . . . . . . . . . . 141Cloning a PDB from an Existing PDB . . . . . . . . . . . . . . . . . . . . . . . . 142Cloning a PDB from a PDB in a Remote CDB . . . . . . . . . . . . . . . . . . 144Unplugging a PDB and Plugging a PDB into a CDB . . . . . . . . . . . . . 146Plugging in a Non-CDB as a PDB . . . . . . . . . . . . . . . . . . . . . . . . . . . 151Removing a PDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154Renaming a PDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154

Using Oracle Multitenant as a Consolidation Tool . . . . . . . . . . . . . . . . . . . . 155Oracle Multitenant and Resource Management . . . . . . . . . . . . . . . . . . . . . . 155Administration of CDBs and PDBs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156

Administration of CDBs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156Administration of PDBs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157

Backup and Recovery of CDBs and PDBs . . . . . . . . . . . . . . . . . . . . . . . . . . 161Backup Features Available at the CDB Level . . . . . . . . . . . . . . . . . . . 161Backup Features Available for PDBs . . . . . . . . . . . . . . . . . . . . . . . . . 162RMAN Restore and Recovery Features for CDBs and PDBs . . . . . . . . 165Other Backup and Recovery Features for CDBs and PDBs . . . . . . . . . 167

End of Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 168

4 Oracle Grid Infrastructure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 169Flex Clusters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171Flex ASM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173

Flex ASM Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174Installing and Configuring Flex ASM . . . . . . . . . . . . . . . . . . . . . . . . . 175

ASM Enhancements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177Password Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178ASM Rebalance and Resync . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178

ACFS Enhancements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178File Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179Highly Available NFS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181ACFS Snapshots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181Other Enhancements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182

End of Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 182

5 Backup, Recovery, and Data Guard New Features . . . . . . . . . . . . . . . . . . . . 183RMAN-Related New Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184

Improvements in Incremental and Multisection Backups . . . . . . . . . . 184Recovery of Databases Over the Network Using

Backup Sets from a Standby Database . . . . . . . . . . . . . . . . . . . . . . 186Active Database Duplication Improvements . . . . . . . . . . . . . . . . . . . 189Cross-Platform Backup and Recovery Improvements . . . . . . . . . . . . . 189Recovering Tables and Partitions with RMAN . . . . . . . . . . . . . . . . . . 201Miscellaneous RMAN New Features . . . . . . . . . . . . . . . . . . . . . . . . . 207

00-FM.indd 13 10/24/13 2:46 PM

Page 5: Contents at a Glance - Amazon Web ServicesOracle-Regular / Oracle Database 12c New Features / Freeman / 931-1 xiv racle Database 12O c New Features Oracle Data Guard New Features

Oracle-Regular / Oracle Database 12c New Features / Freeman / 931-1

xiv Oracle Database 12c New Features

Oracle Data Guard New Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210The SYSDG Privilege . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210The Far Sync Instance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210Cascaded Redo Transport Destinations . . . . . . . . . . . . . . . . . . . . . . . 210Fast-Sync Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211Other New Standby Database and Data Guard Features . . . . . . . . . . 211

End of Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212

6 Oracle Database 12c SQL and PL/SQL New Features . . . . . . . . . . . . . . . . . 213Oracle Database 12c DML New Features . . . . . . . . . . . . . . . . . . . . . . . . . . 214

Row Pattern Matching . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214Enhancements to the Oracle Native Left Outer Join Syntax . . . . . . . . 223Top-n Query New Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223Concurrent Execution of Union and Union All Branches . . . . . . . . . . 227

Oracle Database 12c DDL New Features . . . . . . . . . . . . . . . . . . . . . . . . . . . 227Increased Size Limits for VARCHAR2,

NVARCHAR2, and RAW Data Types . . . . . . . . . . . . . . . . . . . . . . . 228Identity Columns . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 229Cascading Truncate Statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232Invisible Columns . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233Default Values for Columns Based on Oracle Sequences . . . . . . . . . . 235Default Values for Columns on Explicit NULL Insertion . . . . . . . . . . . 237Sequence-Related New Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . 238Creating Multiple Indexes on the Same Column Set . . . . . . . . . . . . . 239With Clause New Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 240

Oracle Database 12c PL/SQL New Features . . . . . . . . . . . . . . . . . . . . . . . . . 242Using the Bequeath Clause on Views . . . . . . . . . . . . . . . . . . . . . . . . 242PL/SQL Subprogram White Lists . . . . . . . . . . . . . . . . . . . . . . . . . . . . 242Using PL/SQL-Specific Data Types

Across the PL/SQL-to-SQL Interface . . . . . . . . . . . . . . . . . . . . . . . 244Changes to Security Privileges on Invoker

Rights PL/SQL Program Units . . . . . . . . . . . . . . . . . . . . . . . . . . . . 245Granting Roles to PL/SQL Packages

and Stand-Alone Subprograms . . . . . . . . . . . . . . . . . . . . . . . . . . . 246A Final Word on PL/SQL New Features . . . . . . . . . . . . . . . . . . . . . . . 248

End of Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 249

7 Partitioning Enhancements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 251Moving Partitions Online . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 252Interval-Reference Partitioning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 255Cascade Functionality . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 256Partition Maintenance Operations on Multiple Partitions . . . . . . . . . . . . . . . 257

00-FM.indd 14 10/24/13 2:50 PM

Page 6: Contents at a Glance - Amazon Web ServicesOracle-Regular / Oracle Database 12c New Features / Freeman / 931-1 xiv racle Database 12O c New Features Oracle Data Guard New Features

Oracle-Regular / Oracle Database 12c New Features / Freeman / 931-1

Contents xv

Partial Indexes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 259Creating Partitions With or Without Indexing . . . . . . . . . . . . . . . . . . . 260Partial Indexing of Partitions Within a Partitioned Table . . . . . . . . . . . 261

Global Index Maintenance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262Automatic Global Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262End of Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 264

8 Business Intelligence and Data Warehousing . . . . . . . . . . . . . . . . . . . . . . . . 265Advanced Analytics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 266

New Algorithms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 266Search Capabilities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267Prediction Detail Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267

OLAP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267Information Lifecycle Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 268

In-Database Archiving and Temporal Validity . . . . . . . . . . . . . . . . . . . 268Automatic Data Optimization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277Compression . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 288

Temporal History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 289In-Database Archiving, Temporal Validity, and Temporal History . . . . 289

Performance Enhancements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 290End of Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 290

9 Security New Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 291Auditing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292

Changes in the SGA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292Separation of Duties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 294Basic Audit Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 294Extended Audit Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296

Privilege Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 298Privilege Analysis Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 298Privilege Analysis Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 298

Data Redaction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 302Data Redaction Scenario . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 302

Miscellaneous Security Improvements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 308Mixing and Matching Security Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . 309End of Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 310

10 Oracle Database 12c Manageability New Features . . . . . . . . . . . . . . . . . . . 311Online Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 312

Enhanced Online DDL Capabilities . . . . . . . . . . . . . . . . . . . . . . . . . . 312Lock Timeout Available for Online Redefinitions . . . . . . . . . . . . . . . . 313Move a Datafile Online . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313

00-FM.indd 15 10/24/13 2:51 PM

Page 7: Contents at a Glance - Amazon Web ServicesOracle-Regular / Oracle Database 12c New Features / Freeman / 931-1 xiv racle Database 12O c New Features Oracle Data Guard New Features

Oracle-Regular / Oracle Database 12c New Features / Freeman / 931-1

xvi Oracle Database 12c New Features

Single Command to Redefine Certain Table or Partition Storage-Related Definitions . . . . . . . . . . . . . . . . . . . . . 315

Support for Redefinition of Tables with VPD Policies . . . . . . . . . . . . . 316Database Monitoring and Administration . . . . . . . . . . . . . . . . . . . . . . . . . . . 317

Oracle Enterprise Manager Database Express . . . . . . . . . . . . . . . . . . 317Real-Time Database Operations Monitoring . . . . . . . . . . . . . . . . . . . 319Real-Time ADDM Monitoring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 320

Miscellaneous Manageability Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 320PGA Size Limits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 320New Administrator Privileges . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 321Real Application Testing Changes . . . . . . . . . . . . . . . . . . . . . . . . . . . 322

End of Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 338

11 Oracle Database 12c Performance New Features . . . . . . . . . . . . . . . . . . . . 339Statistics-Related New Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 340

Automatic Column Group Detection . . . . . . . . . . . . . . . . . . . . . . . . . 340Concurrent Statistics Gathering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 347Enhancements to Incremental Statistics . . . . . . . . . . . . . . . . . . . . . . . 350Online Statistics Gathering for Bulk Loads . . . . . . . . . . . . . . . . . . . . . 352Session-Private Statistics for Global Temporary Tables . . . . . . . . . . . . 353Running Statistics Gathering Options in Reporting Mode . . . . . . . . . 355Reports on Past Statistics Collection Operations . . . . . . . . . . . . . . . . 356

Optimizer-Related New Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 357Adaptive Query Optimization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 358Histograms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 380

End of Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 385

12 Other Oracle Database 12c New Features . . . . . . . . . . . . . . . . . . . . . . . . . 387Data Pump Export and Import New Features . . . . . . . . . . . . . . . . . . . . . . . . 388

The views_as_tables Parameter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 389Moving Databases Across Platforms, Regardless

of Byte Format, with Transportable Tablespaces . . . . . . . . . . . . . . . 393Transform Clause New Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . 404Data Pump Fully Supports Oracle’s New

Multitenant Database Technologies . . . . . . . . . . . . . . . . . . . . . . . . 405Enable Unified Auditing for Data Pump Jobs . . . . . . . . . . . . . . . . . . . 406Miscellaneous Enhancements to Data Pump . . . . . . . . . . . . . . . . . . . 407

Oracle SQL*Loader Enhancements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 408SQL*Loader Express Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 408SQL*Loader Support for Identity Columns . . . . . . . . . . . . . . . . . . . . . 412SQL*Loader Support for Extended Data Types . . . . . . . . . . . . . . . . . . 412SQL*Loader Support for Unified Auditing . . . . . . . . . . . . . . . . . . . . . 413SQL*Loader dNFS-Related Features . . . . . . . . . . . . . . . . . . . . . . . . . . 413

00-FM.indd 16 10/21/13 5:06 PM

Page 8: Contents at a Glance - Amazon Web ServicesOracle-Regular / Oracle Database 12c New Features / Freeman / 931-1 xiv racle Database 12O c New Features Oracle Data Guard New Features

Oracle-Regular / Oracle Database 12c New Features / Freeman / 931-1

Contents xvii

SQL*Loader Control File New Clauses . . . . . . . . . . . . . . . . . . . . . . . 414SQL*Loader Command-Line Enhancements . . . . . . . . . . . . . . . . . . . 415

Oracle External Table Enhancements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 416Oracle Log Miner Enhancements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 416ADR DDL and Debug Logs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 417Oracle SecureFiles Enhancements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 417Oracle R Enterprise, Hadoop, and MapReduce . . . . . . . . . . . . . . . . . . . . . . 417

Oracle R Enterprise . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 418Hadoop/MapReduce in the Oracle Database . . . . . . . . . . . . . . . . . . 418

CloneDB . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 419SQL Translation Framework . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 420End of Line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 420

A Deprecated and Desupported Features in Oracle Database 12c . . . . . . . . . 423Defining Deprecation and Desupport . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 424Deprecated Features in Oracle Database 12c . . . . . . . . . . . . . . . . . . . . . . . . 424Desupported Features in Oracle Database 12c . . . . . . . . . . . . . . . . . . . . . . . 426Deprecated Parameters in Oracle Database 12c . . . . . . . . . . . . . . . . . . . . . . 427Deprecated Views in Oracle Database 12c . . . . . . . . . . . . . . . . . . . . . . . . . 428

B New Parameters and Views in Oracle Database 12c . . . . . . . . . . . . . . . . . . 429New Parameters in Oracle Database 12c . . . . . . . . . . . . . . . . . . . . . . . . . . . 430New Views in Oracle Database 12c . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 431

Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 441

00-FM.indd 17 10/21/13 5:06 PM