oracle 11g r1 top features for developers & dba’s
DESCRIPTION
Oracle 11g R1 Top Features for Developers & DBA’s. August 2008. Agenda. This is mean to be more of an open discussion No set time per topic - each topic has just enough info to spur questions and/or open a dialog – so talk Feel free to ask questions about other topics - PowerPoint PPT PresentationTRANSCRIPT
© 2008 Quest Software, Inc. ALL RIGHTS RESERVED.
Oracle 11g R1 Top Features for Developers & DBA’s
August 2008
Agenda• This is mean to be more of an open discussion
• No set time per topic - each topic has just enough info to spur questions and/or open a dialog – so talk
• Feel free to ask questions about other topics
• No cell phones with ringer turned on (use vibrate)• Email only during breaks under penalty of death
• 11g adoption may have been slow – but:– 11g R1 is now over one year old
– 11G R2 beta will be starting soon2
Focus• 11g has huge growth in functionality (install size,
resource consumption, time to create database, etc)
• Too many features to cover them all in few hours!!!
• Will concentrate on key ones you may encounter
• Don’t underestimate Oracle (don’t drink our cool aid)
• MS SQL Server 2008 (coming soon) is real threat
• Oracle may have to adjust to compete (lower price)3
Oracle vs. Toad Timeline
Oct ‘98
v5Initial Quest
release.Yahoo! Groups and
Toadsoft.com established.
June ‘99
V6.1Already has 70
distinct screens.
Feb ’00
V6.3Debugger, SQL
Modeler, Oracle 8 object support.
v6.5DBA Module.
April ‘01
v7.0Toad Reports.
Dec ‘01
v7.2Script
Manager, SQL*Loader
Wizard.
Oct ‘02
v7.4Project
Manager,QSR.
May ‘03
v7.5Team Coding,
Data Grid support for
advanced data types.
Nov ‘03
v7.6Session Browser,
new toolbars.
v8.0XML Support,
CodeXpert,Script Debugger.
Rebranded –Toad for Oracle
June ‘05July ‘04
v8.5JIT Debugging,
Citrix, RAC, enhanced 10g
support.
v8.6Re-designed
Modeler, M/D Brower,New Reporting Engine.
Oct ’05
Dec ‘00 Apr ‘02
v7.3HTML Schema
Generator, CMD Line Support.
Original Toad Freeware
Toad for Oracle Freeware Update July ‘05
v9.0Single Merged
Editor.Improved
CodeXpert integration.
ASM, ADDM, AWR Mgt
Oct ’06
v9.1Policy Manager.Action Recall.
Toad TipsVista support.
Jun ’07
v9.5Integration with
SQL Optimizer 7.2Debugger, Profiler,
Code Xpert enhancements.
StatsPack BrowserOracle 11g
support.
Nov ’07
v9.6Debugger into
Standard, Schema Browser merged with DB Browser, integration with QCTO and TDM,
Vulnerability Assessment in Health Check
Apr ’08
9iR2
10gR2 11gR19.2.0.8
10.2.0.4
Oracle Tech Net Opinion: www.oracle.com/technology/pub/articles/oracle-database-11g-top-features/index.html
5
Real Application Testing (RAT)
6
Look familiar?
Essentially Asynchronous Shareplex
$20K/CPU +++
Flash Back Transaction
21
SQL> select xid, start_scn, operation, table_name, undo_sqlfrom flashback_transaction_querywhere start_timestamp>=sysdate-1 and username='BERT' and table_owner='BERT';
XID START_SCN OPERATION TABLE_NAME UNDO_SQL---------------- ---------- ---------- ------------ --------------------------------------------------------------0200030052030000 475697 DELETE JUNK insert into "BERT"."JUNK"("C1","C2") values ('5','6');0200030052030000 475697 DELETE JUNK insert into "BERT"."JUNK"("C1","C2") values ('3','4');0200030052030000 475697 INSERT JUNK delete from "BERT"."JUNK" where ROWID = 'AAAD94AAAAAAChOAAD';0200030052030000 475697 INSERT JUNK delete from "BERT"."JUNK" where ROWID = 'AAAD94AAAAAAChOAAC';0200030052030000 475697 INSERT JUNK delete from "BERT"."JUNK" where ROWID = 'AAAD94AAAAAAChOAAB';0200030052030000 475697 INSERT JUNK delete from "BERT"."JUNK" where ROWID = 'AAAD94AAAAAAChOAAA';
SQL> select * from bert.junk; C1 C2---------- ---------- 1 2 7 8 SQL> declare trans_arr XID_ARRAY;begin trans_arr := xid_array('0200030052030000','0200030052030000'); dbms_flashback.transaction_backout (numtxns => 1, xids => trans_arr, options => dbms_flashback.cascade);end;/ SQL> select * from bert.junk; C1 C2---------- ---------- 1 2 3 4 5 6 7 8
Flash Back Data Archive
22
SQL> create tablespace flash_archivedatafile 'c:\oracle\oradata\ordb1\flash_archive.dbf' size 50M; Tablespace created SQL> create flashback archive default flash_archive tablespace flash_archive retention 30 day; Flashback archive created. SQL> create table bert.junk (c1 int, c2 int) flashback archive flash_archive; Table created.
This new feature offers the ability to retain the reciprocal UNDO information for critical data significantly beyond the point in time that it would be flushed out of the UNDO tablespace. Therefore, it’s now possible to hold onto these reciprocal transactions essentially indefinitely. Once this feature is enabled, all retained transaction history can be viewed, and this eliminates the cumbersome task of creating corresponding history tracking tables for critical transactional tables.
OEM Performance Charts for RAC
SQL Query Result Cache
The SQL query result cache is an area of memory in the Shared Global Area (SGA) that can retain the result sets that a query generates.
OCI Client Result Cache