SlideShare a Scribd company logo
Lowering your IT Costs with Oracle Database 11g Release 2 Thomas Kyte http://asktom.oracle.com
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
<Insert Picture Here> Clustering
Consolidate onto the Grid Using low-cost server and storage grids Automatic Storage Management In-Memory Database Cache Real Application Clusters Enterprise Manager
Oracle Database 11g Release 2 Dynamic Cluster Partitioning via Server Pools Dynamically assigns servers to run groups of related workload Allocation is Policy Managed – Min/Max, Relative Importance Unassigned Servers go to Free Pool Cluster reconfigures if a pool falls below its minimums Back Office Front Office Depart/LOB Free
RAC One Node New Enterprise  feature  for mass consolidation Low entry cost to grid consolidation Automated failover within Grid Rolling patches Online upgrade to multi-node RAC instances DB B DB C DB D DB E DB F DB A
<Insert Picture Here> Hardware
Sun Oracle Database Machine Get on the Grid Faster - OLTP & Data Warehousing Oracle Database Server Grid 8 Database Servers 64 Cores  400 GB DRAM Exadata Storage Server Grid 14 Storage Servers 5TB Smart Flash Cache 336 TB Disk Storage Unified Server/Storage Network 40 Gb/sec Infiniband Links 880 Gb/sec Aggregate Throughput Completely Fault Tolerant
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
Flash Cache How it works 120 GB  Flash Cache 16 GB  SGA Memory 360 GB Magnetic Disks Install Flash Drive in the Host Server Set two init.ora parameters: db_flash_cache_file = <filename> Specifies the path to the flash disk db_flash_cache_size=<size> Specifies the amount of flash disk to use Extended Buffer Cache
World’s Fastest OLTP Machine With Sun FlashFire Technology Huge semiconductor memory hierarchy 400 Gigabytes DRAM 5 TB Smart Flash Cache – Not Flash Disk !!! 1 Million random I/Os per second Eliminates most physical disk I/O 3x database compression for OLTP Compressed 1.2 TB Database in DRAM  Compressed 15 TB Database in Flash Cache
<Insert Picture Here> IMDB
Oracle In Memory Database Cache Offload Data processing to Middle Tier resources Data cached in application memory Synchronized with Oracle Database Fast, consistent response times High transaction throughput Scale out with In-Memory cached Grid Standard Oracle Interfaces SQL, PL/SQL, OCI Cached tables Business Applications Cached tables Business Applications
<Insert Picture Here> Warehousing
Oracle Database 11g Release 2 In-Memory Parallel Execution Data warehouse environments can have large amounts of memory that is not always used An algorithm places fragments of an object (partitions) in memory on different nodes Compression gets more data in memory Parallel servers (aka PQ Slaves) are then executed on the corresponding nodes Requires Automatic Degree of Parallelism Real Application Clusters
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
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
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
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’ …
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
<Insert Picture Here> Storage
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
Automatic Storage Management Lowers the cost of storage management Virtualize and share storage resources Advanced data striping for maximum I/O performance Online addition and migration of storage HR SALES ERP
Oracle Database 11g Release 2 ASM Cluster File System General purpose clustered or local file system Optimized disk layout, online rebalance, mirroring Dynamic volume management, read-only snapshots HR SALES ERP Database Files Oracle Binaries Files
Oracle Database 11g Release 2 Other ASM Enhancements Improved Management ASM Install & Configuration Assistant (ASMCA) Full Featured ASMCMD ASM File Access Control ASM Disk Group Rename Datafile to Disk Mapping Tunable Performance Intelligent Data Placement Infrequently  Accessed Data Frequently  Accessed Data © 2009 Oracle Corporation – Proprietary and Confidential
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
Significantly Reduce Storage Usage Advanced OLTP Compression Compress large application tables Transaction processing, data warehousing Compress all data types Structured and unstructured data types Improve query performance Cascade storage savings throughout data center Compression 4X Up To
Sun Oracle Exadata Storage Server Hybrid Columnar Compression Data stored by column and then compressed Useful for data that is  bulk  loaded or moved Query mode  for data warehousing Typical 10X compression ratios Scans improve accordingly Archival mode  for old data Typical 15- 50X compression ratios 50X Up To
<Insert Picture Here> Availability
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
Traditional Testing Approach  Production – 1,000s of Real Online Users PRODUCTION
Limited Testing Capabilities  Few users trying to be 1,000s of users TEST PRODUCTION
Real Application Testing Workload for 1,000s of Online Users Captured Capture PRODUCTION Workload
Real Application Testing Workload for 1,000s of Online Users Replayed Replay PRODUCTION TEST Capture Workload
Online Application Upgrade Edition-based redefinition Code changes are installed in the privacy of a new  edition Data changes are made safely by writing only to new columns or new tables not seen by the old edition An  editioning view  exposes a different projection of a table into each edition to allow each to see just its own columns A  crossedition  trigger propagates data changes made by the old edition into the new edition’s columns, or (in hot-rollover) vice-versa
Online Application Upgrade Edition-based redefinition ops$tkyte%ORA11GR2> create user demo identified by demo 2  / User created. ops$tkyte%ORA11GR2> grant create session, create procedure to demo 2  / Grant succeeded. ops$tkyte%ORA11GR2> create edition version2 as child of ora$base 2  / Edition created.
Online Application Upgrade Edition-based redefinition ops$tkyte%ORA11GR2> connect demo/demo Connected. demo%ORA11GR2>  demo%ORA11GR2> create or replace procedure my_procedure 2  as 3  begin 4  dbms_output.put_line( 'Hello World, I am version 1.0' ); 5  end; 6  / Procedure created. demo%ORA11GR2> create or replace procedure my_procedure2 2  as 3  begin 4  my_procedure; 5  end; 6  / Procedure created.
Online Application Upgrade Edition-based redefinition demo%ORA11GR2> exec my_procedure2 Hello World, I am version 1.0 PL/SQL procedure successfully completed.
Online Application Upgrade Edition-based redefinition demo%ORA11GR2> connect / Connected. ops$tkyte%ORA11GR2> alter user demo enable editions 2  / User altered. ops$tkyte%ORA11GR2> grant use on edition version2 to demo 2  / Grant succeeded.
Online Application Upgrade Edition-based redefinition ops$tkyte%ORA11GR2> connect demo/demo Connected. demo%ORA11GR2> alter session set edition = version2 2  / Session altered. demo%ORA11GR2> set linesize 150 demo%ORA11GR2> select object_name, object_type, status, edition_name from user_objects 2  / OBJECT_NAME  OBJECT_TYPE  STATUS  EDITION_NAME ---------------- -------------- ------- --------------- MY_PROCEDURE  PROCEDURE  VALID  ORA$BASE MY_PROCEDURE2  PROCEDURE  VALID  ORA$BASE
Online Application Upgrade Edition-based redefinition demo%ORA11GR2> create or replace procedure my_procedure 2  as 3  begin 4  dbms_output.put_line( 'Hello World, I am version 2.0' ); 5  end; 6  / Procedure created. demo%ORA11GR2> select object_name, object_type, status, edition_name from user_objects 2  / OBJECT_NAME  OBJECT_TYPE  STATUS  EDITION_NAME --------------- ------------------- ------- -------------- MY_PROCEDURE2  PROCEDURE  VALID  ORA$BASE MY_PROCEDURE  PROCEDURE  VALID  VERSION2
Online Application Upgrade Edition-based redefinition demo%ORA11GR2> SELECT SYS_CONTEXT('userenv', 'current_edition_name') FROM DUAL; SYS_CONTEXT('USERENV','CURRENT_EDITION_NAME') -------------------------------------------------- VERSION2 demo%ORA11GR2> exec my_procedure2 Hello World, I am version 2.0 PL/SQL procedure successfully completed.
Online Application Upgrade Edition-based redefinition demo%ORA11GR2> connect demo/demo Connected. demo%ORA11GR2> SELECT SYS_CONTEXT('userenv', 'current_edition_name') FROM DUAL; SYS_CONTEXT('USERENV','CURRENT_EDITION_NAME') ----------------------------------------------ORA$BASE demo%ORA11GR2> exec my_procedure2 Hello World, I am version 1.0 PL/SQL procedure successfully completed.
Online Application Upgrade Edition-based redefinition demo%ORA11GR2> alter session set edition = version2; Session altered. demo%ORA11GR2> SELECT SYS_CONTEXT('userenv', 'current_edition_name') FROM DUAL; SYS_CONTEXT('USERENV','CURRENT_EDITION_NAME') ----------------------------------------------- VERSION2 demo%ORA11GR2> exec my_procedure2 Hello World, I am version 2.0 PL/SQL procedure successfully completed.
<Insert Picture Here> How to get there
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
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
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 Middle   Tier Storage Oracle DB Replay DB Workload Production 9i, 10g, 11g Test 11g Release 1 and above Client Client … Client
For More Information http://search.oracle.com or www.oracle.com/database oracle database 11g
Ad

