From oracle-l-bounce@freelists.org Tue Jun 29 16:46:17 2004 Return-Path: Received: from air189.startdedicated.com (root@localhost) by orafaq.com (8.11.6/8.11.6) with ESMTP id i5TLju117654 for ; Tue, 29 Jun 2004 16:46:06 -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 i5TLjk617631 for ; Tue, 29 Jun 2004 16:45:56 -0500 Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 650C772C8C6; Tue, 29 Jun 2004 16:28: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 18523-57; Tue, 29 Jun 2004 16:28:20 -0500 (EST) Received: from turing (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 05A5D72C85B; Tue, 29 Jun 2004 16:28:15 -0500 (EST) Received: with ECARTIS (v1.0.0; list oracle-l); Tue, 29 Jun 2004 16:26:40 -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 1122F72C239 for ; Tue, 29 Jun 2004 16:26: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 18523-11 for ; Tue, 29 Jun 2004 16:26:39 -0500 (EST) Received: from ross.alise.lv (ross.alise.lv [194.19.227.242]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 68AC972C21B for ; Tue, 29 Jun 2004 16:26:39 -0500 (EST) In-Reply-To: <907994704.20040629235532@rs.lv> To: Edgar Chupit Cc: oracle-l@freelists.org Subject: Re: How to compare two different SQL executions plans (question is more deeper then seams from first look)? MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.5.2 June 01, 2004 Message-ID: From: J.Velikanovs@alise.lv Date: Wed, 30 Jun 2004 00:41:48 +0300 X-MIMETrack: Serialize by Router on ROSS/IT ALISE/LV(Release 5.0.11 |July 24, 2002) at 2004.06.30 00:41:52, Serialize complete at 2004.06.30 00:41:52 Content-type: text/plain X-Virus-Scanned: by amavisd-new at freelists.org Content-Transfer-Encoding: 8bit X-archive-position: 4008 X-ecartis-version: Ecartis v1.0.0 Sender: oracle-l-bounce@freelists.org Errors-To: oracle-l-bounce@freelists.org X-original-sender: J.Velikanovs@alise.lv Precedence: normal Reply-To: oracle-l@freelists.org X-list: oracle-l X-Virus-Scanned: by amavisd-new at freelists.org Edgar, I don't doubt we need to care about LIO from concurrency/scalability point of view. But for CPU utilization we can’t use LIOs statistics. Jurijs Edgar Chupit 29.06.2004 23:55 Please respond to Edgar Chupit To: J.Velikanovs@alise.lv cc: oracle-l@freelists.org Subject: Re: How to compare two different SQL executions plans (question is more deeper then seams from first look)? Hello Jurijs, JVal> Fastest from two SQL (or SQL execution plans) will be SQL with lower LIO JVal> indicator. We still have to remember about "scalability" (latches/locks), correct me if I'm wrong, but you still have to chose statement with lowest lio, because even if the cpu_usage is the same as with statement with larger lio count, the statement with smaller lio count will scale better. You can use package similar to T.Kytes run_stats or directly query v$mystat to see other meaningful characteristics. I guess rule to minimize lio count can still apply, however as we all know, there is no golden rules that apply to all possible cases. -- Best regards, Edgar mailto:edgars.cupits@rs.lv ---------------------------------------------------------------- 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 -----------------------------------------------------------------