Professional Documents
Culture Documents
Oracle 11G New Features Technology Workshop: Asaf Lev & Ofir Manor
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
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
Package Incidents
for Support
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
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
27
Make Change Safe –
Fault Resolution
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
33
Unlocking the Value of Standby
DBs
34
Physical Standby with Real-Time Query
Real-time
Queries
Concurrent
Real-Time
Query
Continuous Redo
Shipment and Apply
Primary Physical Standby
Database Database
35