ADD/Remove UNDO tablespace in oracle database
ADD/Remove UNDO tablespace in oracle database:- ===================================== every database having default undo tablespace, if you want to change it do follow below procedure. 1. first create new tablespace with new(as you want to create) Example:- CREATE UNDO TABLESPACE <NEW_NAME> DATAFILE '<datafile_location/name.dbf>' SIZE 1000M AUTOEXTEND OFF ONLINE RETENTION NOGUARANTEE BLOCKSIZE 8K FLASHBACK ON; ALTER SYSTEM SET UNDO_TABLESPACE = <NEW_NAME>; ALTER SYSTEM SET UNDO_RETENTION = <SET as per NEED>; Once new one created, if you want drop old one follow steps below. check any session already using old one with below sql SQL> select tablespace_name, owner, segment_name, status from dba_rollback_segs where TABLESPACE_NAME='UNDOTBS1' and status='ONLINE'; you will get SID&Serial# if any in use, kill them if have or else you can proceed to drop old one. To kill SQL> alter system kill session 'SID,