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: free up datafile space problem ???

Re: free up datafile space problem ???

From: Ron Rogers <RROGERS_at_galottery.org>
Date: Tue, 07 Aug 2001 11:45:08 -0700
Message-ID: <F001.003632C3.20010807114319@fatcity.com>

Janet,
 Possibly there were other tables in the tablespace using space in the datafile and then some tables were deleted leaving the tablespace fragmented. To completely clean the tablespace and free the space you have to export the contents of the tablespace( all tables), drop the tables, coalesce the tablespace, then recreate the tables, import the data and check the grants on the tables, Your tablespace should be contiguous and allow you to shrink the datafile to a smaller space. ROR mª¿ªm
>>> janetlinsy_at_yahoo.com 08/07/01 02:40PM >>>
Hi all,

I have a data file of 2G and the free bytes is 1,413,079, the used bytes is only 683,829. I like to resize it. When I issue:
alter database datafile
'/orafs02/oradata/PV_A0725/ld_data05.dbf' resize 1000M, I got:
ERROR at line 1:
ORA-03297: file contains used data beyond requested RESIZE value

But apparently, the file does NOT contain data beyond 1000M. Am I missing something?

Thank you.

Janet



Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com 
-- 
Author: Janet Linsy
  INET: janetlinsy_at_yahoo.com 

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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.com
--
Author: Ron Rogers
  INET: RROGERS_at_galottery.org

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
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 Tue Aug 07 2001 - 13:45:08 CDT

Original text of this message

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