oracle 11g introduction for release 2 - unyoug · oracle 11g introduction for release 2 ......

84
<Insert Picture Here> Oracle 11g Introduction for Release 2 David Foster Master Principal GRID Technologist

Upload: ngoliem

Post on 07-May-2018

236 views

Category:

Documents


0 download

TRANSCRIPT

<Insert Picture Here>

Oracle 11g Introduction for Release 2

David Foster

Master Principal GRID Technologist

Fro

nt

Off

ice

DW

Back

Off

ice

Fre

eApp

Servers

Oracle Database 11g Release 2Dynamic Cluster Partitioning via Server Pools

• Server Pools

– Dynamically assigns the server

resources required to run specific

workloads

• Both Application and Database

Pools

• Policy Managed

– Min and Max Servers

– Relative Importance

• Unassigned Servers go to Free

Pool

© 2009 Oracle Corporation – Proprietary and Confidential

RAC One

Fro

nt

Off

ice

DW

Back

Off

ice

Fre

eApp

Servers

Oracle Database 11g Release 2Example: Server Pool

© 2009 Oracle Corporation – Proprietary and Confidential

RAC One

Server Pool Min Max Imp

App Servers 6 12 3

Front Office 6 6 3

Back Office 6 6 2

DW 8 8 1

Free 4 0

Fro

nt

Off

ice

Back

Off

ice

App Servers

Oracle Database 11g Release 2Dynamic Cluster Reconfiguration for High Availability

• If a server pool falls below its

minimum the cluster

reconfigures

© 2009 Oracle Corporation – Proprietary and Confidential

DW

Fre

e

RAC One

Fro

nt

Off

ice

DW

Back

Off

ice

Fre

eApp

Servers

Oracle Database 11g Release 2Dynamic Cluster Reconfiguration for High Availability

• If a server pool falls below its

minimum the cluster

reconfigures

• Moves a server from

– A server pool that is less

important

– A server from pool with the same

importance with more servers

than its min

© 2009 Oracle Corporation – Proprietary and Confidential

RAC One

Fro

nt

Off

ice

DW

Back

Off

ice

Fre

eApp

Servers

Oracle Database 11g Release 2Simplified Provisioning

• New intelligent installer

– 40% fewer steps to install RAC

• Nodes can be easily repurposed

– Network and storage information read

from profile and configured automatically

– No need to manually prepare a node.

– Nodes can be dynamically added or

removed from the cluster

• SCAN - Single cluster-wide alias for

database connections

– Clients need not be aware of cluster

configuration changes

© 2009 Oracle Corporation – Proprietary and Confidential

myc

lus

ter.

myc

o.c

om

RAC One

Fro

nt

Off

ice

DW

Back

Off

ice

Fre

eApp

Servers

Oracle Database 11g Release 2Better Virtualization for Databases

• RAC One extends benefits of

server virtualization to single-

instance databases on physical

hardware– Consolidation

– Live Migration

– Rolling Patches

– Server failover

– Standardized DB environment

• Online upgradeable to full RAC

© 2009 Oracle Corporation – Proprietary and Confidential

RAC One

Fro

nt

Off

ice

DW

Back

Off

ice

Fre

eApp

Servers

Oracle Database 11g Release 2Resources protected with Oracle Clusterware

• New agents for IMDB Cache,

Hyperion, Siebel

• Resource Dependencies can

be specified

– Hard / Weak/Attraction / PullUp /

Dispersion

© 2009 Oracle Corporation – Proprietary and Confidential

RA

C O

NE

AR

AC

ON

E B

RA

C O

NE

CR

AC

ON

E D

RA

C O

NE

ER

AC

ON

E F

RA

C O

NE

GR

AC

ON

E H

RA

C O

NE

IR

AC

ON

E J

RA

C O

NE

KR

AC

ON

E L

SOA

IMDB

OC4J

APACHE

“This presentation is for informational purposes only and may not be incorporated into a contract or agreement.”

EM Grid Management

• EM is able to manage the

full stack, including Oracle

Clusterware

– Manage and monitor

clusterware components

– Manage and monitor

application resources

– Automatic discovery of

targets as the join the

cluster

– Support for ACFS

• ASM Configuration

Assistant (ASMCA) for

ASM and ACFS

“This presentation is for informational purposes only and may not be incorporated into a contract or agreement.”

Inst 1