More Related Content

What's hot (20)

The Top 12 Features new to Oracle 12c
The Top 12 Features new to Oracle 12cThe Top 12 Features new to Oracle 12c
The Top 12 Features new to Oracle 12c
David Yahalom
 
VirtualCenter Database Maintenance: VirtualCenter 2.0.x and ...
VirtualCenter Database Maintenance: VirtualCenter 2.0.x and ...VirtualCenter Database Maintenance: VirtualCenter 2.0.x and ...
VirtualCenter Database Maintenance: VirtualCenter 2.0.x and ...
webhostingguy
 
Oracle Exadata X2-8: A Critical Review
Oracle Exadata X2-8: A Critical ReviewOracle Exadata X2-8: A Critical Review
Oracle Exadata X2-8: A Critical Review
Texas Memory Systems, and IBM Company
 
Del 1
Del 1Del 1
Del 1
webhostingguy
 
Sun Oracle Exadata Technical Overview V1
Sun Oracle Exadata Technical Overview V1Sun Oracle Exadata Technical Overview V1
Sun Oracle Exadata Technical Overview V1
jenkin
 
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIES
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIESORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIES
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIES
Ludovico Caldara
 
Extreme Availability using Oracle 12c Features: Your very last system shutdown?
Extreme Availability using Oracle 12c Features: Your very last system shutdown?Extreme Availability using Oracle 12c Features: Your very last system shutdown?
Extreme Availability using Oracle 12c Features: Your very last system shutdown?
Toronto-Oracle-Users-Group
 
Oracle Exadata Performance: Latest Improvements and Less Known Features
Oracle Exadata Performance: Latest Improvements and Less Known FeaturesOracle Exadata Performance: Latest Improvements and Less Known Features
Oracle Exadata Performance: Latest Improvements and Less Known Features
Tanel Poder
 
Oracle database 12c new features
Oracle database 12c new featuresOracle database 12c new features
Oracle database 12c new features
Remote DBA Services
 
Oracle database high availability solutions
Oracle database high availability solutionsOracle database high availability solutions
Oracle database high availability solutions
Kirill Loifman
 
Tanel Poder - Performance stories from Exadata Migrations
Tanel Poder - Performance stories from Exadata MigrationsTanel Poder - Performance stories from Exadata Migrations
Tanel Poder - Performance stories from Exadata Migrations
Tanel Poder
 
Oracle12c data guard farsync and whats new - Nassyam Basha
Oracle12c data guard farsync and whats new - Nassyam BashaOracle12c data guard farsync and whats new - Nassyam Basha
Oracle12c data guard farsync and whats new - Nassyam Basha
pasalapudi123
 
Oracle Database 12.1.0.2: New Features
Oracle Database 12.1.0.2: New FeaturesOracle Database 12.1.0.2: New Features
Oracle Database 12.1.0.2: New Features
Deiby Gómez
 
Trivadis TechEvent 2016 Oracle Client Failover - Under the Hood by Robert Bialek
Trivadis TechEvent 2016 Oracle Client Failover - Under the Hood by Robert BialekTrivadis TechEvent 2016 Oracle Client Failover - Under the Hood by Robert Bialek
Trivadis TechEvent 2016 Oracle Client Failover - Under the Hood by Robert Bialek
Trivadis
 
Mysql For Developers
Mysql For DevelopersMysql For Developers
Mysql For Developers
Carol McDonald
 
Building the Perfect SharePoint 2010 Farm - TechEd Australia 2011
Building the Perfect SharePoint 2010 Farm - TechEd Australia 2011Building the Perfect SharePoint 2010 Farm - TechEd Australia 2011
Building the Perfect SharePoint 2010 Farm - TechEd Australia 2011
Michael Noel
 
PostgreSQL 9.5 Features
PostgreSQL 9.5 FeaturesPostgreSQL 9.5 Features
PostgreSQL 9.5 Features
Saiful
 
10053 otw
10053 otw10053 otw
10053 otw
Doug Burns
 
Oracle 12.2 sharded database management
Oracle 12.2 sharded database managementOracle 12.2 sharded database management
Oracle 12.2 sharded database management
Leyi (Kamus) Zhang
 
Moving Data Between Exadata and Hadoop
Moving Data Between Exadata and HadoopMoving Data Between Exadata and Hadoop
Moving Data Between Exadata and Hadoop
Enkitec
 
The Top 12 Features new to Oracle 12c
The Top 12 Features new to Oracle 12cThe Top 12 Features new to Oracle 12c
The Top 12 Features new to Oracle 12c
David Yahalom
 
VirtualCenter Database Maintenance: VirtualCenter 2.0.x and ...
VirtualCenter Database Maintenance: VirtualCenter 2.0.x and ...VirtualCenter Database Maintenance: VirtualCenter 2.0.x and ...
VirtualCenter Database Maintenance: VirtualCenter 2.0.x and ...
webhostingguy
 
Sun Oracle Exadata Technical Overview V1
Sun Oracle Exadata Technical Overview V1Sun Oracle Exadata Technical Overview V1
Sun Oracle Exadata Technical Overview V1
jenkin
 
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIES
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIESORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIES
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIES
Ludovico Caldara
 
Extreme Availability using Oracle 12c Features: Your very last system shutdown?
Extreme Availability using Oracle 12c Features: Your very last system shutdown?Extreme Availability using Oracle 12c Features: Your very last system shutdown?
Extreme Availability using Oracle 12c Features: Your very last system shutdown?
Toronto-Oracle-Users-Group
 
Oracle Exadata Performance: Latest Improvements and Less Known Features
Oracle Exadata Performance: Latest Improvements and Less Known FeaturesOracle Exadata Performance: Latest Improvements and Less Known Features
Oracle Exadata Performance: Latest Improvements and Less Known Features
Tanel Poder
 
Oracle database 12c new features
Oracle database 12c new featuresOracle database 12c new features
Oracle database 12c new features
Remote DBA Services
 
Oracle database high availability solutions
Oracle database high availability solutionsOracle database high availability solutions
Oracle database high availability solutions
Kirill Loifman
 
Tanel Poder - Performance stories from Exadata Migrations
Tanel Poder - Performance stories from Exadata MigrationsTanel Poder - Performance stories from Exadata Migrations
Tanel Poder - Performance stories from Exadata Migrations
Tanel Poder
 
Oracle12c data guard farsync and whats new - Nassyam Basha
Oracle12c data guard farsync and whats new - Nassyam BashaOracle12c data guard farsync and whats new - Nassyam Basha
Oracle12c data guard farsync and whats new - Nassyam Basha
pasalapudi123
 
Oracle Database 12.1.0.2: New Features
Oracle Database 12.1.0.2: New FeaturesOracle Database 12.1.0.2: New Features
Oracle Database 12.1.0.2: New Features
Deiby Gómez
 
Trivadis TechEvent 2016 Oracle Client Failover - Under the Hood by Robert Bialek
Trivadis TechEvent 2016 Oracle Client Failover - Under the Hood by Robert BialekTrivadis TechEvent 2016 Oracle Client Failover - Under the Hood by Robert Bialek
Trivadis TechEvent 2016 Oracle Client Failover - Under the Hood by Robert Bialek
Trivadis
 
Building the Perfect SharePoint 2010 Farm - TechEd Australia 2011
Building the Perfect SharePoint 2010 Farm - TechEd Australia 2011Building the Perfect SharePoint 2010 Farm - TechEd Australia 2011
Building the Perfect SharePoint 2010 Farm - TechEd Australia 2011
Michael Noel
 
PostgreSQL 9.5 Features
PostgreSQL 9.5 FeaturesPostgreSQL 9.5 Features
PostgreSQL 9.5 Features
Saiful
 
Oracle 12.2 sharded database management
Oracle 12.2 sharded database managementOracle 12.2 sharded database management
Oracle 12.2 sharded database management
Leyi (Kamus) Zhang
 
Moving Data Between Exadata and Hadoop
Moving Data Between Exadata and HadoopMoving Data Between Exadata and Hadoop
Moving Data Between Exadata and Hadoop
Enkitec
 

Similar to 11g R2 (20)

Oracle Database 11g Lower Your Costs
Oracle Database 11g Lower Your CostsOracle Database 11g Lower Your Costs
Oracle Database 11g Lower Your Costs
Mark Rabne
 
Frb Briefing Database
Frb Briefing DatabaseFrb Briefing Database
Frb Briefing Database
Clarke Colombo
 
Clustering van IT-componenten
Clustering van IT-componentenClustering van IT-componenten
Clustering van IT-componenten
Richard Claassens CIPPE
 
Présentation Oracle DataBase 11g
Présentation Oracle DataBase 11gPrésentation Oracle DataBase 11g
Présentation Oracle DataBase 11g
Cynapsys It Hotspot
 
SQL Server It Just Runs Faster
SQL Server It Just Runs FasterSQL Server It Just Runs Faster
SQL Server It Just Runs Faster
Bob Ward
 
