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: how to monitor the progress of inserts

Re: how to monitor the progress of inserts

From: david wendelken <davewendelken_at_earthlink.net>
Date: Tue, 1 Feb 2005 13:07:10 -0800 (PST)
Message-ID: <2886366.1107292030738.JavaMail.root@donald.psp.pas.earthlink.net>


Niall,

Very nice explanatory script. Kudos.

>SQL> insert into t1
> 2 select rn
> 3 from (select rownum rn,'x' from all_objects,all_objects where rownum < 1001
>);

>1000 rows created.

>SQL> rollback;

>Rollback complete.

>SQL> select table_name,inserts,updates,deletes from useR_tab_modifications;

>TABLE_NAME INSERTS UPDATES DELETES

------------------------------ ---------- ---------- ----------

>T1 1000 0 0

>precise but wrong and certainly a violation of relational rules.

It's not wrong at all. There were 1000 inserts and it showed you that. It's not complete - in that there were also 1000 rows rolled back - but it's not wrong.

It's not saying that there are 1000 rows in the table, just that 1000 inserts have been made.

--
http://www.freelists.org/webpage/oracle-l
Received on Tue Feb 01 2005 - 16:09:50 CST

Original text of this message

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