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: Drop a column in a 9 million records table

RE: Drop a column in a 9 million records table

From: Vadim Gorbounov <vgorbounov_at_simplyengineering.com>
Date: Mon, 05 Mar 2001 12:04:17 -0800
Message-ID: <F001.002C3F00.20010305103025@fatcity.com>

Hi, when you
  alter table foo drop column bar;
Oracle will update every block to release space, used by "bar" before. This operation is actually DML, and requires RBS.   alter table foo set unused (bar );
This is like drop, but doesn't release the space. Pretty fast, no rollback. You may deallocate unused space later, with deallocate unused command, or while dropping the next one.

Vadim Gorbounov
Oracle DBA

-----Original Message-----
Sent: Monday, March 05, 2001 11:10 AM
To: Multiple recipients of list ORACLE-L

The database is Oracle8.1.7. I used the syntax: alter table foo drop column bar;

Why it gives run out of RBS error? Is alter table a DDL? How does it use RBS?

TIA Chris Harvest



Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/
--

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

Author: CC Harvest
  INET: ccharvest_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: Vadim Gorbounov
  INET: vgorbounov_at_simplyengineering.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 Mon Mar 05 2001 - 14:04:17 CST

Original text of this message

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