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: [Q] Can you shrink tablespaces?

Re: [Q] Can you shrink tablespaces?

From: RP DATA SOLUTIONS <rpdata_at_cyberus.ca>
Date: Thu, 13 Aug 1998 22:30:36 GMT
Message-ID: <35d36827.114076793@news.cyberus.ca>


"Przemysław Pakulski" <przemop_at_talex.com.pl> wrote:

>
>Chris Muir napisał(a) w wiadomości: <35d27df8.155785938_at_mitswa>...
>>Howdy.
>>
>>I currently have a tablespace that is 30% percent full. The data in
>>the tablespace is static and wont change or grow. Is there a way to
>>shrink the tablespace size to obtain the disk space back?
>>
>You can try following:
>
>ALTER TABLESPACE tablespace DATAFILE datafile RESIZE xxM
>
>where xx is the new size of datafile in MB.
>
>Przemo Pakulski
>przemop_at_talex.com.pl
>
>
>

The above will not work...

Here it is:

alter database datafile 'path and file_name' resize SIZEM;

Robert Prendin

#****************************************************
#	RP Data Solutions Inc.
#	Specializing in ORACLE DBA Support Services
#       We offer 24HR remote DBA support!!!
#****************************************************


Received on Thu Aug 13 1998 - 17:30:36 CDT

Original text of this message

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