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: How to resize a tempfile?

Re: How to resize a tempfile?

From: Frank van Bortel <fvanbortel_at_netscape.net>
Date: Mon, 07 Mar 2005 10:37:11 +0100
Message-ID: <d0h77j$oro$1@news4.zwoll1.ov.home.nl>


vafanassiev_at_aapt.com.au wrote:
> In Oracle 8i/9i/9.2/10g - how to resize a tempfile if
> a sort segment has grown too big?
> If I try to use
>
> alter database tempfile '/u01/oradata/PROD/temp01.dbf' resize 1000m;
>
> it produces ORA-03297: file contains used data beyond requested RESIZE
> value
>
> So is the any way to drop/resize/"re-initialize" sort segment?
>
> Thanks
>

tempfiles are tempfiles... just create a new one, and drop the old one.
Assign the new file to the correct tablespace, and that to the users

-- 
Regards,
Frank van Bortel
Received on Mon Mar 07 2005 - 03:37:11 CST

Original text of this message

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