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: <Riyaj_Shamsudeen_at_i2.com>
Date: Mon, 05 Mar 2001 12:24:14 -0800
Message-ID: <F001.002C3EC4.20010305101617@fatcity.com>

Hi

     When you drop a column the data in that column need to be removed, which is a change to the database block and hence Oracle has to create undo for the change. So rollback segment gets filled. You could control this "commit" behavior using the checkpoint option..

alter table table_name drop column bar checkpoint 250;

     If the statement fails then you have to use 'alter table foo drop columns continue' command to continue the operation.. Thanks
Riyaj "Re-yas" Shamsudeen
Certified Oracle DBA
i2 technologies www.i2.com

                                                                                       
                       
                    CC Harvest                                                         
                       
                    <ccharvest_at_ya        To:     Multiple recipients of list ORACLE-L 
<ORACLE-L_at_fatcity.com>  
                    hoo.com>             cc:                                           
                       
                    Sent by:             Subject:     Drop a column in a 9 million 
records table              
                    root_at_fatcity.                                                      
                       
                    com                                                                
                       
                                                                                       
                       
                                                                                       
                       
                    03/05/01                                                           
                       
                    10:10 AM                                                           
                       
                    Please                                                             
                       
                    respond to                                                         
                       
                    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: INET: Riyaj_Shamsudeen_at_i2.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:24:14 CST

Original text of this message

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