off the top of my head, I would think that if you can change the code
enough to do a "set unused" that it would make sense. That way, you can
time the actual drop of the column for non-critical hours.
In general, I'd question why the drop column was coded the way it was,
since it could (as it appears to be doing) have a significant impact on
performance
- "Orr, Steve" <sorr_at_rightnow.com> wrote:
> 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).
> --
> 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).
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Rachel Carmichael
INET: wisernet100_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).
Received on Tue Mar 26 2002 - 07:23:28 CST