Return-Path: <oracle-l-bounce@freelists.org>
X-Original-To: oracle-l@orafaq.com
Delivered-To: oracle-l@orafaq.com
Received: from smtp-aa.freelists.org (smtp-aa.freelists.org [23.23.80.81])
 by malta2546.startdedicated.com (Postfix) with ESMTPS id 1F9D81002D9EF0
 for <oracle-l@orafaq.com>; Tue,  2 Feb 2021 20:21:36 +0100 (CET)
Received: from turing.freelists.org (ip-10-0-0-164.ec2.internal [10.0.0.164])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
 (No client certificate requested)
 by smtp-aa.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id 5DC1945780;
 Tue,  2 Feb 2021 19:21:35 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Postfix) with ESMTP id 50BC53F973;
 Tue,  2 Feb 2021 19:21:35 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=freelists.org;
 s=turing; t=1612293695;
 bh=kIS3DMgVzd52ab5HnxgXUBoSisjoiomz5Z2RkM4BtsE=;
 h=From:Sender:Sender:From;
 b=EhyDelFjJc1R4f/Ek9eLzJwCen+YV9Ffhp4ucE6U1sC/9gUAHvTfa5Flwj3W7hftp
	 16v6TdIVBIOYULjalA/+RstutiBu7MkOKYDfxhZixpLJPg0srRq3Xby6VDq/l0iXK3
	 KjLow9jXOUY5j5NPcJE9Di9ZXNHDv+BLf+pZDBJo=
X-Virus-Scanned: by FreeLists at turing2.freelists.org
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id mnWcFlhRRjFk; Tue,  2 Feb 2021 19:21:35 +0000 (UTC)
Received: from turing.freelists.org (localhost [127.0.0.1])
 by turing.freelists.org (Postfix) with ESMTP id C2AB93F96E;
 Tue,  2 Feb 2021 19:21:31 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=freelists.org;
 s=turing; t=1612293693;
 bh=kIS3DMgVzd52ab5HnxgXUBoSisjoiomz5Z2RkM4BtsE=;
 h=From:Sender:Sender:From;
 b=UashX3QDpwgURB6T2vHuYhcBk832h/6yah8mIiA/kaW/+1h0dlAD8qSXk7vlECAjr
	 fNnmSEFZ9SThVXXB3Rliu84VFlxd692E5AvKuqgZB/E57AEz767XY8GEzmw2vkdpv+
	 rh+7cQQS3DXK+mA6ekrBiTwlwO01bfZTcKfbkkFc=
