8/22/2019 Oracle 11g R1 Top Features for Dev-DBA
1/50
2008 Quest Software, Inc. ALL RIGHTS RESERVED.
Oracle 11g R1 Top Features
for Developers & DBAs
August 2008
8/22/2019 Oracle 11g R1 Top Features for Dev-DBA
2/50
Agenda
This is mean to be more of an open discussion
No set time per topic - each topic has just enoughinfo 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
8/22/2019 Oracle 11g R1 Top Features for Dev-DBA
3/50
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
8/22/2019 Oracle 11g R1 Top Features for Dev-DBA
4/50
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.6SessionBrowser,
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-designedModeler, 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 MergedEditor.
ImprovedCodeXpert
integration.
ASM, ADDM, AWR
Mgt
Oct 06
v9.1Policy Manager.Action Recall.
Toad TipsVista support.
Jun 07
v9.5Integration withSQL Optimizer 7.2
Debugger, Profiler,
Code Xpertenhancements.
StatsPack Browser
Oracle 11gsupport.
Nov 07
v9.6Debugger intoStandard, Schema
Browser merged
with DB Browser,integration with
QCTO and TDM,
VulnerabilityAssessment in
Health Check
Apr 08
9iR2
10gR2 11gR1
9.2.0.8
10.2.0.4
8/22/2019 Oracle 11g R1 Top Features for Dev-DBA
5/50
Oracle Tech Net Opinion:www.oracle.com/technology/pub/articles/oracle-database-11g-top-features/index.html
5
http://www.oracle.com/technology/pub/articles/oracle-database-11g-top-features/index.htmlhttp://www.oracle.com/technology/pub/articles/oracle-database-11g-top-features/index.htmlhttp://www.oracle.com/technology/pub/articles/oracle-database-11g-top-features/index.htmlhttp://www.oracle.com/technology/pub/articles/oracle-database-11g-top-features/index.htmlhttp://www.oracle.com/technology/pub/articles/oracle-database-11g-top-features/index.htmlhttp://www.oracle.com/technology/pub/articles/oracle-database-11g-top-features/index.htmlhttp://www.oracle.com/technology/pub/articles/oracle-database-11g-top-features/index.htmlhttp://www.oracle.com/technology/pub/articles/oracle-database-11g-top-features/index.htmlhttp://www.oracle.com/technology/pub/articles/oracle-database-11g-top-features/index.htmlhttp://www.oracle.com/technology/pub/articles/oracle-database-11g-top-features/index.html8/22/2019 Oracle 11g R1 Top Features for Dev-DBA
6/50
Real Application Testing (RAT)
6
Look familiar?
Essentially Asynchronous Shareplex
8/22/2019 Oracle 11g R1 Top Features for Dev-DBA
7/50
$20K/CPU +++
8/22/2019 Oracle 11g R1 Top Features for Dev-DBA
8/50
8/22/2019 Oracle 11g R1 Top Features for Dev-DBA
9/50
8/22/2019 Oracle 11g R1 Top Features for Dev-DBA
10/50
8/22/2019 Oracle 11g R1 Top Features for Dev-DBA
11/50
8/22/2019 Oracle 11g R1 Top Features for Dev-DBA
12/50
8/22/2019 Oracle 11g R1 Top Features for Dev-DBA
13/50
8/22/2019 Oracle 11g R1 Top Features for Dev-DBA
14/50
8/22/2019 Oracle 11g R1 Top Features for Dev-DBA
15/50
8/22/2019 Oracle 11g R1 Top Features for Dev-DBA
16/50
8/22/2019 Oracle 11g R1 Top Features for Dev-DBA
17/50
8/22/2019 Oracle 11g R1 Top Features for Dev-DBA
18/50
8/22/2019 Oracle 11g R1 Top Features for Dev-DBA
19/50
8/22/2019 Oracle 11g R1 Top Features for Dev-DBA
20/50
8/22/2019 Oracle 11g R1 Top Features for Dev-DBA
21/50
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
8/22/2019 Oracle 11g R1 Top Features for Dev-DBA
22/50
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 timethat 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 retainedtransaction history can be viewed, and this eliminates thecumbersome task of creating corresponding history tracking tables
for critical transactional tables.
8/22/2019 Oracle 11g R1 Top Features for Dev-DBA
23/50
8/22/2019 Oracle 11g R1 Top Features for Dev-DBA
24/50
8/22/2019 Oracle 11g R1 Top Features for Dev-DBA
25/50
OEM Performance Charts for RAC
8/22/2019 Oracle 11g R1 Top Features for Dev-DBA
26/50
8/22/2019 Oracle 11g R1 Top Features for Dev-DBA
27/50
SQL Query Result Cache
The SQL query result cache is anarea of memory in the Shared Global
Area (SGA) that can retain the resultsets that a query generates.
8/22/2019 Oracle 11g R1 Top Features for Dev-DBA
28/50
8/22/2019 Oracle 11g R1 Top Features for Dev-DBA
29/50
8/22/2019 Oracle 11g R1 Top Features for Dev-DBA
30/50
OCI Client Result Cache
8/22/2019 Oracle 11g R1 Top Features for Dev-DBA
31/50
8/22/2019 Oracle 11g R1 Top Features for Dev-DBA
32/50
8/22/2019 Oracle 11g R1 Top Features for Dev-DBA
33/50
8/22/2019 Oracle 11g R1 Top Features for Dev-DBA
34/50
8/22/2019 Oracle 11g R1 Top Features for Dev-DBA
35/50
8/22/2019 Oracle 11g R1 Top Features for Dev-DBA
36/50
8/22/2019 Oracle 11g R1 Top Features for Dev-DBA
37/50
8/22/2019 Oracle 11g R1 Top Features for Dev-DBA
38/50
8/22/2019 Oracle 11g R1 Top Features for Dev-DBA
39/50
8/22/2019 Oracle 11g R1 Top Features for Dev-DBA
40/50
8/22/2019 Oracle 11g R1 Top Features for Dev-DBA
41/50
8/22/2019 Oracle 11g R1 Top Features for Dev-DBA
42/50
8/22/2019 Oracle 11g R1 Top Features for Dev-DBA
43/50
8/22/2019 Oracle 11g R1 Top Features for Dev-DBA
44/50
8/22/2019 Oracle 11g R1 Top Features for Dev-DBA
45/50
8/22/2019 Oracle 11g R1 Top Features for Dev-DBA
46/50
8/22/2019 Oracle 11g R1 Top Features for Dev-DBA
47/50
8/22/2019 Oracle 11g R1 Top Features for Dev-DBA
48/50
8/22/2019 Oracle 11g R1 Top Features for Dev-DBA
49/50
8/22/2019 Oracle 11g R1 Top Features for Dev-DBA
50/50