Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1jEYoY-0001Oi-Oq for pgsql-hackers@arkaria.postgresql.org; Wed, 18 Mar 2020 13:32:54 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1jEYoX-00087Z-GY for pgsql-hackers@arkaria.postgresql.org; Wed, 18 Mar 2020 13:32:53 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1jEYoX-00083N-3U for pgsql-hackers@lists.postgresql.org; Wed, 18 Mar 2020 13:32:53 +0000 Received: from mx0a-002e3701.pphosted.com ([148.163.147.86]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jEYoT-00060u-3R for pgsql-hackers@lists.postgresql.org; Wed, 18 Mar 2020 13:32:50 +0000 Received: from pps.filterd (m0150242.ppops.net [127.0.0.1]) by mx0a-002e3701.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 02IDWcM2018422; Wed, 18 Mar 2020 13:32:38 GMT Received: from g9t5008.houston.hpe.com (g9t5008.houston.hpe.com [15.241.48.72]) by mx0a-002e3701.pphosted.com with ESMTP id 2yum9bg6vk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 18 Mar 2020 13:32:38 +0000 Received: from G9W8454.americas.hpqcorp.net (exchangepmrr1.us.hpecorp.net [16.216.161.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by g9t5008.houston.hpe.com (Postfix) with ESMTPS id C1722A0; Wed, 18 Mar 2020 13:32:34 +0000 (UTC) Received: from G1W8107.americas.hpqcorp.net (2002:10c1:483b::10c1:483b) by G9W8454.americas.hpqcorp.net (2002:10d8:a104::10d8:a104) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Wed, 18 Mar 2020 13:32:20 +0000 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (15.241.52.11) by G1W8107.americas.hpqcorp.net (16.193.72.59) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Wed, 18 Mar 2020 13:32:20 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bHCOgG3ljMlBUSV4HXDh8itC/tsw3G/nLkDh0DT2T/8kfLXPJBCTv4NjttDgFQT3PPTupwI9eZq8LQzzOXNbxPPO1UoihztTtiELOqhl9qL57K9zYq07rAeoRiUbEAJ2Z2DojBSkDrJebAcPgkMTAugGrcjoBywIC8CKUq9OzjnEYdw8N7Q68dRGt+isGXMSXQnsegZm1dtaLhnvGu5JCU2DlthkmT/u7cZemYlziQL5mMnX2sHBeW+nID79tWP1cCPRFS9LwkBYuZAVC1Q8zG/YTFfDe+mzsf3uP8P8hDEqxHOiJZgwM8d5cCdYRDAAczgMbUTsqHghiTMvFqqmVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gds3KyK1EFBd/3lsbSwp7NhSUILGe1niyrLD9VbhwuU=; b=dz0HQutugSd19iuFu57QMwY14ZD68C1ShjkhmO7A4GZseqaO3nd3m32xhQGw2xaR5XCwDUgH9BRTwpWX0t8UvKZe+5U3MSBgeo8hLMQPi1mhLJJB14XL1HJZYCF7kBhWIPV74Qi47SILPnMPiNQB5KfSiqMPvTU70js9kiRbYH9mH6lXRq7O3gYFn6LBCALp9rGeIuaXqpflZ3/88yNpmvIowEyI3fY4fjPyPmrVuJydYWEZsB4nsHYhpLD3i7ZBcQQ2R+IDR/hHpGiTy+aemLEmPVkfh0tWflYpfUMXWVgqGPjJWryoXy0BSVnomnyaf+2z9wJq353gUONSixz9uw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=hpe.com; dmarc=pass action=none header.from=hpe.com; dkim=pass header.d=hpe.com; arc=none Received: from TU4PR8401MB1152.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:7716::20) by TU4PR8401MB0832.NAMPRD84.PROD.OUTLOOK.COM (2a01:111:e400:770f::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2814.18; Wed, 18 Mar 2020 13:32:19 +0000 Received: from TU4PR8401MB1152.NAMPRD84.PROD.OUTLOOK.COM ([fe80::902e:3e0b:45eb:a669]) by TU4PR8401MB1152.NAMPRD84.PROD.OUTLOOK.COM ([fe80::902e:3e0b:45eb:a669%8]) with mapi id 15.20.2814.021; Wed, 18 Mar 2020 13:32:19 +0000 From: "Shinoda, Noriyoshi (PN Japan A&PS Delivery)" To: Tomas Vondra CC: Alvaro Herrera , Thomas Munro , "Jamison, Kirk" , "Dean Rasheed" , PostgreSQL Hackers Subject: RE: Multivariate MCV list vs. statistics target Thread-Topic: Multivariate MCV list vs. statistics target Thread-Index: AQHVYocAex52rgHk2Ea0lE6944TkIqcliQEAgSls0XCAAIjRgIAAD01A Date: Wed, 18 Mar 2020 13:32:19 +0000 Message-ID: References: <20190801103010.hzy6kw53qm2bkr5a@development> <20190903183855.GA20601@alvherre.pgsql> <20190910222812.3o5kyf7ghie34gg2@development> <20200318123629.3zfreiiaear7354x@development> In-Reply-To: <20200318123629.3zfreiiaear7354x@development> Accept-Language: ja-JP, en-US Content-Language: ja-JP X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [180.56.252.207] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 323a5187-e02e-4b7e-caaa-08d7cb40c87d x-ms-traffictypediagnostic: TU4PR8401MB0832: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3044; x-forefront-prvs: 03468CBA43 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(376002)(366004)(39860400002)(346002)(136003)(396003)(199004)(55016002)(4326008)(966005)(186003)(26005)(52536014)(71200400001)(66476007)(66556008)(64756008)(7696005)(66946007)(76116006)(54906003)(6506007)(53546011)(2906002)(66446008)(9686003)(316002)(33656002)(6916009)(8676002)(81156014)(81166006)(8936002)(86362001)(5660300002)(478600001);DIR:OUT;SFP:1102;SCL:1;SRVR:TU4PR8401MB0832;H:TU4PR8401MB1152.NAMPRD84.PROD.OUTLOOK.COM;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1; received-spf: None (protection.outlook.com: hpe.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: eX8n7cLkYGeAFpMHmIxIavYw7LGxIixJlEVLdtmYEbADd3yah50MGEsE62hZXPJor5Eq6wAINf5SVjxWuOb23QYXkutThFvX/jLA7su7bba8LxMlYvyPobzYO2VhtquS1bHWiKvLrcQq+GE2pWjogTAwoXgQMObBrBbGbc6xFEWLf4Ih4bUk0Qv+o955C5yRbTCh8p/6in7UixEWbfI2cj54/jS/1nI1udOeE4br8e1TfzQf0zXedkw9dBTJysA1FO6KF96ZkeU6n5JgtRQlCHcd2VKRDisGaJxexnjUQexYrJ35Xf+WsWmY7u+tNVVGb5STW6Deu+nE9yhpSbe30Y1mNM1wtxINhObm3nSNa0LuCMECOQzbgmLC0CsgraGhGlepD7My0hPJEPwKOLmrEpo5mNuucejy96dZ0rZ0h/JKchMP5oGeZT4GRIcsP1UC19SGj10w5n4CuelxXzFNeahjSF32TdzovQb9HsnX9dShMOisUCoGgrCUgZesK1dU4uVzAi1Py9gC4qNtf0KoUQ== x-ms-exchange-antispam-messagedata: n2xY749mRd/qPkc2b+xjimVQW4gcQZU2mee0Cp7CWsmKJylZZ6GsS7EDjHn0Zo3Nz5ZCue5WF3WoQVikT/V4pKIDSflaErwT3eCzP3eKxf7UCKXpgerW19I/EuxYHzV7AGar+tw5z4V0TdkJBgzuxw== Content-Type: text/plain; charset="us-ascii" X-MS-Exchange-CrossTenant-Network-Message-Id: 323a5187-e02e-4b7e-caaa-08d7cb40c87d X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Mar 2020 13:32:19.6357 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 105b2061-b669-4b31-92ac-24d304d195dc X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: uiPQb8+Ldbd1oZSSygUW/9/e8zoDxbByPzRjB8huZRflV2PUvF5jd4a8rQMbwKtAlVZva+o3wkk4jCskOwHJ+SJq39uPCHCJiaKAtui/00o= X-MS-Exchange-Transport-CrossTenantHeadersStamped: TU4PR8401MB0832 X-OriginatorOrg: hpe.com Content-Transfer-Encoding: quoted-printable X-Proofpoint-UnRewURL: 2 URL's were un-rewritten MIME-Version: 1.0 X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.645 definitions=2020-03-18_06:2020-03-18,2020-03-18 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=999 mlxscore=0 priorityscore=1501 spamscore=0 malwarescore=0 lowpriorityscore=0 clxscore=1015 bulkscore=0 phishscore=0 adultscore=0 suspectscore=0 impostorscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2003020000 definitions=main-2003180066 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi,=20 >Thanks for the report. Yes, this is clearly an omission. I think it would = be better to use wording >similar to attstattarget, per the attached patch.= That is, without reference to ALTER STATISTICS and >better explaination of= what positive/negative values do. Do you agree? Thank you for your comment. I agree with the text you suggested. Regards, Noriyoshi Shinoda -----Original Message----- From: Tomas Vondra [mailto:tomas.vondra@2ndquadrant.com]=20 Sent: Wednesday, March 18, 2020 9:36 PM To: Shinoda, Noriyoshi (PN Japan A&PS Delivery) Cc: Alvaro Herrera ; Thomas Munro ; Jamison, Kirk ; Dean Rasheed ; PostgreSQL Hackers Subject: Re: Multivariate MCV list vs. statistics target Hi, On Wed, Mar 18, 2020 at 04:28:34AM +0000, Shinoda, Noriyoshi (PN Japan A&PS= Delivery) wrote: >Hello, > >I found a missing column description in the pg_statistic_ext catalog docum= ent for this new feature. >The attached patch adds a description of the 'stxstattarget' column to pg_= statistic_ext catalog's document. >If there is a better explanation, please correct it. > Thanks for the report. Yes, this is clearly an omission. I think it would b= e better to use wording similar to attstattarget, per the attached patch. T= hat is, without reference to ALTER STATISTICS and better explaination of wh= at positive/negative values do. Do you agree? regards >Regards, >Noriyoshi Shinoda > >-----Original Message----- >From: Tomas Vondra [mailto:tomas.vondra@2ndquadrant.com] >Sent: Wednesday, September 11, 2019 7:28 AM >To: Alvaro Herrera >Cc: Thomas Munro ; Jamison, Kirk=20 >; Dean Rasheed ;=20 >PostgreSQL Hackers >Subject: Re: Multivariate MCV list vs. statistics target > >On Tue, Sep 03, 2019 at 02:38:56PM -0400, Alvaro Herrera wrote: >>On 2019-Aug-01, Tomas Vondra wrote: >> >>> I'll move it to the next CF. Aside from the issues pointed by=20 >>> Kyotaro-san in his review, I still haven't made my mind about=20 >>> whether to base the use statistics targets set for the attributes.=20 >>> That's what we're doing now, but I'm not sure it's a good idea after ad= ding separate statistics target. >>> I wonder what Dean's opinion on this is, as he added the current logic. >> >>Latest patch no longer applies. Please update. And since you already=20 >>seem to have handled all review comments since it was Ready for=20 >>Committer, and you now know Dean's opinion on the remaining question,=20 >>please get it pushed. >> > >OK, I've pushed this the patch, after some minor polishing. > > >regards > >--=20 >Tomas Vondra http://www.2ndQuadrant.com=20 >PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services > > > --=20 Tomas Vondra http://www.2ndQuadrant.com=20 PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services