What Is Undo?
What Is Undo?
Uses
*Recover the database - during database recovery undo records are used to
undo to uncommitted transactions are applied from redolog to datafiles
*Read consistency
-It was introduced from oracle 9i before that previous versions "rollback
segments" to manage undo
or
UNDO_RETENTION=900
If an active transaction requires undo space and the undo tablespace does
not have available space, then the system starts reusing unexpired undo
space (if retention is not guaranteed).
This action can potentially cause some queries to fail with the ORA-01555
"snapshot too old" error message.
Note: we can create more than one undo tablespace but only one
can active at one time
Rename datafile
Netowrking
I)listener name
-listner always supports multiple instances but must user 'unique' port
numbers
Online TS relocate
we discuss about how to relocate tablespace ?
TABLESPACE_NAME
-------------------------
SYSTEM
SYSAUX
UNDOTBS1
TEMP
USERS
EXAMPLE
B
here i m going to relocate the tablespace "B" from one place into another
FILE_NAME
----------------------------
/u01/app/oracle/product/11.2.0.3/oradata/TEST/b.dbf
Tablespace altered.
S-4:
S-5:
S-6:
S-7: