© 2008 Quest Software, Inc. ALL RIGHTS RESERVED. Oracle 11g R1 Top Features for Developers &...

download © 2008 Quest Software, Inc. ALL RIGHTS RESERVED. Oracle 11g R1 Top Features for Developers & DBA’s August 2008.

If you can't read please download the document

Transcript of © 2008 Quest Software, Inc. ALL RIGHTS RESERVED. Oracle 11g R1 Top Features for Developers &...

  • Slide 1

2008 Quest Software, Inc. ALL RIGHTS RESERVED. Oracle 11g R1 Top Features for Developers & DBAs August 2008 Slide 2 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 soon 2 Slide 3 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 Dont underestimate Oracle (dont drink our cool aid) MS SQL Server 2008 (coming soon) is real threat Oracle may have to adjust to compete (lower price) 3 Slide 4 Oracle vs. Toad Timeline Oct 98 v5 Initial Quest release. Yahoo! Groups and Toadsoft.com established. June 99 V6.1 Already has 70 distinct screens. Feb 00 V6.3 Debugger, SQL Modeler, Oracle 8 object support. v6.5 DBA Module. April 01 v7.0 Toad Reports. Dec 01 v7.2 Script Manager, SQL*Loader Wizard. Oct 02 v7.4 Project Manager, QSR. May 03 v7.5 Team Coding, Data Grid support for advanced data types. Nov 03 v7.6 Session Browser, new toolbars. v8.0 XML Support, CodeXpert, Script Debugger. Rebranded Toad for Oracle June 05July 04 v8.5 JIT Debugging, Citrix, RAC, enhanced 10g support. v8.6 Re-designed Modeler, M/D Brower, New Reporting Engine. Oct 05 Dec 00 Apr 02 v7.3 HTML Schema Generator, CMD Line Support. Original Toad Freeware Toad for Oracle Freeware Update July 05 v9.0 Single Merged Editor. Improved CodeXpert integration. ASM, ADDM, AWR Mgt Oct 06 v9.1 Policy Manager. Action Recall. Toad Tips Vista support. Jun 07 v9.5 Integration with SQL Optimizer 7.2 Debugger, Profiler, Code Xpert enhancements. StatsPack Browser Oracle 11g support. Nov 07 v9.6 Debugger into Standard, Schema Browser merged with DB Browser, integration with QCTO and TDM, Vulnerability Assessment in Health Check Apr 08 9iR2 10gR2 11gR1 9.2.0.8 10.2.0.4 Slide 5 Oracle Tech Net Opinion: www.oracle.com/technology/pub/articles/oracle-database-11g-top-features/index.html www.oracle.com/technology/pub/articles/oracle-database-11g-top-features/index.html 5 Slide 6 Real Application Testing (RAT) 6 Look familiar? Essentially Asynchronous Shareplex Slide 7 $20K/CPU +++ Slide 8 Slide 9 Slide 10 Slide 11 Slide 12 Slide 13 Slide 14 Slide 15 Slide 16 Slide 17 Slide 18 Slide 19 Slide 20 Slide 21select * 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 Transaction 21 SQL> select xid, start_scn, operation, table_name, undo_sql from flashback_transaction_query where 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 Slide 22 Flash Back Data Archive 22 SQL> create tablespace flash_archive datafile '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, its 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. Slide 23 Slide 24 Slide 25 OEM Performance Charts for RAC Slide 26 Slide 27 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. Slide 28 Slide 29 Slide 30 OCI Client Result Cache Slide 31 Slide 32 Slide 33 Slide 34 Slide 35 Slide 36 Slide 37 Slide 38 Slide 39 Slide 40 Slide 41 Slide 42 Slide 43 Slide 44 Slide 45 Slide 46 Slide 47 Slide 48 Slide 49 Slide 50