Re: Help me solve this cardinality puzzle
- From: "조동욱" <ukja.dion@xxxxxxxxx>
- To: "Allen, Brandon" <Brandon.Allen@xxxxxxxxxxx>
- Date: Tue, 22 Apr 2008 09:17:01 +0900
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@xxxxxxxxxxx>:
>
> 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@xxxxxxxxxxxxx
>
> [mailto:oracle-l-bounce@xxxxxxxxxxxxx] 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@xxxxxxxxx, ukja.dion@xxxxxxxxx
Blog: http://ukja.tistory.com
Wiki: http://wiki.ex-em.com
================================
- Follow-Ups:
- Re: Help me solve this cardinality puzzle
- From: Christo Kutrovsky
- References:
- Re: Help me solve this cardinality puzzle
- From: 조동욱
- RE: Help me solve this cardinality puzzle
- From: Milen Kulev
- Re: Help me solve this cardinality puzzle
- From: Greg Rahn
- RE: Help me solve this cardinality puzzle
- From: Allen, Brandon
Other related posts:
- » Help me solve this cardinality puzzle
- » Re: Help me solve this cardinality puzzle
- » Re: Help me solve this cardinality puzzle
- » RE: Help me solve this cardinality puzzle
- » RE: Help me solve this cardinality puzzle
- » Re: Help me solve this cardinality puzzle
- » RE: Help me solve this cardinality puzzle
- » Re: Help me solve this cardinality puzzle
- » Re: Help me solve this cardinality puzzle
- » RE: Help me solve this cardinality puzzle
- » Re: Help me solve this cardinality puzzle
- » Re: Help me solve this cardinality puzzle
- » RE: Help me solve this cardinality puzzle
- Re: Help me solve this cardinality puzzle
- From: Christo Kutrovsky
- Re: Help me solve this cardinality puzzle
- From: 조동욱
- RE: Help me solve this cardinality puzzle
- From: Milen Kulev
- Re: Help me solve this cardinality puzzle
- From: Greg Rahn
- RE: Help me solve this cardinality puzzle
- From: Allen, Brandon