Exadata
ExadataExadata
Exadata
vkv_vkv
 
Tendencias Storage
Tendencias StorageTendencias Storage
Tendencias Storage
Fran Navarro
 
Advanced equal logic customer presentation
Advanced equal logic customer presentationAdvanced equal logic customer presentation
Advanced equal logic customer presentation
allardb
 
High Availability And Oracle Data Guard 11g R2
High Availability And Oracle Data Guard 11g R2High Availability And Oracle Data Guard 11g R2
High Availability And Oracle Data Guard 11g R2
Mario Redón Luz
 
Troubleshooting SQL Server
Troubleshooting SQL ServerTroubleshooting SQL Server
Troubleshooting SQL Server
Stephen Rose
 
Dba tuning
Dba tuningDba tuning
Dba tuning
Maximiliano Accotto
 
Best Practices for Building Robust Data Platform with Apache Spark and Delta
Best Practices for Building Robust Data Platform with Apache Spark and DeltaBest Practices for Building Robust Data Platform with Apache Spark and Delta
Best Practices for Building Robust Data Platform with Apache Spark and Delta
Databricks
 
Amazon Aurora TechConnect
Amazon Aurora TechConnect Amazon Aurora TechConnect
Amazon Aurora TechConnect
LavanyaMurthy9
 
3PAR and VMWare
3PAR and VMWare3PAR and VMWare
3PAR and VMWare
vmug
 
VMworld 2013: Virtualizing Databases: Doing IT Right
VMworld 2013: Virtualizing Databases: Doing IT Right VMworld 2013: Virtualizing Databases: Doing IT Right
VMworld 2013: Virtualizing Databases: Doing IT Right
VMworld
 
Exadata
ExadataExadata
Exadata
Maged Ali
 
IMC Summit 2016 Breakout - Per Minoborg - Work with Multiple Hot Terabytes in...
IMC Summit 2016 Breakout - Per Minoborg - Work with Multiple Hot Terabytes in...IMC Summit 2016 Breakout - Per Minoborg - Work with Multiple Hot Terabytes in...
IMC Summit 2016 Breakout - Per Minoborg - Work with Multiple Hot Terabytes in...
In-Memory Computing Summit
 
Performance Tuning intro
Performance Tuning introPerformance Tuning intro
Performance Tuning intro
AiougVizagChapter
 
Oracle exalytics deployment for high availability
Oracle exalytics deployment for high availabilityOracle exalytics deployment for high availability
Oracle exalytics deployment for high availability
Paulo Fagundes
 
Sql server 2016 it just runs faster sql bits 2017 edition
Sql server 2016 it just runs faster   sql bits 2017 editionSql server 2016 it just runs faster   sql bits 2017 edition
Sql server 2016 it just runs faster sql bits 2017 edition
Bob Ward
 
Oracle Database 11g Lower Your Costs
Oracle Database 11g Lower Your CostsOracle Database 11g Lower Your Costs
Oracle Database 11g Lower Your Costs
Mark Rabne
 
Présentation Oracle DataBase 11g
Présentation Oracle DataBase 11gPrésentation Oracle DataBase 11g
Présentation Oracle DataBase 11g
Cynapsys It Hotspot
 
SQL Server It Just Runs Faster
SQL Server It Just Runs FasterSQL Server It Just Runs Faster
SQL Server It Just Runs Faster
Bob Ward
 
Tendencias Storage
Tendencias StorageTendencias Storage
Tendencias Storage
Fran Navarro
 
Advanced equal logic customer presentation
Advanced equal logic customer presentationAdvanced equal logic customer presentation
Advanced equal logic customer presentation
allardb
 
High Availability And Oracle Data Guard 11g R2
High Availability And Oracle Data Guard 11g R2High Availability And Oracle Data Guard 11g R2
High Availability And Oracle Data Guard 11g R2
Mario Redón Luz
 
Troubleshooting SQL Server
Troubleshooting SQL ServerTroubleshooting SQL Server
Troubleshooting SQL Server
Stephen Rose
 
Best Practices for Building Robust Data Platform with Apache Spark and Delta
Best Practices for Building Robust Data Platform with Apache Spark and DeltaBest Practices for Building Robust Data Platform with Apache Spark and Delta
Best Practices for Building Robust Data Platform with Apache Spark and Delta
Databricks
 
Amazon Aurora TechConnect
Amazon Aurora TechConnect Amazon Aurora TechConnect
Amazon Aurora TechConnect
LavanyaMurthy9
 
3PAR and VMWare
3PAR and VMWare3PAR and VMWare
3PAR and VMWare
vmug
 
VMworld 2013: Virtualizing Databases: Doing IT Right
VMworld 2013: Virtualizing Databases: Doing IT Right VMworld 2013: Virtualizing Databases: Doing IT Right
VMworld 2013: Virtualizing Databases: Doing IT Right
VMworld
 
IMC Summit 2016 Breakout - Per Minoborg - Work with Multiple Hot Terabytes in...
IMC Summit 2016 Breakout - Per Minoborg - Work with Multiple Hot Terabytes in...IMC Summit 2016 Breakout - Per Minoborg - Work with Multiple Hot Terabytes in...
IMC Summit 2016 Breakout - Per Minoborg - Work with Multiple Hot Terabytes in...
In-Memory Computing Summit
 
Oracle exalytics deployment for high availability
Oracle exalytics deployment for high availabilityOracle exalytics deployment for high availability
Oracle exalytics deployment for high availability
Paulo Fagundes
 
Sql server 2016 it just runs faster sql bits 2017 edition
Sql server 2016 it just runs faster   sql bits 2017 editionSql server 2016 it just runs faster   sql bits 2017 edition
Sql server 2016 it just runs faster sql bits 2017 edition
Bob Ward
 
Ad

Recently uploaded (20)

Electronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploitElectronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploit
niftliyevhuseyn
 
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
BookNet Canada
 
tecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdftecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdf
fjgm517
 
How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?
Daniel Lehner
 
Semantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AISemantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AI
artmondano
 
Cyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of securityCyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of security
riccardosl1
 
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdfComplete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Software Company
 
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Aqusag Technologies
 
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In FranceManifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
chb3
 
Role of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered ManufacturingRole of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered Manufacturing
Andrew Leo
 
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptxDevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
Justin Reock
 
TrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business ConsultingTrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business Consulting
Trs Labs
 
Heap, Types of Heap, Insertion and Deletion
Heap, Types of Heap, Insertion and DeletionHeap, Types of Heap, Insertion and Deletion
Heap, Types of Heap, Insertion and Deletion
Jaydeep Kale
 
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
Alan Dix
 
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul
 
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes
 
What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...
Vishnu Singh Chundawat
 
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdfSAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
Precisely
 
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
 
Big Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur MorganBig Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur Morgan
Arthur Morgan
 
Electronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploitElectronic_Mail_Attacks-1-35.pdf by xploit
Electronic_Mail_Attacks-1-35.pdf by xploit
niftliyevhuseyn
 
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
BookNet Canada
 
tecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdftecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdf
fjgm517
 
How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?How Can I use the AI Hype in my Business Context?
How Can I use the AI Hype in my Business Context?
Daniel Lehner
 
Semantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AISemantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AI
artmondano
 
Cyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of securityCyber Awareness overview for 2025 month of security
Cyber Awareness overview for 2025 month of security
riccardosl1
 
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdfComplete Guide to Advanced Logistics Management Software in Riyadh.pdf
Complete Guide to Advanced Logistics Management Software in Riyadh.pdf
Software Company
 
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Massive Power Outage Hits Spain, Portugal, and France: Causes, Impact, and On...
Aqusag Technologies
 
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In FranceManifest Pre-Seed Update | A Humanoid OEM Deeptech In France
Manifest Pre-Seed Update | A Humanoid OEM Deeptech In France
chb3
 
Role of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered ManufacturingRole of Data Annotation Services in AI-Powered Manufacturing
Role of Data Annotation Services in AI-Powered Manufacturing
Andrew Leo
 
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptxDevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
DevOpsDays Atlanta 2025 - Building 10x Development Organizations.pptx
Justin Reock
 
TrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business ConsultingTrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business Consulting
Trs Labs
 
Heap, Types of Heap, Insertion and Deletion
Heap, Types of Heap, Insertion and DeletionHeap, Types of Heap, Insertion and Deletion
Heap, Types of Heap, Insertion and Deletion
Jaydeep Kale
 
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
Alan Dix
 
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul Shares 5 Steps to Implement AI Agents for Maximum Business Efficien...
Noah Loul
 
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes
 
What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...
Vishnu Singh Chundawat
 
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdfSAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
SAP Modernization: Maximizing the Value of Your SAP S/4HANA Migration.pdf
Precisely
 
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
AI EngineHost Review: Revolutionary USA Datacenter-Based Hosting with NVIDIA ...
SOFTTECHHUB
 
Big Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur MorganBig Data Analytics Quick Research Guide by Arthur Morgan
Big Data Analytics Quick Research Guide by Arthur Morgan
Arthur Morgan
 
Ad

11g R2

  • 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
  • 5. Oracle Database 11g Release 2 Dynamic Cluster Partitioning via Server Pools Dynamically assigns servers to run groups of related workload Allocation is Policy Managed – Min/Max, Relative Importance Unassigned Servers go to Free Pool Cluster reconfigures if a pool falls below its minimums Back Office Front Office Depart/LOB Free
  • 6. RAC One Node New Enterprise feature for mass consolidation Low entry cost to grid consolidation Automated failover within Grid Rolling patches Online upgrade to multi-node RAC instances DB B DB C DB D DB E DB F DB A
  • 8. Sun Oracle Database Machine Get on the Grid Faster - OLTP & Data Warehousing Oracle Database Server Grid 8 Database Servers 64 Cores 400 GB DRAM Exadata Storage Server Grid 14 Storage Servers 5TB Smart Flash Cache 336 TB Disk Storage Unified Server/Storage Network 40 Gb/sec Infiniband Links 880 Gb/sec Aggregate Throughput Completely Fault Tolerant
  • 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
  • 10. Flash Cache How it works 120 GB Flash Cache 16 GB SGA Memory 360 GB Magnetic Disks Install Flash Drive in the Host Server Set two init.ora parameters: db_flash_cache_file = <filename> Specifies the path to the flash disk db_flash_cache_size=<size> Specifies the amount of flash disk to use Extended Buffer Cache
  • 11. World’s Fastest OLTP Machine With Sun FlashFire Technology Huge semiconductor memory hierarchy 400 Gigabytes DRAM 5 TB Smart Flash Cache – Not Flash Disk !!! 1 Million random I/Os per second Eliminates most physical disk I/O 3x database compression for OLTP Compressed 1.2 TB Database in DRAM Compressed 15 TB Database in Flash Cache
  • 13. Oracle In Memory Database Cache Offload Data processing to Middle Tier resources Data cached in application memory Synchronized with Oracle Database Fast, consistent response times High transaction throughput Scale out with In-Memory cached Grid Standard Oracle Interfaces SQL, PL/SQL, OCI Cached tables Business Applications Cached tables Business Applications
  • 14. <Insert Picture Here> Warehousing
  • 15. Oracle Database 11g Release 2 In-Memory Parallel Execution Data warehouse environments can have large amounts of memory that is not always used An algorithm places fragments of an object (partitions) in memory on different nodes Compression gets more data in memory Parallel servers (aka PQ Slaves) are then executed on the corresponding nodes Requires Automatic Degree of Parallelism Real Application Clusters
  • 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. Automatic Storage Management Lowers the cost of storage management Virtualize and share storage resources Advanced data striping for maximum I/O performance Online addition and migration of storage HR SALES ERP
  • 24. Oracle Database 11g Release 2 ASM Cluster File System General purpose clustered or local file system Optimized disk layout, online rebalance, mirroring Dynamic volume management, read-only snapshots HR SALES ERP Database Files Oracle Binaries Files
  • 25. Oracle Database 11g Release 2 Other ASM Enhancements Improved Management ASM Install & Configuration Assistant (ASMCA) Full Featured ASMCMD ASM File Access Control ASM Disk Group Rename Datafile to Disk Mapping Tunable Performance Intelligent Data Placement Infrequently Accessed Data Frequently Accessed Data © 2009 Oracle Corporation – Proprietary and Confidential
  • 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
  • 27. Significantly Reduce Storage Usage Advanced OLTP Compression Compress large application tables Transaction processing, data warehousing Compress all data types Structured and unstructured data types Improve query performance Cascade storage savings throughout data center Compression 4X Up To
  • 28. Sun Oracle Exadata Storage Server Hybrid Columnar Compression Data stored by column and then compressed Useful for data that is bulk loaded or moved Query mode for data warehousing Typical 10X compression ratios Scans improve accordingly Archival mode for old data Typical 15- 50X compression ratios 50X Up To
  • 29. <Insert Picture Here> Availability
  • 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
  • 31. Traditional Testing Approach Production – 1,000s of Real Online Users PRODUCTION
  • 32. Limited Testing Capabilities Few users trying to be 1,000s of users TEST PRODUCTION
  • 33. Real Application Testing Workload for 1,000s of Online Users Captured Capture PRODUCTION Workload
  • 34. Real Application Testing Workload for 1,000s of Online Users Replayed Replay PRODUCTION TEST Capture Workload
  • 35. Online Application Upgrade Edition-based redefinition Code changes are installed in the privacy of a new edition Data changes are made safely by writing only to new columns or new tables not seen by the old edition An editioning view exposes a different projection of a table into each edition to allow each to see just its own columns A crossedition trigger propagates data changes made by the old edition into the new edition’s columns, or (in hot-rollover) vice-versa
  • 36. Online Application Upgrade Edition-based redefinition ops$tkyte%ORA11GR2> create user demo identified by demo 2 / User created. ops$tkyte%ORA11GR2> grant create session, create procedure to demo 2 / Grant succeeded. ops$tkyte%ORA11GR2> create edition version2 as child of ora$base 2 / Edition created.
  • 37. Online Application Upgrade Edition-based redefinition ops$tkyte%ORA11GR2> connect demo/demo Connected. demo%ORA11GR2> demo%ORA11GR2> create or replace procedure my_procedure 2 as 3 begin 4 dbms_output.put_line( 'Hello World, I am version 1.0' ); 5 end; 6 / Procedure created. demo%ORA11GR2> create or replace procedure my_procedure2 2 as 3 begin 4 my_procedure; 5 end; 6 / Procedure created.
  • 38. Online Application Upgrade Edition-based redefinition demo%ORA11GR2> exec my_procedure2 Hello World, I am version 1.0 PL/SQL procedure successfully completed.
  • 39. Online Application Upgrade Edition-based redefinition demo%ORA11GR2> connect / Connected. ops$tkyte%ORA11GR2> alter user demo enable editions 2 / User altered. ops$tkyte%ORA11GR2> grant use on edition version2 to demo 2 / Grant succeeded.
  • 40. Online Application Upgrade Edition-based redefinition ops$tkyte%ORA11GR2> connect demo/demo Connected. demo%ORA11GR2> alter session set edition = version2 2 / Session altered. demo%ORA11GR2> set linesize 150 demo%ORA11GR2> select object_name, object_type, status, edition_name from user_objects 2 / OBJECT_NAME OBJECT_TYPE STATUS EDITION_NAME ---------------- -------------- ------- --------------- MY_PROCEDURE PROCEDURE VALID ORA$BASE MY_PROCEDURE2 PROCEDURE VALID ORA$BASE
  • 41. Online Application Upgrade Edition-based redefinition demo%ORA11GR2> create or replace procedure my_procedure 2 as 3 begin 4 dbms_output.put_line( 'Hello World, I am version 2.0' ); 5 end; 6 / Procedure created. demo%ORA11GR2> select object_name, object_type, status, edition_name from user_objects 2 / OBJECT_NAME OBJECT_TYPE STATUS EDITION_NAME --------------- ------------------- ------- -------------- MY_PROCEDURE2 PROCEDURE VALID ORA$BASE MY_PROCEDURE PROCEDURE VALID VERSION2
  • 42. Online Application Upgrade Edition-based redefinition demo%ORA11GR2> SELECT SYS_CONTEXT('userenv', 'current_edition_name') FROM DUAL; SYS_CONTEXT('USERENV','CURRENT_EDITION_NAME') -------------------------------------------------- VERSION2 demo%ORA11GR2> exec my_procedure2 Hello World, I am version 2.0 PL/SQL procedure successfully completed.
  • 43. Online Application Upgrade Edition-based redefinition demo%ORA11GR2> connect demo/demo Connected. demo%ORA11GR2> SELECT SYS_CONTEXT('userenv', 'current_edition_name') FROM DUAL; SYS_CONTEXT('USERENV','CURRENT_EDITION_NAME') ----------------------------------------------ORA$BASE demo%ORA11GR2> exec my_procedure2 Hello World, I am version 1.0 PL/SQL procedure successfully completed.
  • 44. Online Application Upgrade Edition-based redefinition demo%ORA11GR2> alter session set edition = version2; Session altered. demo%ORA11GR2> SELECT SYS_CONTEXT('userenv', 'current_edition_name') FROM DUAL; SYS_CONTEXT('USERENV','CURRENT_EDITION_NAME') ----------------------------------------------- VERSION2 demo%ORA11GR2> exec my_procedure2 Hello World, I am version 2.0 PL/SQL procedure successfully completed.
  • 45. <Insert Picture Here> How to get there
  • 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. 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 Middle Tier Storage Oracle DB Replay DB Workload Production 9i, 10g, 11g Test 11g Release 1 and above Client Client … Client
  • 49. For More Information http://search.oracle.com or www.oracle.com/database oracle database 11g

Editor's Notes

  • #16: CVU = Cluster Verification Utilities