From oracle-l-bounce@freelists.org  Wed Feb  2 07:30:11 2005
Return-Path: <oracle-l-bounce@freelists.org>
Received: from air891.startdedicated.com (root@localhost)
 by orafaq.com (8.12.10/8.12.10) with ESMTP id j12DUBPn013894
 for <oracle-l@orafaq.com>; Wed, 2 Feb 2005 07:30:11 -0600
X-ClientAddr: 206.53.239.180
Received: from turing.freelists.org (freelists-180.iquest.net [206.53.239.180])
 by air891.startdedicated.com (8.12.10/8.12.10) with ESMTP id j12DUBem013890
 for <oracle-l@orafaq.com>; Wed, 2 Feb 2005 07:30:11 -0600
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id EBB066C2D3;
 Wed,  2 Feb 2005 07:29:15 -0500 (EST)
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 25283-06; Wed, 2 Feb 2005 07:29:15 -0500 (EST)
Received: from turing (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 6F2416C257;
 Wed,  2 Feb 2005 07:29:15 -0500 (EST)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
        s=beta; d=gmail.com;
        h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references;
        b=tLOXTTFh7bB2lX1bCTrY0XGQOJ8gOXyRrIvBjcluezSFumnYRGjb8XYa1WJFLsZj8a1RZCouiEDVAPxm2BuS2z5D4esCIRe1b4D5Uif34FqilBwTdqYBaPSYFQL/Dzmef1FsjW/mlE7rWF+qfdXKcoCMDWlKeIUQK+j4AxRSzW8=
Message-ID: <9177895d050202042720bfadb8@mail.gmail.com>
Date: Wed, 2 Feb 2005 07:27:35 -0500
From: rjamya <rjamya@gmail.com>
To: juancarlosreyesp@gmail.com,
        Oracle Discussion List <oracle-l@freelists.org>
Subject: Re: how to monitor the progress of inserts
In-Reply-To: <cd4305c1050201150354e0d1fc@mail.gmail.com>
Mime-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 8bit
References: <D42C14B2E3F2B74DB41D5B6B2E2B992F01931FEF@pegasus.lawaudit.com>
	 <41FFFA47.50407@centrexcc.com> <1107298218l.9692l.0l@medo.noip.com>
	 <cd4305c1050201150354e0d1fc@mail.gmail.com>
X-archive-position: 15655
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-To: oracle-l-bounce@freelists.org
X-original-sender: rjamya@gmail.com
Precedence: normal
Reply-To: rjamya@gmail.com
X-list: oracle-l
X-Virus-Scanned: by amavisd-new-20030616-p9 (Debian) at avenirtech.net
X-Spam-Checker-Version: SpamAssassin 2.60 (1.212-2003-09-23-exp) on 
 air891.startdedicated.com
X-Spam-Status: No, hits=0.0 required=5.0 tests=none autolearn=ham version=2.60
X-Spam-Level: 

... EXCEPT that when you use dbms_output,  it is visible to you ONLY
AFTER the whole process is finished. Which doesn't help the OP at all.

Raj


On Tue, 1 Feb 2005 19:03:31 -0400, Juan Carlos Reyes Pacheco
<juancarlosreyesp@gmail.com> wrote:
> I think this solves the problem if the code can be modified, without
> harming performance.
> 
> SQL> CREATE or replace PACKAGE TEST
>   2    IS
>   3   nCount NUMBER :=0;
>   4  END;
>   5  /
> 
> SQL> create table test2 as select * from dba_objects where 1=0;
> SQL> select count(*) from dba_objects;
> 
>  COUNT(*)
> ---------
>     29541
> 
> SQL> begin
>   2  INSERT INTO test2 select * from dba_objects ;
>   3  test.ncount := test.ncount + sql%rowcount;
>   4  dbms_output.put_line('total inserted:'||test.nCount);
>   5  rollback;
>   6  end;
>   7  /
> total inserted:29541
> --
> http://www.freelists.org/webpage/oracle-l
> 


-- 
------------------------------
select standard_disclaimer from company_requirements where category =
'MANDATORY';
--
http://www.freelists.org/webpage/oracle-l

