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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Urgent - how to make SYSTEM tbls smaller ?

RE: Urgent - how to make SYSTEM tbls smaller ?

From: Richard Ji <richard.ji_at_mobilespring.com>
Date: Mon, 03 Feb 2003 07:14:36 -0800
Message-ID: <F001.00542122.20030203071436@fatcity.com>


Also, a bigger question, why was another schema able to create indexes in SYSTEM. Was it granted the resource role? If yes, revoke the unlimited tablespace privilege from it. And also check the default tablespace to ensure it's not SYSTEM.

-----Original Message-----
Sent: Monday, February 03, 2003 12:14 AM To: Multiple recipients of list ORACLE-L

Check dba_free_space to find out how much free space you have freed up for the SYSTEM tablespace.

Then you can do:

SQL>alter database datafile 'path_to_system_tablespace' resize 800m;

800m is just an example.

This will work if the space you freed up are towards the end of the datafile, not in the middle.

Richard

-----Original Message-----
Sent: Sunday, February 02, 2003 11:14 PM To: Multiple recipients of list ORACLE-L

guys,

one of my instances here...

has SYSTEM tablespace of size 25G (with one datafile). it has lot of indexes used by an application. the total size of indexes in SYSTEM tablespace is 21G.

this was done by someone else and now they want me to :

1)drop some un-used indexes in SYSTEM tablespace.
2)move the remaining indexes to some other tablespace.
3)and make the SYSTEM tablespace smaller.

all they want is to free disk space.

i can move the index to some other tablespace by <alter index ......rebuild>.

even if drop the indexes ....the space occupied by the index in the SYSTEM tablespace is cleared but the datafile does not get smaller.

but how do i make the file smaller ?

should i exp and imp the whole DB ?

the ENV is 8.1.6/win2k .
this is quite urgent.plz respond quickly.

Regards,
Prem.

--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author: oraora oraora
  INET: oraoraora_at_rediffmail.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author: Richard Ji
  INET: richard.ji_at_mobilespring.com
Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author: Richard Ji
  INET: richard.ji_at_mobilespring.com
Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Mon Feb 03 2003 - 09:14:36 CST

Original text of this message

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