Professional Documents
Culture Documents
Presented
by
David Austin
Intended Agenda
Manageability
Availability
Error Management
Security
Tools and Utilities
Introductory Preamble
I do not intend to cover every new feature of Oracle
Database 11g
Nor am I presenting an overriding concept of an
Oracle Database 11g focus
But I will try to highlight new capabilities that I think
could be useful or mildly interesting to a working DBA
Intended Agenda
Manageability
ASM
Real Application Testing
Jobs
SQL
I/O
Availability
Error Management
Security
Tools and Utilities
ASM
Fast Mirror Resync
ASM
Fast Mirror Resync
ASM
ASM / Database Compatibility
Set attributes to allow different ASM and database versions to
work together
CREATE DISKGROUP laoug DISK '/dev/raw/*'
ATTRIBUTE 'compatible.asm' = '11.1';
Attribute compatibility matrix
compatible.
asm
10.1
11.1
11.1
11.1
compatible.
rdbms
10.1
10.1
10.2
11.1
ASM
Instance
>=10.1
>=11.1
>=11.1
>=11.1
RDBMS
Instance
>=10.1
>=10.1
>=10.2
>=11.0
ASM
Other (non-RAC) Features
External
140 PB
Normal
42 PB
High
15 PB
Jobs
Lightweight Jobs
Jobs
Lightweight Jobs
BEGIN
DBMS_SCHEDULER.CREATE_JOB (
job_name => my_first_lightweight_job',
program_name => DAILY_GRUNT_JOB',
repeat_interval => 'FREQ=DAILY;BY_HOUR=8',
end_time => '30-Oct-07 04.00.00 AM
Australia/Sydney',
job_style => 'LIGHTWEIGHT',
comments => 'New lightweight job based on a
program');
END;
/
Jobs
External Jobs
Jobs
External Jobs
declare
job_prefix varchar2(30) := 'remote_';
job_name varchar2(30);
destinations dbms_utility.lname_array;
begin
destinations(1) := 'host1:1234';
destinations(2) := 'host2:1234';
destinations(3) := 'host3:1234';
for i in 1..destinations.LAST loop
job_name := dbms_scheduler.generate_job_name(job_prefix);
dbms_scheduler.create_job(job_name, job_type=>'executable',
job_action=>'/u01/app/ext_backup',
number_of_arguments=>0,
enabled=>false);
dbms_scheduler.set_attribute(job_name,'destination',
destinations(i));
dbms_scheduler.set_attribute(job_name,
'credential_name','remote_cred');
dbms_scheduler.enable(job_name);
end loop;
end;
/
SQL
A Handful of Changes
I/O
Calibration
I/O
Calibration
DECLARE
v_iops PLS_INTEGER;
v_mbps PLS_INTEGER;
v_latency PLS_INTEGER;
BEGIN
DBMS_RESOURCE_MANAGER.CALIBRATE_IO (
num_physical_disks => 4,
max_latency => 20,
max_iops => v_iops,
max_mbps => v_mbps,
actual_latency => v_latency);
END;
/
SELECT *
FROM DBA_RSRC_IO_CALIBRATE;
I/O
Calibration
START_TIME
END_TIME
MAX_IOPS
MAX_MBPS
MAX_PMBPS
LATENCY
NUM_PHYSICAL_
DISKS
I/O
You May Find These Features Attractive
Intended Agenda
Manageability
Availability
General
Runtime, Maintenance, and Upgrades
Data Guard
Other
Error Management
Security
Tools and Utilities
Invisible indexes
Are maintained during DML operations
Are only used in query optimization if specified in a Hint
Enables testing the impact of dropping indexes or performing
application upgrades
Data Guard
Snapshot Database
Pre 11g
Standby
Database
Incoming redo
Users?
11g
Incoming redo
Standby
Database
SELECT
SELECT
Users
Data Guard
Snapshot Database
11g
Incoming redo
Standby
Database
Convert to Snapshot DB
Data Guard
Snapshot Database
11g
Incoming redo
Snapshot
Database
INSERT
UPDATE
DELETE
SELECT
Users
Data Guard
Snapshot Database
11g
Incoming redo
Standby
Database
Data Guard
Snapshot Database
Flashback to
Restore point record
11g
Incoming redo
Snapshot
Database
INSERT
UPDATE
DELETE
SELECT
Users
Data Guard
Snapshot Database
11g
Incoming redo
Snapshot
Database
SELECT
SELECT
SELECT
SELECT
Users
Data Guard
Broker
Data Guard
Logical Apply Completeness
Data Guard
Other Improvements
Data Guard
You May Find These Features Attractive
Intended Agenda
Manageability
Availability
Error Management
Security
Tools and Utilities
Error Management
Automatic Diagnostic Repository
Error Management
Diagnostic Tools
Error Management
Health Monitor
File corruptions
Physical and logical block corruptions
Undo and redo corruptions
Data dictionary corruptions
Transaction integrity
Error Management
Health Monitor
Error Management
Problem Containment
Error Management
Problem Containment
LogMiner
RMAN
Data Guard Integration
RMAN
You May Find These Features Attractive
You can now merge one recovery catalog schema into another
(to consolidate different versions or from from one DB to
another)
Archive log deletion policies now integrated with other tools
(Data Guard, Flashback, et al) and, optionally, non-mandatory
destinations
Optional archive log destinations may be used in place of
inaccessible flash back areas during backups
You can clone databases using backups stored somewhere on
the network no longer have to copy the backup to the new
database server
Use the CONFIGURE BACKUP UNDO OPTIMIZATION option so
backup operations skip unneeded undo records
You no longer have to make transported tablespaces read-write
before you can back them up with RMAN
Intended Agenda
Manageability
Availability
Error Management
Security
Secure by Default
Advanced Security
Data Masking
Secure by Default
Advanced Security
Data Masking
Not really within scope
of this talk
An Oracle 10gR2,
10.2.0.4, feature not
yet available in 11g
tools
But it is a very nifty
feature
Data Masking
Intended Agenda
Manageability
Availability
Error Management
Security
Tools and Utilities
ASMCMD
DBCA / DBUA
Data Pump
SQL & PL/SQL
DBUA
You May Find These Features Attractive