Mailing List
Home
Forum Home
Oracle List - by freelists.org
Oracle on SUSE Linux - Runing Oracle on SUSE Linux
Oracle database error code ...
www.freelists.org
Subjects
ORA 12540: TNS:internal limit restriction exceeded
ORA 12838 please : Is possible to append two times to the same table befo
ORA 12838 please : Is possible to append two times to the same table before
ora 04031
ora 12500 on windows
ORA 32004: obsolete and/or deprecated parameter(s) specified
ORA 01925: maximum of 30 enabled roles exceeded
ORA 01925: maximum of 30 enabled roles exceeded
ora 12500 on windows
ORA 01650, one idea
ORA 01650
ORA 4030
ORA 12838 please : Is possible to append two times to thesametable before do
ORA 12838 please : Is possible to append two times to thesame table before d
ORA 01536
ORA 03113 end of file on communication channel
ORA 32004: obsolete and/or deprecated parameter(s) specified
ORA 00600:
ORA 00020: maximum number of processes (%s) exceeded
ORA 01925: maximum of 30 enabled roles exceeded
ORA 3113 while creating a cluster database 9201 RAC on Linux with OCFS
ora 12500 on windows
ora 12500 on windows
ora 12500 on windows
ORA 01650, one idea
ora 12500 on windows
ora 12500 on windows
ora 12500 on windows
ORA 2000 Error Using DBMS STATS GATHER SCHEMA STATS
ORA 01650, one idea
ORA 01650, one idea
ORA 01650, one idea
ORA 01650
ORA 01650
Subject: ora 01031
ORA 4030
ORA 4030
ORA 06502: PL/SQL: numeric or value error: Bulk Bind: Truncated Bind
Subject: Re: ORA 01722 invalid number
 
Dynamic Sampling: some questions about the guts

Dynamic Sampling: some questions about the guts

2007-12-01       - By Rajeev Prabhakar

 Back
Reply:     1     2     3     4     5     6  

Charles

Unless you have already tried it, could you try the following
and let us know the results :

a) gathering stats with compute OR high sample (not AUTO).
b) use dbms_stats.set_column_stats for the relevant column.

-Rajeev

On Dec 1, 2007 5:34 PM, Charles Schultz <sacrophyte@(protected)> wrote:

>
>
> The interesting part is that if I calc stats (estimate_percent => null),
> the CBO chooses an index for C3. We do not have an index for all 4 columns,
> but under certain circumstances, the CBO will choose that other index for
> C2, using three of the four columns in an access path, and CURR_REC_IND as a
> filter. Those of you with astute eyes will notice the VPD column and
> correctly assume we are using FGAC as well. That ends up being the most
> optimal path, and I trying to understand why. Obviously, there is a whole
> lot more information I could share, but first I wanted to understand how
> dynamic sampling was playing a part in this.
>
>
> Rajeev, to answer your questions:
> 1) Have tried with bucket 1, default and 254.
> 2) exact
> 3) Yes, all the time, every day. =) The parameters depend on what I am
> trying to do. I like to calc stats in these cases to give the CBO as much
> info as possible.
>
> Not sure how those questions/answers help, but there you go.
>
>
> Thanks all,
>
>
> --
> Charles Schultz

<div>Charles</div>
<div>&nbsp;</div>
<div>Unless you have already tried it, could you try the following&nbsp; </div>
<div>and let us know the results :</div>
<div>&nbsp;</div>
<div>a) gathering stats with compute OR high sample (not AUTO).</div>
<div>b) use dbms_stats.set_column_stats for the relevant column.</div>
<div>&nbsp;</div>
<div>-Rajeev<br><br></div>
<div class="gmail_quote">On Dec 1, 2007 5:34 PM, Charles Schultz &lt;<a href=
"mailto:sacrophyte@(protected)">sacrophyte@(protected)</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0
.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="Ih2E3d"><br>&nbsp;</div>The interesting part is that if I calc
stats (estimate_percent =&gt; null), the CBO chooses an index for C3. We do not
have an index for all 4 columns, but under certain circumstances, the CBO will
choose that other index for C2, using three of the four columns in an access
path, and CURR_REC_IND as a filter. Those of you with astute eyes will notice
the VPD column and correctly assume we are using FGAC as well. That ends up
being the most optimal path, and I trying to understand why. Obviously, there
is a whole lot more information I could share, but first I wanted to understand
how dynamic sampling was playing a part in this.
<br><br><br>Rajeev, to answer your questions:<br>1) Have tried with bucket 1,
default and 254.<br>2) exact<br>3) Yes, all the time, every day. =) The
parameters depend on what I am trying to do. I like to calc stats in these
cases to give the CBO as much info as possible.
<br><br>Not sure how those questions/answers help, but there you go.<br><br><br
>Thanks all,<br><br clear="all"><br>-- <br><font color="#888888">Charles Schultz
</font></blockquote></div><br>