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: rollout of DB changes to production...

Re: rollout of DB changes to production...

From: Joseph S. Testa <teci_at_the-testas.net>
Date: Thu, 07 Jun 2001 16:26:35 -0700
Message-ID: <F001.003215EE.20010607145600@fatcity.com>

Rich, i'm with you.

dropping a column can be extremely time consuming depending on number of rows.

just go ahead and add the cols to prod, if you need to back it out, mark them unused and then drop them during a slow time(i know you're 24x7 but look when its the slowest, 3AM?).

joe
Richard Huntley wrote:
>
> I'm just wondering if the best way to handle a rollback of added columns is
> to alter the table to mark the column as unused and then drop the unused
> columns via ALTER TABLE t1 DROP UNUSED COLUMNS; or would the ideal thing be
> to export the table(s) before adding the columns and then reimport, although
> that could get very sticky since I'd be dealing with the whole table and
> associated constraints instead of just the columns I'm trying to remove. I
> basically want to have both a rollout and a rollback script for an upcoming
> rather large move to production. Your input would be greatly appreciated.
>
> TIA,
>
> Richard Huntley
> E-mail: rhuntley_at_mindleaders.com

-- 
Joe Testa  http://www.oracle-dba.com
Performing Remote DBA Services, need some backup DBA support?
For Sale: Oracle-dba.com domain, its not going cheap but feel free to
ask :)
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Joseph S. Testa
  INET: teci_at_the-testas.net

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 Thu Jun 07 2001 - 18:26:35 CDT

Original text of this message

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