Escolar Documentos
Profissional Documentos
Cultura Documentos
20
0
1998 1999 2000 2001 2002 2003 2004 2005
Source: 2005 TopTen Program, November 2005 © Winter Corporation, Waltham, MA, USA
36%
59%
5%
Mar.07
Ara.06
Eyl.06
Haz.06
Mar.06
Oracle8 and Earlier
Ara.05
Eyl.05
Haz.05
Mar.05
Ara.04
Oracle8i
Eyl.04
Haz.04
Mar.04
Uptake (TAR Analysis)
Oracle9i
Ara.03
Eyl.03
Oracle Database 10g
Haz.03
Mar.03
Ara.02
0%
100%
90%
80%
70%
60%
50%
40%
30%
20%
10%
Infrastructure Complexity
• Understanding the Costs Complexity Cost Curve
• Number of things costs = N 90
80
• Number of connected things = (2N)
70
• Number of KINDS of things = N^N 60
• Complexity Slows Change 50
30
• Uneven levels of process Maturity
20
• Functionality+Virtualization=Agility 10
1977 2007
Bucking Conventional Wisdom
By The Book Oracle
Platform dependent Portable C code base
Read & write locks Multi-version concurrency
Combined undo/redo log Undo stored in the database
…
Changes
Unsupported
App Server
App Server
App Server
Changes
Supported
•Database Upgrades, Patches Captured
Process Process … Process Workload
•Schema, Parameters
•RAC nodes, Interconnect
•OS Platforms, OS Upgrades
…
Capture Workload
•CPU, Memory
•Storage
Backup
•Etc.
Pre-Change Production System Post-Change Test System
Client Client Client
Replay Replay
App Server
…
App Server
App Server Driver Driver
… … …
Processed
Captured
Workload
Process Process … Process Process Process … Process
…
Capture Workload
Backup
Can use Snapshot Standby as
test system
SQL Performance Analyzer
• Focus on impact of change on SQL query workload
• Capture SQL in Production
• Automatically capture SQL workload over a specified period
• Capture SQL text, plans, bind variables, execution statistics
• Can capture 10.2 SQL workload
• Move captured SQL workload to test system
• Replay SQL in Test
• Replay SQL in pre and post-change configurations
• Compare and analyze performance
• For regressed SQL, use SQL Tuning Advisor (10g) to improve
performance with SQL Profiles
• Changes supported
• Major & minor database releases, patches, parameters, schema,
optimizer statistics, tuning recommendations
SQL Performance Analyzer
SQL Plan Management
controlled plan evolution
Business Requirement
• Data is changing over time
• Statistics and execution plans become suboptimal
• Statistics have to be updated
• Possibly unpredictable changes of execution plans
• Today you have ‘freeze’ critical plans or statistics
Solution
• Optimizer automatically manages SQL Plan Baselines
• Only known and verified plans are used
• Plan changes are automatically verified in maintenance window
• Only comparable or better plans are used going forward
• Can pre-seed critical SQL with baselines from SQL Replay
Flashback Data Archive
Select * from orders
AS OF • Automatically stores all
‘Midnight 31-Dec-2004’
changes to selected
tables
• Archive cannot be modified
ORDERS
Archive • View table as of any time
Tables
Changes • Uses:
• Change Tracking
User Flashback • ILM
Tablespaces Data Archive
• Long term history - years
Oracle Database • Auditing
• Compliance
EM Support Workbench Overview
Adaptive
Auto-Tuning
d
Integrate
Advisory
t
Low Impac
Instrumentation
Replication
Recovery
RAC
Apps/SQL
Memory
Backup
Storage
Schema
Manageability in 11g?
75%
9i
50% 10g
11g
25%
0%
Time Steps
Summary
Oracle 9i vs. 10g Oracle 10g vs. 11g
44% less time 26% less time
47% fewer steps 31% fewer steps
DB Management Pack Enhancements
• Diagnostic Pack
• ADDM for RAC
• AWR Baselines
• Transportable AWR
• Tuning Pack
• Automatic SQL Tuning Advisor
• Partition Advisor
• SQL Monitoring
• SPM Automatic Plan Evolution
Data Compression
for All Applications
• Oracle 9i compresses data only during bulk
load; useful for DW and ILM
• Oracle 11g compresses w/ inserts, updates
• Typical compression ratio of 2x to 3x
• Database directly reads compressed data
eliminating decompression overhead
• Strategy: compress db’s 10 largest tables
• Shrink table data by 50%, increase CPU by 5%
• Savings cascade to all db copies: test, dev,
standby, mirrors, archiving, backup, etc.
Oracle SecureFiles
High-Performance Large Objects
• High-performance transactional
access to large object data
• documents, medical, CAD, imaging …
• low-latency, high throughput, concurrent access
• space-optimized storage
• Protect your valuable data .. in the db!
• transactions
• transparent encryption
• compression and de-duplication
• database-quality security, reliability, and scalability
• Better security, single view and management of data
• Superset of LOB interfaces – easy migration
SecureFiles Breaks the
Performance Barrier!