• Automatic Database Diagnostics Managers (ADDM) for Real Applications Cluster (RAC)

• RAC expert in a box

• Identifies performance problems for the entire RAC cluster database

• Database-wide analysis of:– Global cache interconnect

issues

– Global resource contention, e.g. IO bandwidth, hot blocks

– Globally high-load SQL

– Skew in instance response times

• Runs proactively every hour when taking AWR snapshots (default)AWR 1 AWR 2 AWR 3

Inst 2 Inst 3

Self-Diagnostic Engine

Database-Level

ADDM

11g

Instance-Level

ADDM

ADDM for RAC

“This presentation is for informational purposes only and may not be incorporated into a contract or agreement.”

Cluster Interconnects Page

“This presentation is for informational purposes only and may not be incorporated into a contract or agreement.”

• Proactively

analyze cluster

state and health

– Root cause

analysis

– Predict

failures

– Prevent

failures

• Future:

Automatically

and proactively

repair issues

Cluster Health ManagerRoot Cause Analysis at Cluster and System Level

“This presentation is for informational purposes only and may not be incorporated into a contract or agreement.”

Oracle Database 11g Release 2Simplified RAC Provisioning

• Automatic checking for pre-requisites

– Integration of Cluster Verification Utilities in Installer

• Zero config add node/re-purpose

– Database server nodes automatically discover peers and

negotiate services, e.g., network addresses

• Easy downgrade of Oracle Clusterware

– Oracle Clusterware can be restored from old homes

• Easy node reuse

– Clean de-install

– Re-imaging not required

© 2009 Oracle Corporation – Proprietary and Confidential

How do you get there?Rapid Grid Provisioning with OracleVM

Oracle VM

Oracle

Applications

Non-Oracle

Applications

Non-Oracle

Applications

Oracle

Database

Fusion

Middleware

Enterprise

Linux

Microsoft

Windows

Enterprise

Linux

Enterprise

Linux

Oracle/Red

Hat Linux

© 2009 Oracle Corporation – Proprietary and Confidential

Oracle In Memory Database CacheOffload Workload to the Middle Tier

• Utilizes middle tier resources

• Data cached in application memory

– Database tables

– Subsets of rows & columns

• Fast, consistent response times

– High transaction throughput

• Standard SQL interface

– Synchronized with Oracle Database

Cached

tables

BusinessApplications

Cached

tables

BusinessApplications

© 2009 Oracle Corporation – Proprietary and Confidential

Oracle Database 11g Release 2Reduce I/O bandwidth requirement with Flash Cache

• A transparent extension of the database buffer cache

using solid-state disk (SSD) technology

– SSD acts as a Level 2 cache (SGA is Level 1)

– Faster than disk (100x faster for reads)

– Cheaper than memory ($50 per gigabyte)

– Large capacity (hundreds of gigabytes per flash disk)

• Fewer drives and better performance

– For I/O throughput, users often use hundreds of drives today

– Flash enables I/O throughput without all the drives

– Large jobs complete faster

© 2009 Oracle Corporation – Proprietary and Confidential

Flash CacheHow it works

120 GB Flash Cache

16 GB SGA Memory

360 GBMagnetic Disks

Install Flash Drive in the Host Server

• Set two init.ora parameters:

• db_flash_cache_file = <filename>• Specifies the path to the flash disk

• db_flash_cache_size=<size>• Specifies the amount of flash disk to use

Extended Buffer Cache

© 2009 Oracle Corporation – Proprietary and Confidential

Flash CacheHow it works

120 GB Flash Cache

16 GB SGA Memory

Hot Data

1. Blocks read into buffer

cache

2. Dirty blocks flushed to disk

360 GBMagnetic Disks

Cold Data

Extended Buffer Cache

© 2009 Oracle Corporation – Proprietary and Confidential

Flash CacheHow it works

Extended Buffer Cache

120 GB Flash Cache

16 GB SGA Memory

Hot Data Warm Data

1. Blocks read into buffer

cache

3. Clean blocks moved to

Flash Cache based on

LRU* (once SGA is full)

2. Dirty blocks flushed to disk

360 GBMagnetic Disks

Cold Data

* Headers for Flash Cached blocks kept in

SGA

© 2009 Oracle Corporation – Proprietary and Confidential

Flash Cache

Extended Buffer Cache

120 GB Flash Cache

16 GB SGA Memory

Hot Data Warm Data

1. Blocks read into buffer

cache

3. Clean blocks moved to

Flash Cache based on

LRU*

2. Dirty blocks flushed to disk

4. User Process reads blocks

from SGA (copied from

Flash Cache if not in SGA)

360 GBMagnetic Disks

Cold Data

* Headers for Flash Cached blocks kept in

SGA

© 2009 Oracle Corporation – Proprietary and Confidential

Flash CacheThings to note

• Customers should test flash drives thoroughly – quality and

performance varies greatly today

• Large flash areas may require additional SGA for buffer

headers, approximately 2 – 4% of Flash Cache data

• With large flash drives, the time to “warmup” the cache and

deliver full benefit could be substantial

• Multiple flash drives may be combined via volume managers or

ASM

• Flash drives can use PCI, SCSI, or DIMM connections, as long

as they “look” to Oracle like a regular disk

• Optional storage clause FLASH_CACHE { KEEP | NONE } to

force a table or partition in or out of the cache

• Flash cache reduces read I/O, but does not affect write I/O

© 2009 Oracle Corporation – Proprietary and Confidential

Oracle Database 11g Release 2ASM Supports All File Types

• ASM now supports all types

of files

– Database files

– Shared Clusterware files

(OCR/Vote Disk)

– File system files

– ASM Cluster File System

(ACFS)

– 3rd-party file systems

© 2009 Oracle Corporation – Proprietary and Confidential

DB Datafiles

OCR &Voting Files

Binaries

FileSystem

AS

M C

lus

ter

File

Sys

tem

Siebel

Web

PSFT

DWODS

SOAIMDBOC4J

APACHE

EBS

RAC One

Oracle Database 11g Release 2ASM Cluster File System (ACFS)

© 2009 Oracle Corporation – Proprietary and Confidential

Siebel

Web

PSFT

DWODS

SOAIMDBOC4J

APACHE

EBS

DB Datafiles

OCR &Voting Files

Binaries

FileSystem

AS

M C

lus

ter

File

Sys

tem

RAC One

• General purpose clustered or local file system

• Data stored in ASM

• Inherits all ASM manageability benefits

– Optimized disk layout

– Online disk add/drop/rebalance

– Integrated mirroring

• Read-Only Snapshots– up to 64 point-in-time space

efficient copies of file system

Oracle Database 11g Release 2Other ASM Enhancements

• Improved Management

– ASM Install &

Configuration Assistant

(ASMCA)

– Full Featured ASMCMD

– ASM File Access Control

– ASM Disk Group Rename

– Datafile to Disk Mapping

• Tunable Performance

– Intelligent Data Placement

Infrequently Accessed

Data

Frequently Accessed

Data

© 2009 Oracle Corporation – Proprietary and Confidential

5% Active95% Less Active

ORDERS TABLE (7 years)

High End Storage Tier

2003

Manage Data Growth Partition for performance, management and cost

2009

Low End Storage Tier 2-3x less per terabyte

2008

© 2009 Oracle Corporation – Proprietary and Confidential

Oracle Database 11g Release 2Partitioning Improvements

• Zero-Size Unusable Indexes and Index Partitions

• Intelligent Multi Branch Execution allows queries on indexed and non-indexed

partitions

• Virtual Columns in the Primary Key or Foreign Key for Reference Partitioning

ORDERS TABLE (7 years)

2003 2008 2009

Large Zero Size Unusable Index Small Usable Index

Partition Scan

Index Lookup

© 2009 Oracle Corporation – Proprietary and Confidential

Significantly Reduce Storage Costs Advanced OLTP Compression

• Compress large application tables

– Transaction processing, data warehousing

• Compress all data types

– Structured and unstructured data types

• Improve query performance

– Cascade storage savings throughout data center

Compression4XUp To

© 2009 Oracle Corporation – Proprietary and Confidential

Real World Compression Results10 Largest ERP Database Tables

3x Saving

Data Storage

0

500

1000

1500

2000

2500

Table Scans

0

0.1

0.2

0.3

0.4

2.5x Faster

DML Performance

0

10

20

30

40

< 3% Overhead

© 2009 Oracle Corporation – Proprietary and Confidential

Oracle Database 11g Release 2Other Compression Improvements

• SecureFiles Compression

– Compression Level LOW

– Compression algorithm optimized for high performance

– 3x less CPU utilization than default SecureFiles

Compression

– Maintains 80% compression of default SecureFiles

Compression

• Data Guard Redo Transport Compression

– Compress network traffic during normal operations

© 2009 Oracle Corporation – Proprietary and Confidential

Distributed Data Marts and ServersExpensive data warehouse architecture

Data

Marts

Data Mining

Online

Analytics ETL

© 2009 Oracle Corporation – Proprietary and Confidential

Oracle Database 11g

with integrated ETL, Analytics & Data Mining

Data

Marts

Data Mining

Online

Analytics ETL

Consolidate on to a Data WarehouseSingle source of truth on low cost servers & storage

© 2009 Oracle Corporation – Proprietary and Confidential

Data Warehousing OptimizationsWork smarter not harder …

Data Mining

OLAP Cubes

Materialized Views

Optimized Indexing

Parallel Operations

Partitioning

Oracle Database 11g

Query Results Cache

ETL & Data Quality

Key Features

© 2009 Oracle Corporation – Proprietary and Confidential

Oracle Database 11g Release 2Enhanced SQL Processing capabilities

• Recursive WITH clause

– ANSI-compliant recursive functionality

– Superior performance over CONNECT BY

• New analytical window functions

– Nth value for inter-row calculation

– New aggregate function LISTAGG

SELECT deptno,

LISTAGG(ename, '; ') WITHIN GROUP (order by ename) FROM emp

GROUP BY deptno;

DEPTNO LISTAGG(ENAME,';')WITHINGROUP(ORDERBYENAME)

------ -------------------------------------------

10 CLARK; KING; MILLER

20 ADAMS; FORD; JONES; SCOTT; SMITH

30 ALLEN; BLAKE; JAMES; MARTIN; TURNER; WARD

© 2009 Oracle Corporation – Proprietary and Confidential

Oracle Database 11g Release 2Automated Degree of Parallelism

• Currently tuning parallelism is a manual process

– one degree of parallelism does not fit all queries

– too much parallelism can flood system

• Automated Degree of Parallelism automatically

decides

• If a statement will execute in parallel or not (serial execution

would take longer than a set threshold – 30 secs)

• What degree of parallelism the statement will use

• Optimizer derives the DoP from the statement based

on resource requirements

– Uses the cost of all scan operations

– Balanced against a max limit of parallelism

© 2009 Oracle Corporation – Proprietary and Confidential

Automated Degree of ParallelismHow it works

SQLstatement

Statement is hard parsed

And optimizer determines the execution plan

Statement executes serially

Statement executes in parallel

Optimizer determines ideal DOP

If estimated time greater than threshold

Actual DOP = MIN(default DOP, ideal DOP)If estimated time less

than thresholdPARALLEL_MIN_TIME_THRESHOLD

© 2009 Oracle Corporation – Proprietary and Confidential

Oracle Database 11g Release 2Parallel Statement Queuing

• Automatic Degree of Parallelism means

– More statements will run in parallel

– Potential system thrashing due to too many processes

• Parallel Statement Queuing automatically decides if

a statement can execute immediately or not

• When a parallel statement starts it checks if enough

parallel servers (aka Parallel Query Slaves) are

available

– If not, queue the statement

– Once enough parallel servers become available, statement

is de-queued and executed

© 2009 Oracle Corporation – Proprietary and Confidential

Parallel Statement QueuingHow it works

SQLstatements

Statement is parsed

and Oracle automatically determines DOP

If enough parallel servers available

execute immediately

If not enough parallel servers available queue

128163264

8

FIFO Queue

When the required number of parallel servers become available the first

stmt on the queue is dequeued and executed

128

163264

© 2009 Oracle Corporation – Proprietary and Confidential

Parallel Statement QueuingMonitoring in Enterprise Manager

Awaiting screen shot from EM

Clock symbol

indicated a queued

statement

Click on the SQL ID for more info

© 2009 Oracle Corporation – Proprietary and Confidential

Parallel Statement QueuingMonitoring in Enterprise Manager

Wait event indicates stmt is at

the head of the queue

© 2009 Oracle Corporation – Proprietary and Confidential

Oracle Database 11g Release 2In-Memory Parallel Execution

• Data warehouse environments

can have large amounts of

memory that is not always

used

• An algorithm places fragments

of an object (partitions) in

memory on different nodes

• Compression gets more data in

memory

• Parallel servers (aka PQ

Slaves) are then executed on

the corresponding nodes

• Requires Automatic Degree of

Parallelism

Real Application

Clusters

© 2009 Oracle Corporation – Proprietary and Confidential

In-Memory Parallel ExecutionHow it works

SQLstatement

Determine the size of the table being looked at

Read into the buffer cache on any node

Table is extremely small

Always use direct read from disk

Table is a good candidate for In-Memory Parallel

Execution

Table is extremely Large

Fragments of Table are read into each node’s

buffer cache

Only parallel server on the same RAC node

will access each fragment

© 2009 Oracle Corporation – Proprietary and Confidential

Traditional High AvailabilityExpensive, idle redundancy

Idle Failover

Server

Veritas

Volume Manager

BMC

SQL Backtrack

Idle Disaster

Recovery

Production

Server

Solaris Cluster

HP ServiceGuard

IBM HACMP

© 2009 Oracle Corporation – Proprietary and Confidential

Automatic Storage

Management

Real Application

Clusters

Secure Backups

to Cloud and Tape

Oracle Maximum Availability ArchitectureFully Utilizing Redundancy

Active

Data Guard

Fast

Recovery Area

Data Guard

© 2009 Oracle Corporation – Proprietary and Confidential

“This presentation is for informational purposes only and may not be incorporated into a contract or agreement.”

Physical Standby with Real-Time Query

Physical Standby

Database

Primary

Database

Real-time

Queries

Continuous Redo

Shipment and Apply

Concurrent

Real-Time

Query

• Read-only queries on physical standby concurrent with redo apply

– Supports RAC on primary / standby

– Queries see transactionally consistent results

• Handles all data types, very fast, operationally simple

– But not as flexible as logical standby

• Immediate appeal to the many users of physical standby

• DR with real time query is unique in the industry – no idle resources

Now supports

Incremental backups!

“This presentation is for informational purposes only and may not be incorporated into a contract or agreement.”

Snapshot Standby – Leverage Standby

Database for Testing

• Convert Physical Standby to Snapshot Standby and open for writes by testing applications

– ALTER DATABASE CONVERT TO

SNAPSHOT STANDBY;

• Discard testing writes and catch-up to primary by applying logs

– ALTER DATABASE CONVERT TO

PHYSICAL STANDBY;

• Preserves zero data loss

– But no real time query or fast failover

• Similar to storage snapshots, but:

– Provides DR at the same time

– Single copy of storage

• No idle resources

Physical Standby Apply Logs

Snapshot Standby Perform Testing

Open

Database

Back out

Changes

Continuous Redo Shipping

Oracle Database 11g Release 2Data Guard Enhancements

• Active Data Guard - Quality of Service

– Standby Query SLA configurable from zero to “n” seconds

– Set maximum allowable data delay at standby database

– Database returns error to application if maximum is

exceeded

– Application can redirect query to primary database

– Automatic block repair

– Bad blocks detected and fixed using good version from

standby

• Data Guard - network utilization

– Transport compression for bandwidth constrained WANs

– Not just to resolve gaps after propagation interruptions

© 2009 Oracle Corporation – Proprietary and Confidential

Additional AvailabilityIMDB Cache Integration

Real Application Clusters Active Data Guard

Data Guard

• Support Data Guard

synchronous

physical standby

• Failover and

switchover

• Transient rolling

upgrade

• Zero down time

• No data loss

Application Transactions

Hot Standby for reads

In-MemoryCache Tables

Active Standby

In-MemoryCache Tables

Cache Write-through

Cache Refresh

© 2009 Oracle Corporation – Proprietary and Confidential

Additional AvailabilityIMDB Cache Integration

• After switchover or

failover to standby

Data Guard

– Zero down time

– No data loss

Real Application Clusters Active Data Guard

Application Transactions

Hot Standby for reads

In-MemoryCache Tables

Active Standby

In-MemoryCache Tables

Cache Write-through

Cache Refresh

© 2009 Oracle Corporation – Proprietary and Confidential

• High performance typical of basic uni-directional Streams replication environment now extended to complex configurations

– Faster transformations - especially useful for application integration

– Statement DML Handlers - up to 4x faster than procedural DML handlers

– New Declarative Transformation - Keep Columns

– Optimized one-to-many propagations - up to 2x faster

– N-way and hub-and-spoke configurations

• Improved JMS integration and performance improvements for Streams Advanced Queuing - AQ dequeue is 30%-100% faster than previous releases

Oracle Database 11g Release 2Streams Enhancements - Performance

