From oracle-l-bounce@freelists.org Wed Apr 21 16:07:44 2004 Return-Path: Received: from air189.startdedicated.com (root@localhost) by orafaq.com (8.11.6/8.11.6) with ESMTP id i3LL7iQ24065 for ; Wed, 21 Apr 2004 16:07:44 -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 i3LL7i624060 for ; Wed, 21 Apr 2004 16:07:44 -0500 Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id ED17A72DAD8; Wed, 21 Apr 2004 16:00:40 -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 21148-44; Wed, 21 Apr 2004 16:00:40 -0500 (EST) Received: from turing (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 44BBA72DA78; Wed, 21 Apr 2004 16:00:31 -0500 (EST) Received: with ECARTIS (v1.0.0; list oracle-l); Wed, 21 Apr 2004 15:59:12 -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 A9B0D72D173 for ; Wed, 21 Apr 2004 15:59:05 -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 21148-21 for ; Wed, 21 Apr 2004 15:59:05 -0500 (EST) Received: from smtp.wangtrading.com (smtp.wangtrading.com [167.206.68.5]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id BEB6472D0CC for ; Wed, 21 Apr 2004 15:59:04 -0500 (EST) Received: from mladen.wangtrading.com (Not Verified[192.168.3.47]) by smtp.wangtrading.com with NetIQ MailMarshal (v5.5.5.8) id ; Wed, 21 Apr 2004 17:08:56 -0400 Received: from mladen (localhost.localdomain [127.0.0.1]) by mladen.wangtrading.com (8.12.8/8.12.8) with ESMTP id i3LLAf8k005451 for ; Wed, 21 Apr 2004 17:10:41 -0400 Date: Wed, 21 Apr 2004 17:10:41 -0400 From: Mladen Gogala To: oracle-l@freelists.org Subject: Re: Re: performance when inserting into child tables Message-ID: <20040421211041.GC5419@mladen.wangtrading.com> References: <20040421193216.DDPB19374.lakermmtao06.cox.net@smtp.central.cox.net> <021201c427e0$9dbbbaa0$7102a8c0@Primary> Mime-Version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <021201c427e0$9dbbbaa0$7102a8c0@Primary> (from jonathan@jlcomp.demon.co.uk on Wed, Apr 21, 2004 at 16:38:30 -0400) X-Mailer: Balsa 2.0.17 Lines: 27 X-Virus-Scanned: by amavisd-new at freelists.org X-archive-position: 3502 X-ecartis-version: Ecartis v1.0.0 Sender: oracle-l-bounce@freelists.org Errors-To: oracle-l-bounce@freelists.org X-original-sender: mladen@wangtrading.com Precedence: normal Reply-To: oracle-l@freelists.org X-list: oracle-l X-Virus-Scanned: by amavisd-new at freelists.org On 04/21/2004 04:38:30 PM, Jonathan Lewis wrote: > Two: > I've never checked this, but when you do the insert/select on > the child, it is possible that the normal array insert optimization > (which reduces the volume of undo and redo significantly) cannot > take place because of the intervening integrity test on each row. > In this case, it isn't the child insert that is slow, it's the parent > insert that's quick. (I'll check this some time, and try to remember > to report back). Jonathan, just how will you set about checking that assumption? The only difference, as far as I can see would be a different path through the oracle executable. Are you linking with a profiler or running things through the dbx? The only tool that I have that can potentially apply is tracing with the event 10053. Do you expect the SQL execution path different in the optimizer? I'm extremely curious about the method for checking things like that. Despite all my years of experience, I wasn't able to come up with anything that would allow me to analyze path through the oracle executable itself, although God knows that I tried some rather nasty things, some of which have included the "dis" command, but I didn't become any smarter. -- Mladen Gogala Oracle DBA Note: This message is for the named person's use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not, directly or indirectly, use, disclose, distribute, print, or copy any part of this message if you are not the intended recipient. Wang Trading LLC and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorized to state them to be the views of any such entity. ---------------------------------------------------------------- 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 -----------------------------------------------------------------