Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Q: batch delete in an oltp environment ?

Re: Q: batch delete in an oltp environment ?

From: Martin Haltmayer <Martin.Haltmayer_at_0800-einwahl.de>
Date: Wed, 23 Feb 2000 03:56:12 +0200
Message-ID: <38B33E3C.991E64E4@0800-einwahl.de>


Sure, if the two tables have the same structure (or two structures that can be merged) you could use one merged table instead with a further flag indicating if this transaction is settled or not. You would then just update the flag but not move the data.

Martin

tedchyn_at_yahoo.com wrote:
>
> Sir, I have two tables. trans table contains unsettled transaction.
> archived table constain settled transaction. a batch process select from
> trans and settle them. after settlement, these rows will transfer to
> archived table by inserting into archive table and delete from trans
> table.
> mass deletion settled transaction from trans table have performance
> impact on the incoming transaction(insert into trans).
>
> Qestion, is there an alternative to this solution ?
>
> thanks in advance
> ted chyn
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
Received on Tue Feb 22 2000 - 19:56:12 CST

Original text of this message

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