pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Shinoda, Noriyoshi (PN Japan A&PS Delivery) <noriyoshi.shinoda@hpe.com>
To: Tomas Vondra <tomas.vondra@2ndquadrant.com>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Thomas Munro <thomas.munro@gmail.com>
Cc: Jamison, Kirk <k.jamison@jp.fujitsu.com>
Cc: Dean Rasheed <dean.a.rasheed@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Subject: RE: Multivariate MCV list vs. statistics target
Date: Wed, 18 Mar 2020 13:32:19 +0000
Message-ID: <TU4PR8401MB115282012425E9300B472EC7EEF70@TU4PR8401MB1152.NAMPRD84.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <20200318123629.3zfreiiaear7354x@development>
References: <20190801103010.hzy6kw53qm2bkr5a@development>
	<20190903183855.GA20601@alvherre.pgsql>
	<20190910222812.3o5kyf7ghie34gg2@development>
	<TU4PR8401MB115254BB9F5C19D3B8D8F7F7EEF70@TU4PR8401MB1152.NAMPRD84.PROD.OUTLOOK.COM>
	<20200318123629.3zfreiiaear7354x@development>

Hi, 

>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] 
Sent: Wednesday, March 18, 2020 9:36 PM
To: Shinoda, Noriyoshi (PN Japan A&PS Delivery) <noriyoshi.shinoda@hpe.com>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>; Thomas Munro <thomas.munro@gmail.com>; Jamison, Kirk <k.jamison@jp.fujitsu.com>; Dean Rasheed <dean.a.rasheed@gmail.com>; PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
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 document 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 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?


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 <alvherre@2ndquadrant.com>
>Cc: Thomas Munro <thomas.munro@gmail.com>; Jamison, Kirk 
><k.jamison@jp.fujitsu.com>; Dean Rasheed <dean.a.rasheed@gmail.com>; 
>PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
>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 
>>> Kyotaro-san in his review, I still haven't made my mind about 
>>> whether to base the use statistics targets set for the attributes. 
>>> That's what we're doing now, but I'm not sure it's a good idea after adding 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 
>>seem to have handled all review comments since it was Ready for 
>>Committer, and you now know Dean's opinion on the remaining question, 
>>please get it pushed.
>>
>
>OK, I've pushed this the patch, after some minor polishing.
>
>
>regards
>
>-- 
>Tomas Vondra                  http://www.2ndQuadrant.com 
>PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
>
>
>



-- 
Tomas Vondra                  http://www.2ndQuadrant.com 
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services





view thread (24+ messages)  latest in thread

Message-ID: <TU4PR8401MB115282012425E9300B472EC7EEF70@TU4PR8401MB1152.NAMPRD84.PROD.OUTLOOK.COM>
Permalink:  ../TU4PR8401MB115282012425E9300B472EC7EEF70@TU4PR8401MB1152.NAMPRD84.PROD.OUTLOOK.COM/
Also on:    postgresql.org/message-id/TU4PR8401MB115282012425E9300B472EC7EEF70@TU4PR8401MB1152.NAMPRD84.PROD.OUTLOOK.COM

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: noriyoshi.shinoda@hpe.com, tomas.vondra@2ndquadrant.com, alvherre@2ndquadrant.com, thomas.munro@gmail.com, k.jamison@jp.fujitsu.com, dean.a.rasheed@gmail.com
  Subject: Re: Multivariate MCV list vs. statistics target
  In-Reply-To: <TU4PR8401MB115282012425E9300B472EC7EEF70@TU4PR8401MB1152.NAMPRD84.PROD.OUTLOOK.COM>
  References: <20190801103010.hzy6kw53qm2bkr5a@development> <20190903183855.GA20601@alvherre.pgsql> <20190910222812.3o5kyf7ghie34gg2@development> <TU4PR8401MB115254BB9F5C19D3B8D8F7F7EEF70@TU4PR8401MB1152.NAMPRD84.PROD.OUTLOOK.COM> <20200318123629.3zfreiiaear7354x@development> <TU4PR8401MB115282012425E9300B472EC7EEF70@TU4PR8401MB1152.NAMPRD84.PROD.OUTLOOK.COM>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox