Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: reclaiming space from SYSTEM tablespace.

Re: reclaiming space from SYSTEM tablespace.

From: osy45 <member18536_at_dbforums.com>
Date: Mon, 07 Apr 2003 05:50:41 +0000
Message-ID: <2736728.1049694641@dbforums.com>

why is it so large ? had there any users been created with no given own tablespace; SYSTEM is the default:

then take all the users except sys, system which own objects in system tablespace and move them to other tablespaces

alter user <usr1> default tablespace <tablespace1> ; atler user <...> default tablespace <...>;

select 'alter table '|| owner||'.' ||table_name || ' move tablespace '|| <tablespace1> ||';' where owner = <usr1> ;

after finishing that action you possibly can shrink the datafile ...

--
Posted via http://dbforums.com
Received on Mon Apr 07 2003 - 00:50:41 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US