© 2009 Oracle Corporation – Proprietary and Confidential

• 3rd party apps require fast real-time access to changes in Oracle

database, to support heterogeneous data integration environments

• Solution: Extended Streams - XStream (API to Oracle Streams)

– Client application attaches directly to Streams apply process

– Direct access to Streams processes using OCI / Java

– Outbound server (XStream Out)

– Stream changes out of the Oracle database

to client application

– Inbound server (Xstream In)

– Stream changes from external

sources into an Oracle database

Oracle Database 11g Release 2Streams Enhancements - XStreams

XStream

© 2009 Oracle Corporation – Proprietary and Confidential

Oracle Database 11g Release 2Backup & Recovery Enhancements

• New RMAN backup compression capabilities– HIGH – reduces backup size by 40%+ depending on data type

– LOW – least impact on backup throughput

– MEDIUM – best balance between compression & throughput

• Tablespace Point-in-time Recovery

– Can recover dropped tablespaces

– Can perform multiple recoveries of the same tablespace

• Oracle Secure Backup Cloud Module

– Transparent integration between RMAN and cloud-based

storage

– Initial support for Amazon Simple Storage Service (S3)

© 2009 Oracle Corporation – Proprietary and Confidential

Oracle Database 11g Release 2Online Application Upgrade

• Large, mission critical applications are often

unavailable for tens of hours while a patch or an

upgrade is installed

• Oracle Database 11g Release 2 introduces

revolutionary new capabilities that allow online

application upgrade with uninterrupted availability of

the application

• The pre-upgrade application and the post-upgrade

application can be used concurrently

© 2009 Oracle Corporation – Proprietary and Confidential

Online Application UpgradeRequirements

• The installation of the upgrade into the production

database must not perturb live users of the

pre-upgrade application

– Many objects must be changed in concert. The changes

must be made in privacy

• Transactions done by the users of the pre-upgrade

application must by reflected in the post-upgrade

application

• For hot rollover, we also need the reverse of this:

– Transactions done by the users of the post-upgrade

application must by reflected in the pre-upgrade application

© 2009 Oracle Corporation – Proprietary and Confidential

The solutionEdition-based redefinition

• Revolutionary new features:

– edition

– editioning view

– crossedition trigger

• Code changes are installed in the privacy of a new edition

• Data changes are made safely by writing only to new

columns or new tables not seen by the old edition

– An editioning view exposes a different projection of a table into each

edition to allow each to see just its own columns

– A crossedition trigger propagates data changes made by the old

edition into the new edition’s columns, or (in hot-rollover) vice-versa

© 2009 Oracle Corporation – Proprietary and Confidential

Oracle Database 11g Release 2 Database Security

• Encryption and Key Management

– Change / re-key TDE tablespace encryption master keys

– Reduced storage overhead for TDE column encryption with

NOMAC option

• Database Auditing

– New package automates cleanup of database audit data

– Audit ALL STATEMENTS BY USER option

– Additional audit information for connections over Database links

– Audit trail cleanup integrated with Oracle Audit Vault

© 2009 Oracle Corporation – Proprietary and Confidential

Oracle Database 11g Release 2 Database Security

• Database Vault– Patching without turning Database Vault off

– New DV_PATCH_ADMIN role

– Security enforcement retained after restore on different machine

• User Management and Strong Authentication– Kerberos support for constrained delegation in MS-Windows

– Kerberos support for database links

– New Alter Database Link change password syntax

© 2009 Oracle Corporation – Proprietary and Confidential

Oracle Database 11g Release 2 Data Masking Pack

• Out of box mask formats for commonly masked data

• Condition-based Masking

• Compound Masks

• Integrated Clone + Mask workflow

• Deterministic masking support

• Supported in Enterprise Manager Database Control

© 2009 Oracle Corporation – Proprietary and Confidential

• Alter base table – history table automatically adjusts

– Drop, Rename, Modify Column

– Drop, Truncate Partition

– Rename, Truncate Table

• Flashback query supported across DDL changes

• Complex DDL changes (e.g. table split) accommodated

– Associate/Diassociate history table via DBMS_FLASHBACK_ARCHIVE

package

Oracle Database 11g ReleaseTotal Recall Schema Evolution Support

Dro

p

Co

lum

n

Ad

d

Co

lum

n

time Flashback Version Query

Ad

d

Co

lum

n

