Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: alter table tabname drop column colname checkpoint #;
OK, I asked this on Friday when people were thinking about going home and I
didn't get any answers... any takers?
-----Original Message-----
Sent: Friday, March 22, 2002 1:01 PM
To: Multiple recipients of list ORACLE-L
I've got a "process" which is consuming RBS to the point of failure (running out of tablespace). I have very little control of the code so using set transaction is not a possibility.
The SQL that is failing is "alter table tabname drop column colname" with no checkpoint being specified. According to the documentation, when no checkpoint integer is specified then it defaults to committing every 512 rows but I suspect this is not happening hence the rollback problem. Does anyone have experience with dropping columns on large amounts of data and specifying the checkpoint integer? If you don't specify the checkpoint does it really default to 512 like the documentation says? How would I test the checkpoint default? (We're running Oracle 8172 on Linux.)
As an alternative I'm thinking about doing an "alter table tabname set unused column colname" then manually doing an "alter table tabname drop unused columns" later with a set transaction.
Any ideas?
Steve Orr
Bozeman, MT
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Orr, Steve
INET: sorr_at_rightnow.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).
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 25 2002 - 21:43:19 CST