Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> 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_at_rs.lvPlease see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
![]() |
![]() |