we use a oracle db (11g release2) and the undo tablespase exists of two datafiles and requires 48 GB.
But we just need this size for the boot and the import.
Currently we just use 10 % from the datafiles…
Is it possible to minimize the datafiles online to the needed size ??
Best Answer
-- create a new UNDO tablespace named UNDOTBS2
-- Switch the database to the new UNDO tablespace.
-- Drop the old one
-- If Undo is still in use
I would try this out first on a test database:
(Following from dead link) from original answer:
The above query shows the name of the UNDO segment in the UNDOTBS1 tablespace and its status. See which users/sessions are running this pending transaction:
You can then kill the session; the following assumes a SID of 147 and a SERIAL# of 4: