From oracle-l-bounce@freelists.org Wed Jul 7 17:08:48 2004 Return-Path: Received: from air189.startdedicated.com (root@localhost) by orafaq.com (8.11.6/8.11.6) with ESMTP id i67M8XJ00487 for ; Wed, 7 Jul 2004 17:08:43 -0500 X-ClientAddr: 206.53.239.180 Received: from turing.freelists.org (freelists-180.iquest.net [206.53.239.180]) by air189.startdedicated.com (8.11.6/8.11.6) with ESMTP id i67M8M600443 for ; Wed, 7 Jul 2004 17:08:32 -0500 Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 94FBE72C23D; Wed, 7 Jul 2004 16:49:44 -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 17358-86; Wed, 7 Jul 2004 16:49:44 -0500 (EST) Received: from turing (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id E3CDC72C11C; Wed, 7 Jul 2004 16:49:43 -0500 (EST) Received: with ECARTIS (v1.0.0; list oracle-l); Wed, 07 Jul 2004 16:48:20 -0500 (EST) X-Original-To: oracle-l@freelists.org Delivered-To: oracle-l@freelists.org Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 6ECA672C0F9 for ; Wed, 7 Jul 2004 16:48:20 -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 17106-76 for ; Wed, 7 Jul 2004 16:48:20 -0500 (EST) Received: from MXR-5.estpak.ee (ld3.estpak.ee [194.126.101.102]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 11E5572C046 for ; Wed, 7 Jul 2004 16:48:20 -0500 (EST) Received: from porgand (213-35-249-191-dsl.kvm.estpak.ee [213.35.249.191]) by MXR-5.estpak.ee (Postfix) with SMTP id D02F545140 for ; Thu, 8 Jul 2004 01:12:08 +0300 (EEST) Message-ID: <007101c4646f$71a85060$bff923d5@porgand> From: =?ISO-8859-1?Q?Tanel_P=F5der?= To: References: Subject: Re: v$sql problem Date: Thu, 8 Jul 2004 01:12:07 +0300 MIME-Version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 X-Virus-Scanned: by amavisd-new-20030616-p7 (Debian) at neti.ee X-Virus-Scanned: by amavisd-new at freelists.org X-archive-position: 4601 X-ecartis-version: Ecartis v1.0.0 Sender: oracle-l-bounce@freelists.org Errors-To: oracle-l-bounce@freelists.org X-original-sender: tanel.poder.003@mail.ee Precedence: normal Reply-To: oracle-l@freelists.org X-list: oracle-l X-Virus-Scanned: by amavisd-new at freelists.org > I am testing the insert performance into a table from 2 sessions both > reading from same table. I am inserting in a batch of 1000 rows at a > time and in 1 session we are inserting 1000 batches so total 1M rows > inserted. Also we are doing commit after every 1000 rows. When I check > the view v$sql and run statement from only 1 session it shows executions > as 1000 (for 1000 batches) and increment in 1000 for each run. But when > I run both sessions concurrently it only increases the execution by 1010 > instead of 2000. Is this the normal stats or it is not showing execution > stats properly? I think Oracle is doing latchless updates to these execution counts to avoid contention/performance issues, that's how few of the incrementations might get lost. However, losing nearly half of the updates seems somewhat unlikely for a two session operation, so there might be some other issues. Btw, what's your session_cached_cursors and cursor_space_for_time parameter's values? And which version/platform? Tanel. ---------------------------------------------------------------- Please see the official ORACLE-L FAQ: http://www.orafaq.com ---------------------------------------------------------------- To unsubscribe send email to: oracle-l-request@freelists.org put 'unsubscribe' in the subject line. -- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------