Received: with ECARTIS (v1.0.0; list oracle-l); Tue, 02 Feb 2021 19:21:30 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Postfix) with ESMTP id 309043F85E
 for <oracle-l@freelists.org>; Tue,  2 Feb 2021 19:21:30 +0000 (UTC)
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id SAGnuVwPgYe3 for <oracle-l@freelists.org>;
 Tue,  2 Feb 2021 19:21:30 +0000 (UTC)
Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [217.70.183.201])
 (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by turing.freelists.org (Postfix) with ESMTPS id D86DF3F844
 for <oracle-l@freelists.org>; Tue,  2 Feb 2021 19:21:29 +0000 (UTC)
X-Originating-IP: 209.85.218.44
Received: from mail-ej1-f44.google.com (mail-ej1-f44.google.com [209.85.218.44])
 (Authenticated sender: mailbox@pachot.net)
 by relay8-d.mail.gandi.net (Postfix) with ESMTPSA id B3AE31BF208
 for <oracle-l@freelists.org>; Tue,  2 Feb 2021 19:21:28 +0000 (UTC)
Received: by mail-ej1-f44.google.com with SMTP id jj19so4026219ejc.4
        for <oracle-l@freelists.org>; Tue, 02 Feb 2021 11:21:28 -0800 (PST)
X-Gm-Message-State: AOAM530vz+yDxbmP9ishDJvB+etr6JYKj14qXAeV0Bp0nLI2SWlWD5Tc
 N2tL7wMXpX0Wj7g3npmV53nr+cdjI3zYsmKSQb4=
X-Google-Smtp-Source: ABdhPJxOC1ii0/JJRloQ6W4ZvEtLXuydMtP4oLV7qSEUvvbYTBv5hxivtLVitr/B4E+uhw6WS+a40aoOuqJWz1HUugE=
X-Received: by 2002:a17:906:798:: with SMTP id l24mr998326ejc.92.1612293688275;
 Tue, 02 Feb 2021 11:21:28 -0800 (PST)
MIME-Version: 1.0
References: <DM6PR11MB34831A86630FF3F2F247F070F4BC9@DM6PR11MB3483.namprd11.prod.outlook.com>
 <CAGtsp8=uWbyjyA9tS7jno9F1e8hOMO+S3Rp82FxbaGvzWZgY_Q@mail.gmail.com>
 <DB7PR10MB209040C214FB69FB0BD548D085BA9@DB7PR10MB2090.EURPRD10.PROD.OUTLOOK.COM>
 <CAORjz=PO_mAt+M3=P41HsLSZmN5N7nDURuBZ8_cufNCFe1mWLg@mail.gmail.com>
 <SA2PR10MB456903641FFA617B07DACFE4A3B69@SA2PR10MB4569.namprd10.prod.outlook.com>
 <cd686c7d-1d6b-bc99-a9d8-134bd97e9301@gmail.com> <DB7PR10MB2090BE6C93F3797B03FEA88C85B59@DB7PR10MB2090.EURPRD10.PROD.OUTLOOK.COM>
 <f9e39108-4e35-a8e3-5ac6-1dd6bbc8f073@gmail.com> <CAGtsp8kT8K6FN-8mXOfODgXAgR68tQ=ctN_ggw2zgkTUdBt8uw@mail.gmail.com>
 <trinity-64039e06-8341-4cfa-965c-0d0547f7afd4-1612289659462@3c-app-webde-bap50>
In-Reply-To: <trinity-64039e06-8341-4cfa-965c-0d0547f7afd4-1612289659462@3c-app-webde-bap50>
From: Franck Pachot <franck@pachot.net>
Date: Tue, 2 Feb 2021 20:21:18 +0100
X-Gmail-Original-Message-ID: <CAK6ito2nGZa5AYjUSNYqU9jp5wyXQg6J7RRt9vhJDnm4nRfHbw@mail.gmail.com>
Message-ID: <CAK6ito2nGZa5AYjUSNYqU9jp5wyXQg6J7RRt9vhJDnm4nRfHbw@mail.gmail.com>
Subject: Re: Re: [External] : Re: Question on gathering System Statistics
To: rogel@web.de
Cc: Jonathan Lewis <jlewisoracle@gmail.com>,
 "oracle-l@freelists.org" <oracle-l@freelists.org>
Content-Type: multipart/alternative; boundary="00000000000090386005ba5f60c1"
X-archive-position: 78840
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-to: oracle-l-bounce@freelists.org
X-original-sender: franck@pachot.net
Precedence: normal
Reply-To: franck@pachot.net
List-Help: <mailto:ecartis@freelists.org?Subject=help>
List-Unsubscribe: <mailto:oracle-l-request@freelists.org?Subject=unsubscribe>
List-software: Ecartis version 1.0.0
List-Id: oracle-l <oracle-l.freelists.org>
X-List-ID: oracle-l <oracle-l.freelists.org>
List-Subscribe: <mailto:oracle-l-request@freelists.org?Subject=subscribe>
List-Owner: <mailto:>
List-post: <mailto:oracle-l@freelists.org>
List-Archive: <http://www.freelists.org/archives/oracle-l>
X-list: oracle-l
--00000000000090386005ba5f60c1
Content-Type: text/plain; charset="UTF-8"

My usual recommendation for system statistics is: keep the defaults and if
there is a query that has a better execution plan with different values of
MREADTIM, SREADTIM, MBRC then the problem is not on system statistics but
physical data model. Because there's no good access path and the CBO tries
to find the "less worse one" with blind guesses on physical reads. Either
make full scan faster (like partitioning) or index access faster (like
covering index) and the problem is solved. The right access path should not
depend on block access milliseconds because nobody knows if, at execution
time, the I/O will be a cache hit in fast memory, or queued in front of a
busy disk with many sessions waiting for it.
Franck.

On Tue, Feb 2, 2021 at 7:14 PM <rogel@web.de> wrote:

>
> Jonathan,
>
> since no one here doubts your authority, you are surely right with that
> (per "argumentum ad verecundiam" ).
> However, my knowledge of Latin, which used to be quite profound in school
> for nine years tells me that you are wrong with that.
>
> Regards
> Matthias
>
> *Gesendet:* Dienstag, 02. Februar 2021 um 18:19 Uhr
> *Von:* "Jonathan Lewis" <jlewisoracle@gmail.com>
> *An:* "oracle-l@freelists.org" <oracle-l@freelists.org>
> *Betreff:* Re: [External] : Re: Question on gathering System Statistics
>
> Splitting hairs here, but:
>
> "argument from authority" is "argumentum ab auctoritate"   (e.g. "from
> year of experiance with the CBO I can assure you that gathering systems
> stats is not a good idea ... ").
>
> "argumentum ad verecundiam" is "appeal to authority". (e.g. Nigel Bayliss
> is the PM for the optimizer and he says you don't need to gather system
> stats ...).
>
>
> Regards
> Jonathan Lewis
>
>
> On Tue, 2 Feb 2021 at 15:33, Mladen Gogala <gogala.mladen@gmail.com>
> wrote:
>
>> I am one of those guys who has real problems with authority. When I was a
>> kid, I challenged my math teacher to prove the Pythagora theorem and I told
>> her that I don't believe it without proof. She had my parents come to
>> school. That nasty attitude was further reinforced by me getting a Bsc in
>> mathematics few years later. Latin name for the argument from authority is
>> "argumentum ad verecundiam" and is considered to be a logical error since
>> the Roman times. I need some kind of explanation why is that so. I have
>> nothing but respect for Maria, Nigel and Jonathan, but I need some kind of
>> explanation. BTW, my favorite movie of all times is "Life of Brian", which
>> also has something to do with challenging authority.
>>
> -- http://www.freelists.org/webpage/oracle-l

--00000000000090386005ba5f60c1
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>My usual recommendation for system statistics is: kee=
p the defaults and if there is a query that has a better execution plan wit=
h different values of MREADTIM, SREADTIM, MBRC then the problem is not on s=
ystem statistics but physical data model. Because there&#39;s no good acces=
s path and the CBO tries to find the &quot;less worse one&quot; with blind =
guesses on physical reads. Either make full scan faster (like partitioning)=
 or index access faster (like covering index) and the problem is solved. Th=
e right access path should not depend on block access milliseconds because =
nobody knows if, at execution time, the I/O will be a cache hit in fast mem=
ory, or queued in front of a busy disk with many sessions waiting for it.<b=
r></div><div>Franck.<br></div></div><br><div class=3D"gmail_quote"><div dir=
=3D"ltr" class=3D"gmail_attr">On Tue, Feb 2, 2021 at 7:14 PM &lt;<a href=3D=
"mailto:rogel@web.de">rogel@web.de</a>&gt; wrote:<br></div><blockquote clas=
s=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid r=
gb(204,204,204);padding-left:1ex"><div><div style=3D"font-family:Verdana;fo=
nt-size:12px"><div>=C2=A0</div>

<div>Jonathan,</div>

<div>=C2=A0</div>

<div>since no one here doubts your authority, you are surely right with tha=
t (per &quot;argumentum ad verecundiam&quot; <img alt=3D"" src=3D"https://c=
dn.webde.de/cdn/mail/client/wicket/resource/static-res/---/mc/img/smileys/d=
efault/s_01.gif" style=3D"margin: 4px 2px 0px; vertical-align: bottom;">).<=
/div>

<div>However, my knowledge of Latin, which used to be quite profound in sch=
ool for nine years tells me that you are wrong with that.</div>

<div>
<div>=C2=A0</div>

<div>Regards</div>

<div>Matthias</div>

<div>=C2=A0
<div name=3D"quote" style=3D"margin:10px 5px 5px 10px;padding:10px 0px 10px=
 10px;border-left:2px solid rgb(195,217,229)">
<div style=3D"margin:0px 0px 10px"><b>Gesendet:</b>=C2=A0Dienstag, 02. Febr=
uar 2021 um 18:19 Uhr<br>
<b>Von:</b>=C2=A0&quot;Jonathan Lewis&quot; &lt;<a href=3D"mailto:jlewisora=
cle@gmail.com" target=3D"_blank">jlewisoracle@gmail.com</a>&gt;<br>
<b>An:</b>=C2=A0&quot;<a href=3D"mailto:oracle-l@freelists.org" target=3D"_=
blank">oracle-l@freelists.org</a>&quot; &lt;<a href=3D"mailto:oracle-l@free=
lists.org" target=3D"_blank">oracle-l@freelists.org</a>&gt;<br>
<b>Betreff:</b>=C2=A0Re: [External] : Re: Question on gathering System Stat=
istics</div>

<div name=3D"quoted-content">
<div>
<div>
<div>=C2=A0</div>

<div>Splitting hairs here, but:</div>

<div>=C2=A0</div>

<div>&quot;argument from authority&quot; is &quot;argumentum ab auctoritate=
&quot;=C2=A0=C2=A0 (e.g. &quot;from year of experiance with the CBO I can a=
ssure you that gathering systems stats is not a good idea ... &quot;).</div=
>

<div>=C2=A0</div>

<div>&quot;argumentum ad verecundiam&quot; is &quot;appeal to authority&quo=
t;. (e.g. Nigel Bayliss is the PM for the optimizer and he says you don&#39=
;t need to gather system stats ...).</div>

<div>=C2=A0</div>

<div>=C2=A0</div>

<div>Regards</div>

<div>Jonathan Lewis</div>

<div>=C2=A0</div>
</div>
=C2=A0

<div class=3D"gmail_quote">
<div class=3D"gmail_attr">On Tue, 2 Feb 2021 at 15:33, Mladen Gogala &lt;<a=
 href=3D"mailto:gogala.mladen@gmail.com" target=3D"_blank">gogala.mladen@gm=
ail.com</a>&gt; wrote:</div>

<blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-=
left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<p>I am one of those guys who has real problems with authority. When I was =
a kid, I challenged my math teacher to prove the Pythagora theorem and I to=
ld her that I don&#39;t believe it without proof. She had my parents come t=
o school. That nasty attitude was further reinforced by me getting a Bsc in=
 mathematics few years later. Latin name for the argument from authority is=
 &quot;argumentum ad verecundiam&quot; and is considered to be a logical er=
ror since the Roman times. I need some kind of explanation why is that so. =
I have nothing but respect for Maria, Nigel and Jonathan, but I need some k=
ind of explanation. BTW, my favorite movie of all times is &quot;Life of Br=
ian&quot;, which also has something to do with challenging authority.</p>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</div></div></div>
--
<a href=3D"http://www.freelists.org/webpage/oracle-l" target=3D"_blank">htt=
p://www.freelists.org/webpage/oracle-l</a>


</blockquote></div>

--00000000000090386005ba5f60c1--
--
http://www.freelists.org/webpage/oracle-l


