You are on page 1of 29

Oracle

11G New Features


Technology Workshop

Asaf Lev & Ofir Manor

asaf.lev@oracle.com
ofir.manor@oracle.com

http://tech.theoracles.co.il

1
Agenda
9:00 – 9:05 Workshop Environment Introduction
9:05 – 9:20 Workshop Review Part I
DBConsole 11G
Advanced Compression
Total Recall
10:55 – Workshop Review Part II
11:15
Real Application Testing
Development & Performance Feature
(SPA)
3
Technology Workshops
Workshop Environment
 Windows
Vmware
Virtual Machines running OEL 5.1
Firefox, SQLDeveloper, SQLPlus*
11g DB running DB control

4
Workshop Contents – Part I

Username Password

SYS oracle

SYSTEM oracle

SCOTT TIGER

OE OE

SH SH

6
11g Database Console
• Objective – get familiar
with the DB Control UI,
and navigation through
the menus
• Performance tab
• Data Movement tab

• Enterprise Manager, Grid


Control, DB Console?!?!

11
Advanced Compression
• Oracle 9i - compresses data only during bulk load
• Data warehousing
• Table compression is now viable for all
applications
• Compress during random updates
• Typical compression ratio of 2x to 3x
• Database directly reads compressed data
bypassing decompression overhead
• Strategy - Compress 10 largest tables in a database
• Reduce table data by half, increase CPU usage 5%

12
OLTP Table Compression Process

13
Compression Results

14
Compression Results

15
Compression Results

16
Compression Results

17
Flashback Data Archive &
Total Recall ORDERS

http://www.youtube.com/watch?v=liO8UK2K-p4

18
Flashback for Rapid Recovery
from Human Error

Flashback
Flashback Flashback Flashback Data Archive
Query Tables Database and
Transaction

19
Flashback Data Archive
• Flashback Data Archive
• Easy, practical way to add “time Select * from orders
dimension” to your data AS OF
‘Midnight 31-Dec-
• For change tracking, auditing, 2003’
compliance, …
• Query data “AS OF” any time in the past
ORDERS
• Efficient storage / retrieval of undo data
Archive
Tables
• DFA Vs. Other Flashback Tech Changes
• Historical data can be accessed from any
specified duration, far and beyond the User Flashback Data
undo or flashback log data. Tablespaces Archive

Total Recall

20
Flashback Data Archive
• FBDA process
• Collects and writes the original data to
flashback data archive
• Works Asynchronously
• Default sleeps for 5min (Changes
dynamically according to traffic)
• Flashback Data Archive ORDERS
• Based on new data dictionary objects
• Uses Advanced Compression
• Uses partitioning in its internal scheme
• Based upon quota & retention policy
definitions for flashback archive
• The internal history table is a replica of
the tracked table with addition timestamp Total Recall
column

21
Workshop Part I

Username Password

SYS oracle

SYSTEM oracle

SCOTT TIGER

OE OE

SH SH

http://tech.theoracles.co.il/

22
Workshop Contents – Part II

Username Password

SYS oracle

SYSTEM oracle

SCOTT TIGER

OE OE

SH SH

23
Lifecycle of Change Management
New Change Assurance Capabilities
Detect and Tune
Performance Changes
Capture and
Replay Workload Provision - Upgrade or
Clone

Set Up Test Configure and Maintain


Environments Production System

Package Incidents
for Support

Online ‘Hot’ Patching

24
Make Change Safe -
Realistic Testing with Database Replay
• Recreate actual production database workload in test environment
• No test development required
• Replay workload in test with production timing
• Analyze & fix issues before production

Client Client Client


… Production Test

Middle Tier Replay DB Workload

Capture DB Workload … …
Test migration
Oracle DB to RAC

Storage

25
Make Change Safe –
Find Regressed SQL with SQL Performance Analyzer

26
Make Change Safe -
Online Upgrades

• Major online upgrade enhancements


• Online database upgrades for Data Guard
Physical Standby
• Physical Standby is Data Guard’s high performance
disaster recovery solution
• uses new Transient Logical Standby feature for
online upgrades
• Online database patching
• for one-off patches including diagnostic patches

27
Make Change Safe –
Fault Resolution

• New facilities to speed fault resolution


• Automatic Fault Diagnostics
• New facilities to capture and manage relevant
information for incidents (faults) to speed Support
processes
• Support Workbench
• Repair Advisors
• Speed analysis of root cause for faults
• Advise DBAs on repair strategy

28
Transparent Data Encryption
• Building on transparent column level encryption in Oracle
Database 10g Release 2
• Tablespace level encryption
• For encrypting entire application data
• Supports foreign keys and range scan
• LOB encryption
• Master Key protection in hardware using PKCS #11
• Integrates with LogMiner, Logical Standby, Streams,
Datapump

29
Workshop Part II

Username Password

SYS oracle

SYSTEM oracle

SCOTT TIGER

OE OE

SH SH

http://tech.theoracles.co.il/

30
Summary and Feedback

http://tech.theoracles.co.il/

31
Other Oracle Database 11g
Highlights
• Performance and Scalability • Security
• Query Result Cache • Tablespace and LOB Encryption
• TimesTen Cache Enhancements • Secure Configuration
• Business Intelligence
• RAC Scalability Enhancements
• BI Publisher Reporting
• High Availability
• Supermodels for Data Mining
• Data Recovery Advisor • Unstructured Data Management
• Readable Physical Standby • Enhanced XML indexing
• VLDB/ILM • Storage & Query of Semantic Content
• Interval and Referential • Developer Productivity
Partitioning • APEX 3.0 including support for Flash
• Enhanced Compression Charting and PDF output
• Manageability and Diagnosability • Improved PHP Scalability
• .NET Improvements
• Support Workbench
• Simple compilation of PLSQL and Java
• SQL Performance Analyzer Stored Procedures
• SQL Test Case Builder

32
Oracle SecureFiles
Consolidated Secure Management of Data

• Many applications have both files and relational data


• e.g. Document Management, Medical, CAD, Imaging
• SecureFiles breaks the performance barrier that has kept file
data out of databases
• Similar to LOBs but much faster, and with more capabilities
• Transparent encryption, compression, deduplication, etc.
• Preserves security, reliability, and scalability of database
• Superset of LOB interfaces for easy migration from LOBs
• Benefits
• Single security model
• Single view of data
• Single management of data
• High performance

33
Unlocking the Value of Standby
DBs

Logical Standby Standby


Standby Standby for Online
for DR for Testing,
for Realtime Upgrade, Readable
and Backup Query Auto Failover Physical

34
Physical Standby with Real-Time Query
Real-time
Queries
Concurrent
Real-Time
Query
Continuous Redo
Shipment and Apply
Primary Physical Standby
Database Database

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


• Supports RAC on primary / standby
• Queries see transactionally consistent results
• Immediate appeal to the many users of physical standby
• DR with real time query is unique in the industry – no idle resources
• Handles all data types, but not as flexible as logical standby

35

You might also like