11g_general
Transcript of 11g_general
-
7/29/2019 11g_general
1/33
-
7/29/2019 11g_general
2/33
Business and Technology Status 2007
Global economy is more dependent on ITthan ever before
Information management is THEmajor mission of theenterprise
Organizations are being pushed to ADAPTquickly tochange
Economic, Technologic, Regulatory
At least two-thirds of all IT spending is just to sustain the business,
not to change or transform the business.
- Gartner Group
-
7/29/2019 11g_general
3/33
Growing Data Volumes
Source: 2005 TopTen Program, November 2005 Winter Corporation, Waltham, MA, USA
020
406080
100
1998 1999 2000 2001 2002 2003 2004 2005
Database
Size(TB)
Size of the largestdata warehouse in
Winter Corp Survey245% increase
from 2003to 2005!
-
7/29/2019 11g_general
4/33
Uptake (TAR Analysis)
0%
10%
20%
30%
40%
50%
60%
70%
80%
90%
100%
Mar.01
Haz.01
Eyl.01
Ara.01
Mar.02
Haz.02
Eyl.02
Ara.02
Mar.03
Haz.03
Eyl.03
Ara.03
Mar.04
Haz.04
Eyl.04
Ara.04
Mar.05
Haz.05
Eyl.05
Ara.05
Mar.06
Haz.06
Eyl.06
Ara.06
Mar.07
Oracle Database 10g Oracle9i Oracle8i Oracle8 and Earlier
Source: TAR Analysis (April 2007)
59%
36%
5%
-
7/29/2019 11g_general
5/33
Infrastructure Complexity
Understanding the Costs
Number of things costs = N
Number of connected things = (2N)
Number of KINDS of things = N^N
Complexity Slows Change
More failure points
Uneven levels of process Maturity
Functionality+Virtualization=Agility
Functionality enables agility
Virtualization masks functional complexity
Oracle Grid is Enabling Enterprise Agility by AttackingComplexity
1 2 3 4 5 6 7 8
# of Things
# of Connections
# of Kinds
0
10
20
30
40
50
60
70
90
80
0
10
20
30
40
50
60
70
90
80
Complexity Cost Curve
-
7/29/2019 11g_general
6/33
The 11g Big Message
11g Lowers overall costs while increasing business
and IT agility!
Simplifies your information infrastructure!
Enables change to happen while maintaining stability!
Takes management and diagnostic automation to the next
level! Freeing key personal for higher value tasks!
Provides the least expensive, most scalable, secure and
highly available rapid application development environment!
Traditional Performance Dimensions of Scalability andAvailability Are Now Table Stakes. Agility is the X-Factor
-
7/29/2019 11g_general
7/33
Defining Value Innovation Lowers the cost while increasing Agility
Simpler (automates/obfuscates complex tasks) Cheaper (lower TCO via improved sustainability)
More Convenient to Use
Most likely already own it
Solid skills base foundation
Single vendor to manage
Simplifies infrastructure landscape
Fundamentally changes how a task or process has been done in
the past
Value innovation fundamentally changes how oneevaluates a product category
-
7/29/2019 11g_general
8/33
Oracle Database Innovation
Audit VaultDatabase Vault
Grid ComputingSelf Managing Database
XML Database
Oracle Data GuardReal Application Clusters
Flashback QueryVirtual Private Database
Built in Java VM
Partitioning SupportBuilt in Messaging
Object Relational SupportMultimedia Support
Data Warehousing Optimizations
Parallel OperationsDistributed SQL & Transaction SupportCluster and MPP Support
Multi-version Read ConsistencyClient/Server Support
Platform PortabilityCommercial SQL Implementation
1977 2007
30 years ofsustainedinnovation
continuing withOracle Database 11g
-
7/29/2019 11g_general
9/33
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
Static SQL compilation Just-in-time SQL compilation
Shared nothing clustersShared disk/shared cache
clusters
Parallelism tied to partitions Parallelism orthogonal topartitions
Store some of your data Store all your data
-
7/29/2019 11g_general
10/33
Database 1.0 Database 2.0Users In-house Everyone
Applications Vertical Silos Horizontal Services
Data Chars, Numbers, Dates All Your Data
Hardware SMP/Mainframe Network/Virtualized
Storage Expensive, Siloed Inexpensive, Shared
Scalability High Cost Scale Up Low Cost Scale Out
WorkloadConsolidation
Specialized-Separate
DW-OLTP Slow TTV
Converging Workloads,
Fast TTV
HA Difficult, Expensive Easy, Low Cost
Management Monitor and Manage Alert and Automate
Pricing CPU or User Socket or Site
Where Weve Been, Where Were Going
-
7/29/2019 11g_general
11/33
Top 11g new features
-
7/29/2019 11g_general
12/33
Physical Standby with Real-Time Query
Physical StandbyDatabase
Primary
Database
Real-timeQueries
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
Immediate appeal to the many users of physical standby
DR with real time query is unique in the industryno idle resources
Handles all data types, but not as flexible as logical standby
-
7/29/2019 11g_general
13/33
Set up Test Environments usingSnapshot Standbys
Convert Physical Standby to SnapshotStandby and open for writes by testingapplications
ALTER DATABASE CONVERT TOSNAPSHOT STANDBY;
Discard testing writes and catch-up toprimary by applying logs
ALTER DATABASE CONVERT TOPHYSICAL 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
Physical StandbyApply Logs
Snapshot StandbyPerform Testing
OpenDatabase
Back outChanges
Continuous Redo Shipping
-
7/29/2019 11g_general
14/33
Database Replay
Capture Workload in Production
Capture production workload with actual load & concurrency
Move the captured workload to test system
Replay Workload in Test
Make the desired changes in test system Replay workload with production load & concurrency
Analyze & Report
Errors
Data divergence
Performance divergence
Use ADDM, AWR for further performance analysis
-
7/29/2019 11g_general
15/33
Pre-Change Production System
ClientClient
App ServerApp ServerApp Server
Client
Backup
CapturedWorkloadProcess Process Process
Capture Workload
ChangesUnsupported
ChangesSupported
Database Upgrades, Patches
Schema, Parameters
RAC nodes, Interconnect
OS Platforms, OS Upgrades
CPU, Memory
Storage
Etc.
-
7/29/2019 11g_general
16/33
Post-Change Test System
ReplayDriver
App ServerApp ServerApp Server
Process Process Process Process Process Process
Can use Snapshot Standby astest system
ReplayDriver
ClientClient
Client
Pre-Change Production System
ProcessedCapturedWorkload
Backup
Capture Workload
-
7/29/2019 11g_general
17/33
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 improveperformance with SQL Profiles
Changes supported Major & minor database releases, patches, parameters, schema,
optimizer statistics, tuning recommendations
-
7/29/2019 11g_general
18/33
SQL Performance Analyzer
-
7/29/2019 11g_general
19/33
SQL Plan Managementcontrolled 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
-
7/29/2019 11g_general
20/33
Flashback Data Archive
Automatically stores all
changes to selected
tables
Archive cannot be modified
View table as of any time
Uses:
Change Tracking
ILM
Long term history - years Auditing
Compliance
User
Tablespaces
Flashback
Data Archive
Archive
Tables
-
7/29/2019 11g_general
21/33
EM Support Workbench Overview
Wizard that guides you through the process of handling problems
You can perform the following tasks with the Support Workbench:
View details on problems and incidents
Run health checks
Generate additional diagnostic data
Run advisors to help resolve problems
Create and track service requests through MetaLink
Generate incident packages
Close problems once resolved
-
7/29/2019 11g_general
22/33
Support Workbench
-
7/29/2019 11g_general
23/33
Incident Packaging Service
-
7/29/2019 11g_general
24/33
Manageability Evolution
Auto-Tuning
Advisory
Instrumentation
-
7/29/2019 11g_general
25/33
Manageability in 11g?
More database administration automation
More intelligent advisors to simplify administration
Fault diagnostic automation
Enhancements to existing features
-
7/29/2019 11g_general
26/33
0%
25%
50%
75%
100%
Time Steps
9i
10g
11g
Manageability Comparison of OracleDatabase 9i, 10g, and 11g
Summary
Oracle 9i vs. 10g
44% less time
47% fewer steps
Oracle 10g vs. 11g
26% less time
31% fewer steps
-
7/29/2019 11g_general
27/33
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
-
7/29/2019 11g_general
28/33
Oracle 9icompresses data only during bulkload; useful for DW and ILM
Oracle 11gcompresses w/ inserts, updates
Typical compression ratio of2x to 3x Database directly reads compressed data
eliminating decompression overhead
Strategy: compress dbs 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.
Data Compressionfor All Applications
-
7/29/2019 11g_general
29/33
Oracle SecureFilesHigh-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
-
7/29/2019 11g_general
30/33
0
20
40
60
80
100
120
0,1 1 10 100
LOBs
Linux Files
SecureFiles
Innovative technology for high
performance large object data
Smart buffering, write gathering,
intelligent lockingFast bulk data transfers, LOB
prefetch
Much faster than LOBs with
more capabilities
File system-like performance
with database functionality!File Size (MB)
SecureFiles Breaks thePerformance Barrier!
File Read Performance(MB/second)
-
7/29/2019 11g_general
31/33
Oracle Partitioning10 years of innovation
Core functionality
Oracle8 Range partitions, global range index
Oracle8i Hash and composite range-hash partitioning
Oracle9i List partitioning
Oracle9i R2 Composite range-list partitioningOracle 10g Global hash indexes
Oracle 10gR2 1M partitions per table
-
7/29/2019 11g_general
32/33
Oracle Partitioning10 years of innovation
Core functionality
Oracle8 Range partitions, global range index
Oracle8i Hash and composite range-hash partitioning
Oracle9i List partitioning
Oracle9i R2 Composite range-list partitioningOracle 10g Global hash indexes
Oracle 10gR2 1M partitions per table
Partitioning by reference
Virtual column partitioningNew composite partitioning:range-range, list-range,list-list, list-hash
-
7/29/2019 11g_general
33/33
New PartitioningFeatures
New composite partitioning schemes
Partition (or index) on virtual (computed) columns
Partition advisor Automatic range partition creation
Partition by REFERENCE (primary key of parent)
Range List Hash
Range 11g 9i 8i
List 11g 11g 11g