Re: Snapshot Too Old

From: Steve Long <steven.long_at_erols.com>
Date: Thu, 12 Apr 2001 16:44:22 -0400
Message-ID: <9b5485$cep$1_at_bob.news.rcn.net>


without addressing the snapshot too old problem, could you use either of export/import or the SQL*Plus copy command? these are probably much faster than the approach you identify below.

steve long
"The world's best technology strategist." (TM)

<u518615722_at_spawnkill.ip-mobilphone.net> wrote in message news:l.987089246.1892639160_at_[198.138.198.252]...
> I have to move 100m rows to another table
> use select/insert in PL/SQL. We have 10 rollback
> segments and a huge RBS tablespace, plenty
> room for rollback segment to grow.
>
> At first, we try to commit every 200 rows, and
> we always got the error message snapshot too
> old after about 200,000 rows, we begin to reduce
> the times of commit,commit every 2000, 20,000 and
> 200,000 and now 2,000,000 rows. It is still running
> and it takes a long time to know whether it will work
> or not.
>
> Could somebody tell me why commit too often will
> also cause the error snapshot too old?
>
> How do you decide how many rows to commit?
>
> Thank you very much for your help.
>
>
>
>
>
>
>
>
> --
> Sent by dbadba62 from hotmail subpart of com
> This is a spam protected message. Please answer with reference header.
> Posted via http://www.usenet-replayer.com/cgi/content/new
Received on Thu Apr 12 2001 - 22:44:22 CEST

Original text of this message