© 2009 Oracle Corporation – Proprietary and Confidential

Database ManagementProactive, Self-Managing Software

Fu

ll T

ime

Em

plo

ye

es

Info

rma

tio

n

Complexity

Self Managing Software

Database Management Challenge

© 2009 Oracle Corporation – Proprietary and Confidential

Managing Complexity Automated Self-management

Automated:

• Storage

• Memory

• Statistics

• SQL tuning

• Backup and Recovery

Advisory:

• Indexing

• Partitioning

• Compression

• Availability

• Data Recovery

© 2009 Oracle Corporation – Proprietary and Confidential

26% less time 31% fewer steps

0%

25%

50%

75%

100%

Time Steps

Oracle9i Database

Oracle Database 10g

Oracle Database 11g

Oracle Database 11g vs Oracle Database 10gReducing time and complexity even more…

© 2009 Oracle Corporation – Proprietary and Confidential

Oracle Database 11g Release 2Offline Performance Analysis with Active Reports

• Interactive performance reports for off-line analysis

• Offer same level of interactivity with drill-downs for detailed

analysis – very helpful for diagnostic purposes

• Can be emailed to appropriate personnel for analysis

• Does not require Enterprise Manager installation

© 2009 Oracle Corporation – Proprietary and Confidential

Oracle Database 11g Release 2Improved RAC Performance Monitoring and Diagnostics

• Summary view of health of services

• Top Cluster events: Identifies which events and instances caused

the highest percentage of wait events across the RAC cluster

• ADDM shows blocking sessions across RAC instances

• Backward compatible: Can analyze snapshots from earlier versions

© 2009 Oracle Corporation – Proprietary and Confidential

Oracle Database 11g Release 2High Availability Console

© 2009 Oracle Corporation – Proprietary and Confidential

Oracle Database 11g Release 2Maximum Availability Architecture Advisor

© 2009 Oracle Corporation – Proprietary and Confidential

Oracle Database 11g Release 2Compression Advisor

• Analyzes objects to give estimate of space savings for

different compression methods

• Helps in deciding correct compression level for

application

• Recommends various strategies for compression

– Picking the right compression algorithm for a particular data set

– Sorting on a particular column for increasing compression ratio

– Presents tradeoffs between different compression algorithms

• Works for OLTP compression (via OEM) and Hybrid

Columnar compression (via SQL*Plus)

© 2009 Oracle Corporation – Proprietary and Confidential

Oracle Database 11g Release 2Segment Creation on Demand

• Oracle Applications and SAP create thousands of

tables

– Only a small subset is used by any customer

• New SEGMENT CREATION DEFERRED clause

• During table creation, segments are not created for

table, lob, index segments

• During a CTAS, segments are not created if no rows

returned

• On first row insertion, all segments are created

© 2009 Oracle Corporation – Proprietary and Confidential

Oracle Database 11g Release 2Resource Manager Instance Caging

• More flexible alternative

to server partitioning

• Wider platform support

than operating system

resource managers

• Lower administration

overhead than

virtualization

• Set CPU_COUNT per

instance and enable

resource manager

Instance A

Instance B

Instance C

Instance D

Sum of cpu_counts

8

12

16 Total Number

of CPUs = 16

4

© 2009 Oracle Corporation – Proprietary and Confidential

Oracle Database 11g Release 2Database File System (DBFS)

• Network File System “Like”

interface for the database

• File system calls passed to

DBFS client

– Also provides shell interface

• PL/SQL package implements

file calls

– File create, open, read, list,

etc.

• Files stored as LOBs using

Secure Files

– DBFS Links

– Metadata stored in tables

Linux

File SystemCall

OCI

DBFS

Client

© 2009 Oracle Corporation – Proprietary and Confidential

Oracle Database 11g Release 2Improved XML DB Performance and Scalability

• Up to 25X improvement in performance

• Up to 50X more scalable

• Better handling of extremely complex industry schemas (e.g.

US GAAP)

• New indexing method accelerates structured queries on

schema-less XML

• Significant optimization of Binary XML, XQuery and XML

generation

• Improved overall scalability through XML partitioning and RAC

support

• 50X scalability and 2.5X through-put for XML DB repository

operations

© 2009 Oracle Corporation – Proprietary and Confidential

© 2009 Oracle Corporation – Proprietary and Confidential

Oracle Database 11g Release 2Oracle Spatial and Semantic Database

