Re: Statistics Import and Export

From: Corey Huinker <corey(dot)huinker(at)gmail(dot)com>
To: Jeff Davis <pgsql(at)j-davis(dot)com>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, jian he <jian(dot)universality(at)gmail(dot)com>, Matthias van de Meent <boekewurm+postgres(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Nathan Bossart <nathandbossart(at)gmail(dot)com>, Magnus Hagander <magnus(at)hagander(dot)net>, Stephen Frost <sfrost(at)snowman(dot)net>, Ashutosh Bapat <ashutosh(dot)bapat(dot)oss(at)gmail(dot)com>, Peter Smith <smithpb2250(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, alvherre(at)alvh(dot)no-ip(dot)org
Subject: Re: Statistics Import and Export
Date: 2024-12-21 10:11:19
Message-ID: CADkLM=fXFB63EKR7MCYkM1g1R3JgjaqZV_ReRGEvj585+-sMVw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>
>
> I like the description "STATISTICS DATA" because it differentiates from
>

You have Tomas to thank for that:
https://www.postgresql.org/message-id/bf724b21-914a-4497-84e3-49944f9776f6%40enterprisedb.com

the extended stats definitions. It might be worth differentiating
> between "RELATION STATISTICS DATA" and "ATTRIBUTE STATISTICS DATA" but
> I'm not sure if there's value in that.
>

I have no objection to such a change, even if we don't currently have a use
for the differentiation, someone in the future might.

>
> But how did you determine what to use for the .tag and prefix? In the
> output, it uses the form:
>

It was the minimal change needed to meet Tomas's suggestion.

> Statistics for Name: ...; Name: ...; Type: STATISTICS DATA; ...
>

I like this one best, because it clarifies the meaning of STATISTICS DATA.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2024-12-21 10:47:06 Re: pure parsers and reentrant scanners
Previous Message Tatsuo Ishii 2024-12-21 09:20:04 Re: Row pattern recognition