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: Andrew Sit <asit_at_datamirror.com>
Date: Fri, 23 Aug 2002 11:58:33 -0800
Message-ID: <F001.004BEA2B.20020823115833@fatcity.com>


Manavendra:

  1. No, the database does not have to be offline. Oracle will resize "on-the-fly"
  2. The only way to extend the tablespace prior to oracle 8 was to add datafiles; and yes, I think it's easier to simply add datafiles.
  3. Not sure if this is true, but I believe an old DBA friend of mine suggested that oracle was not very efficient when extending datafiles. That much of the space you allocate to extend the datafile is actually lost to overhead. Could somebody please clarify if this is true? It would seem to me that optimal database performace requires you to add datafiles to the tablespace when required...

Andy.

-- 
Andrew Sit
Systems Engineer
DataMirror Corporation 
+ 1 905 415 0310 (O)
+ 1 416 839 9908 (M)

-----Original Message-----
Sent: Friday, August 23, 2002 3:29 PM
To: Multiple recipients of list ORACLE-L


1. wouldn't you need to bring the database offline to resize the datafile?
2. will it not be easier to just add another datafile? 
3. what is the recommended choice?
With Warm Regards,
Manav.

----- Original Message ----- 
To: "Multiple recipients of list ORACLE-L" <ORACLE-L_at_fatcity.com>
Sent: Friday, August 23, 2002 11:53 AM



> ALTER DATABASE DATAFILE '<NAME>' RESIZE <NEW_SIZE>;
>
> Todd
>
>
> -----Original Message-----
> Peter
> Sent: Friday, August 23, 2002 12:49 PM
> To: Multiple recipients of list ORACLE-L
>
> 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: Todd Carlson
> INET: tcarlson_at_tripos.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: Manavendra Gupta INET: manav_at_zycus.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: Andrew Sit INET: asit_at_datamirror.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 - 14:58:33 CDT

Original text of this message

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