Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
P. 1
9i and 10 G New Features

9i and 10 G New Features

Ratings: (0)|Views: 197 |Likes:
Published by abderrazzakh

More info:

Published by: abderrazzakh on Feb 01, 2010
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as DOC, PDF, TXT or read online from Scribd
See more
See less

10/23/2011

pdf

text

original

 
What’s new in Oracle10g that is of interest to a DBA?
Simplified Oracle10g installationEnhanced Enterprise Manager  Introducing DataPump - The load/unload utility Automatic Database Diagnostic Monitor  Automatic Shared Memory Management Automatic Optimizer Statistics Gathering Automatic Undo Tuning Automatic Workload Repository Automatic Storage Management Automatic Maintenance Tasks SQL Tuning Advisor  SQL Access Advisor  Undo Advisor  Redo Logfile Size Advisor  Bigfile Tablespaces  New Flashback Features The SYSAUX Tablespace Direct Upgrade to 10g UNIX Style Regular Expressions in SQL HTML DB  New (bunch of) Wait Events  New Initialization Parameters
 
 Rename Tablespace Flush buffer cache Temporary Tablespace Groups Default Permanent Tablespace Segment Shrink  Skip Unusable Indexes Drop Database Server Alerts Transport tablespace across platforms 
 
What’s new in Oracle9i that is of interest to a DBA?
 
*******
Automatic undo management
 
What is automatic undo?
Oracle manages undo space using the undo tablespace instead of rollback segmentsOracle manages the size and number of undo segmentsRelieves DBA from creating and monitoring rollback segments New type of tablespace required – UNDO TABLESPACE New initialization parametersUNDO_MANAGEMENT - Decides the type of undo management.AUTO specifies automatic undo managementMANUAL specifies pre-9i behavior where the DBA manages rollback segments.This is the defaultUNDO_TABLESPACE – Name of the undo tablespace, this is a dynamic parameter,so you can change the name of the undo tablespace. You may have multiple undotablespaces on the database, only one can be active at any given time. If you do notspecify this parameter, oracle uses the first available undo tablespace.UNDO_RETENTION - specifies (in seconds) the amount of committed undoinformation to retain in the database. The default is 900 seconds. Keep this valuehigh to avoid “Snapshot too old” errors. This is also a dynamic parameter, which can be changed using ALTER SYSTEM.UNDO_SUPPRESS_ERRORS - Suppress errors while executing manual undomanagement mode operations. If your application has SET TRANSACTION USEROLLBACK SEGMENT statement, setting this parameter value to TRUE willsuppress the error while in automatic undo.
How to create an undo tablespace?
Specify while creating the 9i database:
CREATE DATABASE … …
 
DATAFILE … …
 
UNDO TABLESPACE "UNDOTBS"
 
DATAFILE '/oradata/MYDB/undotbs01.dbf' SIZE 100M
 
CHARACTER SET … … …
 
Create using the CREATE TABLESPACE syntax:
CREATE UNDO TABLESPACE UNDOTBS
 
DATAFILE '/oradata/MYDB/undotbs01.dbf' SIZE 100M
 
You can specify only DATAFILE and EXTENT MANAGEMENT LOCAL clauseswhen creating the UNDO TABLESPACE.

Activity (4)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads
lharmeet liked this
gobin_saha liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->