Undo tablespace [message #547879] |
Sat, 17 March 2012 13:24 |
|
Jack14
Messages: 497 Registered: December 2011 Location: INDIA
|
Senior Member |
|
|
Hi,
How to know which undo tablespace is currently being used in database from the below result.
SQL> select tablespace_name from dba_data_files group by tablespace_name;
TABLESPACE_NAME
------------------------------
INDEX1
SYSAUX
UNDOTBS1
USERS
SYSTEM
UNDOTBS2
DATA1
7 rows selected.
Regards,
|
|
|
|
|
|
|
Re: Undo tablespace [message #547887 is a reply to message #547885] |
Sun, 18 March 2012 03:47 |
John Watson
Messages: 8962 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
Just for completeness, with 11.2 undo tablespaces are in efect "publc": if the parameter is not set, then each instance takes the first currently unused undo tablespace. This makes policy managed databases easier to manage. If there is not an unused undo tablespace, it used SYSTEM. It is some time since I tested this, but I think more that one instance can create undo segments in SYSTEM if necessary.
|
|
|
Re: Undo tablespace [message #547891 is a reply to message #547887] |
Sun, 18 March 2012 04:40 |
|
Michel Cadot
Messages: 68729 Registered: March 2007 Location: Saint-Maur, France, https...
|
Senior Member Account Moderator |
|
|
Quote: if the parameter is not set, then each instance takes the first currently unused undo tablespace
But no undo tablespace is shared at one time, each undo tablespace is used by at most one instance, isn't it?
Quote: If there is not an unused undo tablespace, it used SYSTEM. It is some time since I tested this, but I think more that one instance can create undo segments in SYSTEM if necessary.
I don't know in 11.2 but it was not the case in previous versions: SYSTEM tablespace could only contain SYSTEM rollback segment (and deferred RBS in very special cases) and this SYSTEM rollback segment can only be used by SYS during recursive management operations.
Regards
Michel
|
|
|