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 compare two different SQL executions plans (question is more deeper then seams from first look)?

Re: How to compare two different SQL executions plans (question is more deeper then seams from first look)?

From: Edgar Chupit <edgar.chupit_at_rs.lv>
Date: Wed, 30 Jun 2004 07:24:00 +0300
Message-ID: <771460250.20040630072400@rs.lv>


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_at_rs.lv


----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com

To unsubscribe send email to: oracle-l-request_at_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
Received on Tue Jun 29 2004 - 23:21:18 CDT

Original text of this message

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