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: Increasing the size of a data file

Re: Increasing the size of a data file

From: Philip Douglass <philipd_at_sirs.com>
Date: Fri, 23 Aug 2002 10:58:42 -0800
Message-ID: <F001.004BE7E7.20020823105842@fatcity.com>


You can resize a datafile manually with: ALTER DATABASE DATAFILE '/u01/path/to/datafile' RESIZE 2000M;

You can resize a datafile down to a smaller size too, as long as there are no extents occupying that space yet.

Was this feature available in 8.0.5? Absolutely.
--

Philip Douglass
Internet Networking Group
Database Administrator
SIRS Mandarin, Inc.

DBA studio (8.1.7) has a feature which allows you to increase the size of a data file. I've tried it on an 8.1.7 database and it seems to work.

What is the equivalent SQL?
The closest I can find in the manual is
ALTER TABLESPACE AUTOEXTEND ON NEXT <nn>; or
ALTER TABLESPACE AUTOEXTEND MAXSIZE <nn>;

Was this feature available in 8.0.5?

Thanks,
Peter Schauss
Northrop Grumman Corporation
schaupe_at_mail.northgrum.com
--

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

Author: Schauss, Peter
  INET: SCHAUPE_at_mail.northgrum.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: Philip Douglass
  INET: philipd_at_sirs.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). Received on Fri Aug 23 2002 - 13:58:42 CDT

Original text of this message

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