1. Lowering your IT Costs with Oracle Database 11g Release 2 Thomas Kyte http://asktom.oracle.com
2. Continuous Innovation Exadata Storage Real Application Testing Advanced Compression Automatic Storage Management Transparent Data Encryption Self Managing Database XML Database Oracle Data Guard Real Application Clusters Flashback Query Virtual Private Database Built in Java VM Partitioning Support Built in Messaging Object Relational Support Multimedia Support Data Warehousing Optimizations Parallel Operations Distributed SQL & Transaction Support Cluster and MPP Support Multi-version Read Consistency Client/Server Support Platform Portability Commercial SQL Implementation Oracle 2 Oracle 9 i Oracle 5 Oracle 6 Oracle 7 Oracle 8 Oracle 8 i Oracle 10g Oracle 11g
4. Consolidate onto the Grid Using low-cost server and storage grids Automatic Storage Management In-Memory Database Cache Real Application Clusters Enterprise Manager
9. Sun Exadata Storage Server Hardware 24 GB DRAM 12 x 3.5” Disk Drives 2 Quad-Core Intel ® Xeon ® Processors Disk Controller HBA with 512M battery backed cache InfiniBand QDR (40Gb/s) dual port card Dual-redundant, hot-swappable power supplies 4 x 96GB Sun Flash PCIe Cards
16. In-Memory Parallel Execution How it works SQL statement Determine the size of the table being looked at Fragments of Table are read into each node’s buffer cache 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 Only parallel server on the same RAC node will access each fragment
17. Automated Degree of Parallelism How it works SQL statement 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 threshold PARALLEL_MIN_TIME_THRESHOLD
18. Parallel Statement Queuing How it works SQL statements Statement is parsed and Oracle automatically determines DOP If enough parallel servers available execute immediately If not enough parallel servers available queue FIFO Queue 128 16 32 64 8 When the required number of parallel servers become available the first stmt on the queue is dequeued and executed 128 16 32 64
19. Query Processing: The problem with traditional storage What Were Yesterday’s Sales? SUM Oracle Database Server Grid Storage Array Retrieve Entire Sales Table Select sum(sales) where salesdate= ‘15-Sep-2009’ …
20. Query Processing: Using Sun Oracle Exadata Storage Server What Were Yesterday’s Sales? SUM Oracle Exadata Storage Grid Select sum(sales) where salesdate= ‘15-Sep-2009’ … Retrieve Sales for Sep 15 2009 Oracle Database Server Grid
22. Reduce storage costs by factor of 10x Data growth continues to outpace budget growth Source: Winter TopTen Survey, Winter Corporation, Waltham MA, 2008. 200 400 600 800 1000 1998 2000 2002 2004 2006 2008 2010 Terabytes of Data Rate of Database Growth Actual Projected
23.
24.
25.
26. Manage Data Growth Partition for performance, management and cost 5% Active 95% Less Active ORDERS TABLE (7 years) 2003 2009 Low End Storage Tier 2-3x less per terabyte 2008 High End Storage Tier
30. Oracle Maximum Availability Architecture Fully Utilizing Redundancy Automatic Storage Management Real Application Clusters Secure Backups to Cloud and Tape Active Data Guard Fast Recovery Area Data Guard
46. What are my upgrade paths? Predictable performance post-upgrade 10.2.0.2 11.1.0.6 10.1.0.5 9.2.0.8 11.2 SQL Plan Management Automated SQL tuning
47. Rolling Database Upgrades Initial SQL Apply Config Clients Redo Version X Version X 1 Switchover to B, upgrade A Redo 4 Upgrade X+1 X+1 Run in mixed mode to test Redo 3 X+1 X Upgrade node B to X+1 Upgrade Logs Queue X 2 X+1 Major Release Upgrades Patch Set Upgrades Cluster Software & Hardware Upgrades B A B A A B A B
48.
49. For More Information http://search.oracle.com or www.oracle.com/database oracle database 11g