Re: Help me solve this cardinality puzzle

From: 조동욱 <ukja.dion_at_gmail.com>
Date: Tue, 22 Apr 2008 09:17:01 +0900
Message-ID: <43c2e3d60804211717g2515d3b8vf1f395ced08c2e4a@mail.gmail.com>


I think that the discussion is a way out of the original topic. The op said that he was seeing the bizaare cardinality estimation from "explain plain" only.
Not from actual query execution.
Explain plan never peek binds(AFAIK), so bind peeking might have nothing to do with this problem.
Point me if got wrong.

Anyway, Christo, would you mind posting the DDL script for your table and corresponding indexes?

2008/4/22, Allen, Brandon <Brandon.Allen_at_oneneck.com>:
>
> Great tip Greg, thanks. In searching for more on this +PEEKED_BINDS
> parameter, I found there is also an 'ADVANCED' option available that
> includes the peeked bind values as well as all the other information
> included with the 'ALL' option and also includes the outline
> information. Here is a post about it on Jonathan Lewis' blog:
>
> http://jonathanlewis.wordpress.com/2008/03/06/dbms_xplan3/
>
> Regards,
> Brandon
>
>
> -----Original Message-----
> From: oracle-l-bounce_at_freelists.org
>
> [mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Greg Rahn
>
> select * from
> table(dbms_xplan.display_cursor(<sql_id>,<child#>,'+PEEKED_BINDS'));
>
>
>
>
>
> Privileged/Confidential Information may be contained in this message or
> attachments hereto. Please advise immediately if you or your employer do not
> consent to Internet email for messages of this kind. Opinions, conclusions
> and other information in this message that do not relate to the official
> business of this company shall be understood as neither given nor endorsed
> by it.
>
>

-- 
================================
EXEM. The Performance Artist Group
DB기술본부/ 교육컨텐츠팀 / 수석 조 동욱
서울시 강남구 역삼동 아주빌딩 902호
Tel: 02-6203-6300
ukja_at_ex-em.com, ukja.dion_at_gmail.com
Blog: http://ukja.tistory.com
Wiki: http://wiki.ex-em.com
================================
--
http://www.freelists.org/webpage/oracle-l
Received on Mon Apr 21 2008 - 19:17:01 CDT

Original text of this message