Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Drop a column in a 9 million records table
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
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).
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
![]() |
![]() |