• Oracle Spatial– New Java programming APIs for GeoRaster and 3D operation

simplify programming

– Java viewer to help visualize 3D data

– Improved routing operations

• Semantic Database– VPD and OLS support

– Semantic indexing of documents based on popular natural

language tools

– SPARQL query language support

© 2009 Oracle Corporation – Proprietary and Confidential

• Oracle Multimedia

– Database-enforced Image Watermarking

– New image processing operators

– Updated Streaming Server Plug-ins for Microsoft Windows

Media Services and RealNetworks Streaming Servers

• DICOM support

– Many enhancements and performance improvements for

DICOM medical imaging

– Support for DICOM Video and Structured Reports

– Mid-tier metadata extraction

Oracle Database 11g Release 2Oracle Multimedia and DICOM support

Oracle Database 11g Release 2Support for all Application Development Frameworks

© 2009 Oracle Corporation – Proprietary and Confidential

Oracle Database 11g Release 2JDBC

• Ease of Upgrade for Timezone and Timestamp file

versions

• LOB Prefetching: saves roundtrip

• Faster LOB operations for SecureFiles

• Support for Database Edition

© 2009 Oracle Corporation – Proprietary and Confidential

Oracle Database 11g Release 2OCI, Pre-Compilers and Dynamic Languages (PHP,

Python, Ruby)

• Non-intrusive Client-side Query Result Cache

• OCI and Precompilers support for In-Memory

Database Cache

• Ease of Upgrade for Timezone and Timestamp file

versions

• Ref Cursor Pre-Fetching - saves roundtrips to the

database

• Monitoring DRCP connections

© 2009 Oracle Corporation – Proprietary and Confidential

Oracle Database 11g Release 2.Net

• Performance

– Performance tuning in Visual Studio

– Oracle Performance Analyzer

– Uses SQL Tuning Advisor, AWR, and ADDM

– ODP.NET self-tuning

– Statement cache size dynamically changes based on

frequency of executed statements

– Faster data retrieval

– Populate a DataSet faster and retrieve data faster with

OracleDataReader

• Promotable transactions

– Promote local transactions to distributed at run time

© 2009 Oracle Corporation – Proprietary and Confidential

Oracle Database 11g Release 2.Net

• Advanced Queuing

– Use Visual Studio to administer AQ

– Queue designers – add, delete, modify

– View queues

– Develop .NET AQ applications with ODP.NET APIs

– Enqueue, dequeue, subscribe, listen, etc.

• ODT ease of use

– Enhanced user and role management tools

– More paging, filtering, selection, and configuration choices

• ODP.NET Permission Classes

– Enforce code access security to Oracle

© 2009 Oracle Corporation – Proprietary and Confidential

Oracle Application Express (APEX)Database-Centric Web Application Development Tool

• Unique Rapid Application Development

(RAD) tool for the Oracle Database

• Browser based for Development,

Deployment & Use

• Declaratively build professional Web 2.0

applications that are fast and secure

• Leverages full Oracle database capabilities and existing

SQL & PL/SQL skills

• Standard component of the database

• Fully supported, “no-cost” option with all editions of the

Oracle Database

© 2009 Oracle Corporation – Proprietary and Confidential

Oracle Database 11g Release 2Interactive Reports

© 2009 Oracle Corporation – Proprietary and Confidential

Oracle Database 11g Release 2Oracle Forms to APEX Conversion

© 2009 Oracle Corporation – Proprietary and Confidential

Oracle SQL Developer

• Database Development IDE

• Popular

– Most downloaded Oracle tool

– 1.5M users

– #1 Oracle database

development IDE

• Distribution (No Cost)

– With Database – All Editions

– OTN download

• Benefits

– Productivity

– Ease of use

Introduced March 2006

© 2009 Oracle Corporation – Proprietary and Confidential

Oracle Database 11g Release 2What are my upgrade paths?

10.2.0.2

11.1.0.6

10.1.0.5

9.2.0.8

11.2

© 2009 Oracle Corporation – Proprietary and Confidential

Customer ResourcesOTN Upgrade Pagehttp://www.oracle.com/technology/products/database/oracle11g/upgrade/index.html

© 2009 Oracle Corporation – Proprietary and Confidential

– Note: 601807.1 Upgrade Companion 11g R1

– Note: 785351.1 will be available soon for 11g R2

Customer ResourcesMetalink

© 2009 Oracle Corporation – Proprietary and Confidential